Changes between Version 16 and Version 17 of SubmittingPatches


Ignore:
Timestamp:
Jul 12, 2016, 2:51:40 AM (8 years ago)
Author:
elexis
Comment:

Explain the RFC acronym. Add completeness check and jshint hint to the review process. Allow non-trivial patches to skip the rfc stage. Rephrase few things and fix typo.

Legend:

Unmodified
Added
Removed
Modified
  • SubmittingPatches

    v16 v17  
    1616== The [report:21 RFC queue] ==
    1717
    18 Submitting a patch is done by attaching the patch file to a Trac ticket. This can be an existing relevant existing ticket or a new ticket. To get the ticket in the [report:21 RFC queue], you should make sure the ticket looks as follows:
     18Submitting a patch is done by attaching the patch file to a Trac ticket. This can be an existing relevant ticket or a new ticket.
     19
     20RFC stands for "request for comments".
     21To get the ticket in the [report:21 RFC queue], you should make sure the ticket looks as follows:
    1922
    2023 * The ''Summary'' (title of the ticket) should start with `[PATCH]`.
     
    2225 * The ''Keyword list'' should have the keywords `rfc patch`.
    2326
    24 At this stage, at least one other developer should try to give some comments on the patch (on all aspects of it). It is advisable that you also drop by on [https://kiwiirc.com/client/irc.quakenet.org#0ad-dev irc], to discuss matters further. If the topic involves controversial matter (things that influence balancing f.e.), it's also best to create a forum topic for it.
     27At this stage, at least one other developer should try to give some comments on the patch (most importantly whether all requirements have been identified, whether the code design is going in the right direction and how the code should be shaped to stay maintainable).
    2528
    26 Some patches can take longer to review due to high complexity or lower priority. But it's best to keep in touch with us and ask for reviews.
     29It is advisable to drop by on [https://kiwiirc.com/client/irc.quakenet.org#0ad-dev irc] to discuss matters. If the topic involves controversial matter (things that influence balancing or the game design in unforseen ways), it is recommended to create a forum topic for it.
    2730
    28 Note that any developer can help in the RFC process. So if you have some time, you can also help with other patches in the queue: playtesting, checking code quality or even just seeing if it compiles on your system.
     31Some patches can take longer to review due to high complexity, lower priority or other circumstances. But it's best to keep in touch with us and ask for reviews.
    2932
    30 When you're already familiar with the codebase, and have a trivial patch (that won't cause discussions on the code style or implementation of the feature), you can skip the RFC stage, and push your patch to the review queue directly.
     33Note that non-team members can help in the RFC process too by playtesting, checking code quality or even just seeing if it compiles on your system.
     34
     35When you're already familiar with the codebase and have a patch that won't cause discussions on the code style or implementation of that feature, you can skip the RFC stage, and push the patch to the review queue directly.
    3136
    3237== The [report:15 review queue] ==
     
    3944 * An in-game test (check if the patch implements the advertised changes)
    4045 * Unit tests (check if the required tests are implemented and the tests still work)
     46 * Completeness (verifying that there are no files forgotton which require similar changes)
    4147
    42 When the patch passes on all points, it gets committed. When the patch doesn't pass, it will be denied and send back to the RFC queue.
     48A code quality tool like jshint is recommended to test for non-obvious syntax mistakes.
     49
     50When the patch passes on all points, it gets committed. When the patch doesn't pass, it will be sent back to the RFC queue.
    4351
    4452== Legal disclaimer ==