Changes between Version 7 and Version 8 of TracDev/SubmittingPatches
- Timestamp:
- Apr 8, 2010, 9:49:19 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/SubmittingPatches
v7 v8 73 73 You may add the text "[PATCH]" at the beginning of the ticket's "Summary" field as a hint to developers that a possible patch has been provided. 74 74 75 After that, depending on lots of factors, your patch will be reviewed and eventually integrated. Most probably, you'll be asked to rework your patch a bit, according to the preferences of the Trac maintainers. 76 77 If you wonder why your patch didn't get applied as fast as you'd liked to, see for example the case of #8883. Executive summary: while you never have any guarantee that a patch will be integrated, you can influence this outcome by making the developers ''want'' to integrate your patch. For this, read on to the next section. 78 75 79 == What is a good patch? == 76 80 … … 80 84 - no spurious changes like whitespace change or other random reformattings 81 85 - no unrelated changes; if some refactoring really needs to be done as a preliminary to the actual change, better do that in a separate patch 82 - strict adherence to the [../CodingStyle coding style]86 - strict adherence to the CodingStyle 83 87 - maintainability 84 88 - comments for the parts that needs to be commented, no more, no less 85 - add [../UnitTests unit tests] and/or [../FunctionalTests functional tests]89 - add UnitTests or FunctionalTests 86 90 - make sure existing tests still pass with your change applied 87 91 - and of course, the quality of the code, the pertinence of the fix or the feature is the main criterion