Marian Harbach | ebeb154 | 2019-12-13 10:42:46 +0100 | [diff] [blame] | 1 | :linkattrs: |
Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 2 | = Gerrit Code Review - Contributing |
Martin Fick | 081fa51 | 2011-08-12 11:22:45 -0600 | [diff] [blame] | 3 | |
Edwin Kempin | 2118670 | 2019-04-24 10:07:09 +0200 | [diff] [blame] | 4 | [[cla]] |
| 5 | == Contributor License Agreement |
Martin Fick | 081fa51 | 2011-08-12 11:22:45 -0600 | [diff] [blame] | 6 | |
Edwin Kempin | 2118670 | 2019-04-24 10:07:09 +0200 | [diff] [blame] | 7 | In order to contribute to Gerrit a link:dev-cla.html[Contributor |
Marco Miller | 5010721 | 2020-04-21 15:42:55 -0400 | [diff] [blame] | 8 | License Agreement,role=external,window=_blank] must be completed before |
| 9 | contributions are accepted. |
Edwin Kempin | 2118670 | 2019-04-24 10:07:09 +0200 | [diff] [blame] | 10 | |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 11 | [[contribution-processes]] |
| 12 | == Contribution Processes |
| 13 | |
| 14 | The Gerrit project offers two contribution processes: |
| 15 | |
| 16 | * link:#lightweight-contribution-process[Lightweight Contribution |
| 17 | Process] |
| 18 | * link:#design-driven-contribution-process[Design-Driven Contribution |
| 19 | Process] |
| 20 | |
| 21 | The lightweight contribution process has little overhead and is best |
| 22 | suited for small contributions (documentation updates, bug fixes, small |
| 23 | features). Contributions are pushed as changes and |
Marco Miller | 5010721 | 2020-04-21 15:42:55 -0400 | [diff] [blame] | 24 | link:dev-roles.html#maintainer[maintainers,role=external,window=_blank] |
| 25 | review them adhoc. |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 26 | |
Wendy Wang | 91d3b6e | 2022-05-12 14:41:01 +0200 | [diff] [blame] | 27 | For large/complex features, it is required to specify the feature in a |
| 28 | link:dev-design-docs.html[design document,role=external,window=_blank] before |
| 29 | starting implementation, as per the |
| 30 | link:#design-driven-contribution-process[design-driven contribution process]. |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 31 | |
Marco Miller | 5010721 | 2020-04-21 15:42:55 -0400 | [diff] [blame] | 32 | If link:dev-roles.html#contributor[contributors,role=external,window=_blank] |
Wendy Wang | 91d3b6e | 2022-05-12 14:41:01 +0200 | [diff] [blame] | 33 | choose the lightweight contribution process but the feature is found to be |
| 34 | large or complex, link:dev-roles.html#maintainer[maintainers,role=external,window=_blank] |
| 35 | can require that the design-driven contribution process be followed instead. |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 36 | |
| 37 | If you are in doubt which process is right for you, consult the |
Marian Harbach | 3425337 | 2019-12-10 18:01:31 +0100 | [diff] [blame] | 38 | link:https://groups.google.com/d/forum/repo-discuss[repo-discuss,role=external,window=_blank] |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 39 | mailing list. |
| 40 | |
| 41 | These contribution processes apply to everyone who contributes code to |
Wendy Wang | 91d3b6e | 2022-05-12 14:41:01 +0200 | [diff] [blame] | 42 | the Gerrit project. link:dev-roles.html#maintainer[ |
| 43 | Maintainers,role=external,window=_blank] are also considered contributors |
| 44 | when they contribute code. |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 45 | |
Edwin Kempin | f13dfa9 | 2019-05-02 13:55:43 +0200 | [diff] [blame] | 46 | If a new feature is large or complex, it is often difficult to find a |
Wendy Wang | 91d3b6e | 2022-05-12 14:41:01 +0200 | [diff] [blame] | 47 | maintainer who can take the time that is needed for a thorough review. This |
| 48 | can result in unpredictably long waiting times before the changes are |
| 49 | submitted. To avoid that, contributors can ask for link:#mentorship[mentor support]. |
| 50 | A mentor helps with timely code reviews and technical guidance, though the |
| 51 | implementation itself is still the responsibility of the contributor. |
Edwin Kempin | f13dfa9 | 2019-05-02 13:55:43 +0200 | [diff] [blame] | 52 | |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 53 | [[comparison]] |
| 54 | === Quick Comparison |
| 55 | |
| 56 | [options="header"] |
| 57 | |====================== |
| 58 | | |Lightweight Contribution Process|Design-Driven Contribution Process |
| 59 | |Overhead|low (write good commit message, address review comments)| |
Marco Miller | 5010721 | 2020-04-21 15:42:55 -0400 | [diff] [blame] | 60 | high (write link:dev-design-docs.html[design doc,role=external,window=_blank] |
| 61 | and get it approved) |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 62 | |Technical Guidance|by reviewer|during the design review and by |
Edwin Kempin | f13dfa9 | 2019-05-02 13:55:43 +0200 | [diff] [blame] | 63 | reviewer/mentor |
| 64 | |Review |adhoc (when reviewer is available)|by a dedicated mentor (if |
| 65 | a link:#mentorship[mentor] was assigned) |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 66 | |Caveats |features may get vetoed after the implementation was already |
Wendy Wang | 91d3b6e | 2022-05-12 14:41:01 +0200 | [diff] [blame] | 67 | done, maintainers may require the design-driven contribution process |
| 68 | be followed if a change gets too complex/large|design doc must stay open |
Edwin Kempin | f13dfa9 | 2019-05-02 13:55:43 +0200 | [diff] [blame] | 69 | for a minimum of 10 calendar days, a mentor may not be available |
| 70 | immediately |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 71 | |Applicable to|documentation updates, bug fixes, small features| |
| 72 | large/complex features |
| 73 | |====================== |
| 74 | |
| 75 | [[lightweight-contribution-process]] |
| 76 | === Lightweight Contribution Process |
| 77 | |
| 78 | The lightweight contribution process has little overhead and is best |
| 79 | suited for small contributions (documentation updates, bug fixes, small |
| 80 | features). For large/complex features the |
| 81 | link:#design-driven-contribution-process[design-driven contribution |
| 82 | process] is required. |
Edwin Kempin | 2118670 | 2019-04-24 10:07:09 +0200 | [diff] [blame] | 83 | |
Wendy Wang | 91d3b6e | 2022-05-12 14:41:01 +0200 | [diff] [blame] | 84 | To start contributing to Gerrit, upload your git commit for review to the |
| 85 | link:https://gerrit-review.googlesource.com/[gerrit-review.googlesource.com, |
| 86 | role=external,window=_blank] Gerrit server. Review these link:dev-crafting-changes.html[ |
Marco Miller | 5010721 | 2020-04-21 15:42:55 -0400 | [diff] [blame] | 87 | guidelines,role=external,window=_blank] before submitting your change. You can |
Wendy Wang | 91d3b6e | 2022-05-12 14:41:01 +0200 | [diff] [blame] | 88 | view pending contributions link:https://gerrit-review.googlesource.com/#/q/status:open+project:gerrit[here,role=external,window=_blank]. |
Martin Fick | 081fa51 | 2011-08-12 11:22:45 -0600 | [diff] [blame] | 89 | |
| 90 | Depending on the size of that list it might take a while for |
Wendy Wang | 91d3b6e | 2022-05-12 14:41:01 +0200 | [diff] [blame] | 91 | your change to get reviewed. Anything that you can do to ensure that your |
| 92 | contribution will undergo fewer revisions will speed up the contribution process. |
| 93 | This includes helping out reviewing other people's changes to relieve the |
| 94 | load from the maintainers. Even if you are not familiar with Gerrit's internals, |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 95 | it would be of great help if you can download, try out, and comment on |
Wendy Wang | 91d3b6e | 2022-05-12 14:41:01 +0200 | [diff] [blame] | 96 | new features. If it works as advertised, say so, and if you have the |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 97 | privileges to do so, go ahead and give it a `+1 Verified`. If you |
| 98 | would find the feature useful, say so and give it a `+1 Code Review`. |
Martin Fick | 081fa51 | 2011-08-12 11:22:45 -0600 | [diff] [blame] | 99 | |
Wendy Wang | 91d3b6e | 2022-05-12 14:41:01 +0200 | [diff] [blame] | 100 | Finally, the quicker you respond to the comments of your reviewers, the |
| 101 | quicker your change can be merged! Try to reply to every comment after |
| 102 | submitting your new patch, particularly if you decided against making the |
| 103 | suggested change. Reviewers don't want to seem like nags and pester you |
| 104 | if you haven't replied or made a fix, so it helps them know if you missed |
| 105 | it or decided against it. |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 106 | |
Wendy Wang | 91d3b6e | 2022-05-12 14:41:01 +0200 | [diff] [blame] | 107 | A new feature or API extension, even if small, can incur a long-time |
| 108 | maintenance and support burden and should be left pending for 24 hours |
| 109 | to give maintainers in all time zones a chance to evaluate the change. |
Han-Wen Nienhuys | 0ad68fb | 2021-02-04 16:33:28 +0100 | [diff] [blame] | 110 | |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 111 | [[design-driven-contribution-process]] |
| 112 | === Design-driven Contribution Process |
| 113 | |
| 114 | The design-driven contribution process applies to large/complex |
| 115 | features. |
| 116 | |
| 117 | For large/complex features it is important to: |
| 118 | |
Wendy Wang | 91d3b6e | 2022-05-12 14:41:01 +0200 | [diff] [blame] | 119 | * agree on functionality and scope before spending too much time on |
| 120 | implementation |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 121 | * ensure that they are in line with Gerrit's project scope and vision |
| 122 | * ensure that they are well aligned with other features |
Wendy Wang | 91d3b6e | 2022-05-12 14:41:01 +0200 | [diff] [blame] | 123 | * consider how the feature could be evolved over time |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 124 | |
| 125 | This is why for large/complex features it is required to describe the |
Marco Miller | 5010721 | 2020-04-21 15:42:55 -0400 | [diff] [blame] | 126 | feature in a link:dev-design-docs.html[design doc,role=external,window=_blank] |
| 127 | and get it approved by the |
Wendy Wang | 91d3b6e | 2022-05-12 14:41:01 +0200 | [diff] [blame] | 128 | link:dev-processes.html#steering-committee[steering committee,role=external,window=_blank] |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 129 | before starting the implementation. |
| 130 | |
Wendy Wang | 91d3b6e | 2022-05-12 14:41:01 +0200 | [diff] [blame] | 131 | The design-driven contribution process consists of the following steps: |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 132 | |
Marco Miller | 5010721 | 2020-04-21 15:42:55 -0400 | [diff] [blame] | 133 | * A link:dev-roles.html#contributor[contributor,role=external,window=_blank] |
| 134 | link:dev-design-docs.html#propose[proposes,role=external,window=_blank] a new |
| 135 | feature by uploading a change with a |
| 136 | link:dev-design-docs.html[design doc,role=external,window=_blank]. |
| 137 | * The design doc is link:dev-design-docs.html#review[reviewed,role=external,window=_blank] |
| 138 | by interested parties from the community. The design review is public |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 139 | and everyone can comment and raise concerns. |
| 140 | * Design docs should stay open for a minimum of 10 calendar days so |
| 141 | that everyone has a fair chance to join the review. |
Edwin Kempin | c507dbb | 2020-06-08 11:53:56 +0200 | [diff] [blame] | 142 | * Within 30 calendar days the contributor should hear back from the |
Marco Miller | 5010721 | 2020-04-21 15:42:55 -0400 | [diff] [blame] | 143 | link:dev-processes.html#steering-committee[steering committee,role=external,window=_blank] |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 144 | whether the proposed feature is in scope of the project and if it can |
| 145 | be accepted. |
| 146 | * To be submitted, the design doc needs to be approved by the |
Marco Miller | 5010721 | 2020-04-21 15:42:55 -0400 | [diff] [blame] | 147 | link:dev-processes.html#steering-committee[steering committee,role=external,window=_blank]. |
Wendy Wang | 91d3b6e | 2022-05-12 14:41:01 +0200 | [diff] [blame] | 148 | * After the design is approved, it is implemented by pushing |
| 149 | changes for review, see the link:#lightweight-contribution-process[ |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 150 | lightweight contribution process]. Changes that are associated with |
| 151 | a design should all share a common hashtag. The contributor is the |
Wendy Wang | 91d3b6e | 2022-05-12 14:41:01 +0200 | [diff] [blame] | 152 | main driver of the implementation and responsible for its completion. |
| 153 | Others from the Gerrit community are usually welcome to help. |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 154 | |
Wendy Wang | 91d3b6e | 2022-05-12 14:41:01 +0200 | [diff] [blame] | 155 | The design doc does not need to fully specify each detail of the feature, |
| 156 | but its concept and how it fits into Gerrit should be sufficiently clear, |
| 157 | as judged by the steering committee. Contributors are expected to keep |
| 158 | the design doc updated and fill in gaps while they go forward with the |
| 159 | implementation. We expect that implementing the feature and updating the |
| 160 | design doc will be an iterative process. |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 161 | |
Wendy Wang | 91d3b6e | 2022-05-12 14:41:01 +0200 | [diff] [blame] | 162 | While the design doc is still in review, contributors may start with the |
| 163 | implementation (e.g. do some prototyping to demonstrate parts of the |
| 164 | proposed design), but those changes should not be submitted while the |
| 165 | design is not yet approved. Another way to demonstrate the design can be |
| 166 | mocking screenshots in the doc. |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 167 | |
| 168 | By approving a design, the steering committee commits to: |
| 169 | |
| 170 | * Accepting the feature when it is implemented. |
Edwin Kempin | f13dfa9 | 2019-05-02 13:55:43 +0200 | [diff] [blame] | 171 | * Supporting the feature by assigning a link:dev-roles.html#mentor[ |
Wendy Wang | 91d3b6e | 2022-05-12 14:41:01 +0200 | [diff] [blame] | 172 | mentor,role=external,window=_blank] if requested (see link:#mentorship[mentorship]). |
Edwin Kempin | 099a5ec | 2019-04-25 16:15:14 +0200 | [diff] [blame] | 173 | |
| 174 | For contributors, the design-driven contribution process has the |
| 175 | following advantages: |
| 176 | |
| 177 | * By writing a design doc, the feature gets more attention. During the |
| 178 | design review, feedback from various sides can be collected, which |
| 179 | likely leads to improvements of the feature. |
Wendy Wang | 91d3b6e | 2022-05-12 14:41:01 +0200 | [diff] [blame] | 180 | * Once a design is approved by the |
Marco Miller | 5010721 | 2020-04-21 15:42:55 -0400 | [diff] [blame] | 181 | link:dev-processes.html#steering-committee[steering committee,role=external,window=_blank], |
| 182 | the contributor can be almost certain that the feature will be accepted. |
Wendy Wang | 91d3b6e | 2022-05-12 14:41:01 +0200 | [diff] [blame] | 183 | Hence, there little risk of the feature being rejected later in code review, |
| 184 | as can occur with the lightweight contribution process. |
Edwin Kempin | f13dfa9 | 2019-05-02 13:55:43 +0200 | [diff] [blame] | 185 | * The contributor can link:#mentorship[get a dedicated mentor assigned] |
| 186 | who provides timely reviews and serves as a contact person for |
| 187 | technical questions and discussing details of the design. |
| 188 | |
| 189 | [[mentorship]] |
| 190 | == Mentorship |
| 191 | |
Marco Miller | 5010721 | 2020-04-21 15:42:55 -0400 | [diff] [blame] | 192 | For features for which a link:dev-design-docs.html[design,role=external,window=_blank] |
| 193 | has been approved (see link:#design-driven-contribution-process[design-driven |
Edwin Kempin | f13dfa9 | 2019-05-02 13:55:43 +0200 | [diff] [blame] | 194 | contribution process]), contributors can gain the support of a mentor |
| 195 | if they are committed to implement the feature. |
| 196 | |
Marco Miller | 5010721 | 2020-04-21 15:42:55 -0400 | [diff] [blame] | 197 | A link:dev-roles.html#mentor[mentor,role=external,window=_blank] helps with: |
Edwin Kempin | f13dfa9 | 2019-05-02 13:55:43 +0200 | [diff] [blame] | 198 | |
| 199 | * doing timely reviews |
| 200 | * providing technical guidance during code reviews |
| 201 | * discussing details of the design |
| 202 | * ensuring that the quality standards are met (well documented, |
| 203 | sufficient test coverage, backwards compatible etc.) |
| 204 | |
| 205 | A feature can have more than one mentor. To be able to deliver the |
| 206 | promised support, at least one of the mentors must be a |
Marco Miller | 5010721 | 2020-04-21 15:42:55 -0400 | [diff] [blame] | 207 | link:dev-roles.html#maintainer[maintainer,role=external,window=_blank]. |
Edwin Kempin | f13dfa9 | 2019-05-02 13:55:43 +0200 | [diff] [blame] | 208 | |
| 209 | Mentors are assigned by the link:dev-processes.html#steering-committee[ |
Marco Miller | 5010721 | 2020-04-21 15:42:55 -0400 | [diff] [blame] | 210 | steering committee,role=external,window=_blank]. To gain a mentor, ask for a |
| 211 | mentor in the link:dev-design-doc-template.html#implementation-plan[Implementation |
| 212 | Plan,role=external,window=_blank] section of the design doc or ask the steering |
| 213 | committee after the design has been approved. |
Edwin Kempin | f13dfa9 | 2019-05-02 13:55:43 +0200 | [diff] [blame] | 214 | |
| 215 | Mentors may not be available immediately. In this case, the steering |
| 216 | committee should include the approved feature into the roadmap or |
| 217 | prioritize it in the backlog. This way, it is transparent for the |
| 218 | contributor when they can expect to be able to work on the feature with |
| 219 | mentor support. |
| 220 | |
| 221 | Once the implementation phase starts, the contributor is expected to do |
| 222 | the implementation in a timely manner. |
| 223 | |
| 224 | For every mentorship, the end must be clearly defined. The design doc |
| 225 | must specify: |
| 226 | |
| 227 | * a maximum time frame for the mentorship, after which the mentorship |
| 228 | automatically ends, even if the feature is not done yet |
| 229 | * done criteria that define when the feature is done and the mentorship |
| 230 | ends |
| 231 | |
Wendy Wang | 91d3b6e | 2022-05-12 14:41:01 +0200 | [diff] [blame] | 232 | If a feature implementation is not completed in time and no contributors |
| 233 | can commit to finishing the implementation, changes that have already been |
| 234 | submitted for the feature may be reverted to avoid unused or half-finished |
| 235 | code in the code base. In these circumstances, the steering committee |
| 236 | determines how to proceed. |
Martin Fick | 081fa51 | 2011-08-12 11:22:45 -0600 | [diff] [blame] | 237 | |
Patrick Hiesel | c49eea2 | 2020-03-24 10:04:18 +0100 | [diff] [blame] | 238 | [[esc-dd-evaluation]] |
| 239 | == How the ESC evaluates design documents |
| 240 | This section describes how the ESC evaluates design documents. It’s |
| 241 | meant as a guideline rather than being prescriptive for both ESC |
| 242 | members and contributors. |
| 243 | |
| 244 | === General Process |
| 245 | As part of the design process, the ESC makes a final decision if a |
| 246 | design gets to be implemented. If there are multiple alternative |
| 247 | solutions, the ESC will decide which solution can be implemented. |
| 248 | |
| 249 | The ESC should wait until all contributors had the chance to |
| 250 | voice their opinion in review comments or by proposing alternative |
| 251 | solutions. Due to the infrequent ESC meetings (every 2-4 weeks) |
| 252 | the ESC might discuss documents in cases where the discussion is |
| 253 | already advanced far enough, but not make a decision yet. In this |
| 254 | case, contributors can still voice concerns or discuss alternatives. |
| 255 | The decision can be at the next meeting or via email in between |
| 256 | meetings. |
| 257 | |
| 258 | === Evaluation |
| 259 | Product/Vision fit |
Marco Miller | 1e54358 | 2020-04-07 16:58:59 -0400 | [diff] [blame] | 260 | |
Patrick Hiesel | c49eea2 | 2020-03-24 10:04:18 +0100 | [diff] [blame] | 261 | Q: `Do we believe this feature belongs to Gerrit Code Review use-cases?` |
Marco Miller | 1e54358 | 2020-04-07 16:58:59 -0400 | [diff] [blame] | 262 | |
Patrick Hiesel | c49eea2 | 2020-03-24 10:04:18 +0100 | [diff] [blame] | 263 | * Yes: Customizable dashboards |
| 264 | * No: UI for managing an LDAP server |
| 265 | |
| 266 | Q: `Is the proposed solution aligned with Gerrit’s vision?` |
Marco Miller | 1e54358 | 2020-04-07 16:58:59 -0400 | [diff] [blame] | 267 | |
Patrick Hiesel | c49eea2 | 2020-03-24 10:04:18 +0100 | [diff] [blame] | 268 | * Yes: Showing comments of older patch sets in newer patch sets to |
| 269 | keep track (core code review) |
| 270 | * No: Implement a bug tracker in Gerrit (not core code review). |
| 271 | |
| 272 | === Impact |
| 273 | Q: `Will the new feature have a measurable, positive impact?` |
Marco Miller | 1e54358 | 2020-04-07 16:58:59 -0400 | [diff] [blame] | 274 | |
Patrick Hiesel | c49eea2 | 2020-03-24 10:04:18 +0100 | [diff] [blame] | 275 | * Yes: Increased productivity, faster/smoother workflow, etc. |
| 276 | * Yes: Better latency, more reliable system. |
| 277 | * No: Unclear impact or lacking metrics to measure. |
| 278 | |
| 279 | === Complexity |
| 280 | Q: `Can we support/maintain this feature once it is in Gerrit?` |
Marco Miller | 1e54358 | 2020-04-07 16:58:59 -0400 | [diff] [blame] | 281 | |
Patrick Hiesel | c49eea2 | 2020-03-24 10:04:18 +0100 | [diff] [blame] | 282 | * Yes: Code will fit into codebase, be well tested, easy to |
| 283 | understand. |
| 284 | * No: Will add code or a workflow that is hard to understand |
| 285 | and easy to misinterpret. |
Marco Miller | 1e54358 | 2020-04-07 16:58:59 -0400 | [diff] [blame] | 286 | |
Patrick Hiesel | c49eea2 | 2020-03-24 10:04:18 +0100 | [diff] [blame] | 287 | Q: `Is the proposed feature or rework adding unnecessary complexity?` |
Marco Miller | 1e54358 | 2020-04-07 16:58:59 -0400 | [diff] [blame] | 288 | |
Patrick Hiesel | c49eea2 | 2020-03-24 10:04:18 +0100 | [diff] [blame] | 289 | * Yes: Adding a dependency on a well-supported library. |
| 290 | * No: Adding a dependency on a library that is not widely used |
| 291 | or not actively maintained. |
| 292 | |
| 293 | === Core vs. Plugin decision |
| 294 | Q: `Would this fit better in a plugin?` |
Marco Miller | 1e54358 | 2020-04-07 16:58:59 -0400 | [diff] [blame] | 295 | |
Wendy Wang | 91d3b6e | 2022-05-12 14:41:01 +0200 | [diff] [blame] | 296 | * Yes: The proposed feature or rework is an implementation (e.g. Lucene |
Patrick Hiesel | c49eea2 | 2020-03-24 10:04:18 +0100 | [diff] [blame] | 297 | is an index implementation) of a generic concept that others |
| 298 | might want to implement differently. |
| 299 | * Yes: The proposed feature or rework is very specific to a custom setup. |
| 300 | * No: The proposed feature or rework is applicable to a wider user |
| 301 | base. |
| 302 | * No: The proposed feature or rework is a `core code review feature`. |
| 303 | |
| 304 | === Commitment |
| 305 | Q: `Is someone willing to implement it?` (this question is |
| 306 | especially important when reviewers propose alternative designs |
| 307 | to the author’s own solution). |
Marco Miller | 1e54358 | 2020-04-07 16:58:59 -0400 | [diff] [blame] | 308 | |
Patrick Hiesel | c49eea2 | 2020-03-24 10:04:18 +0100 | [diff] [blame] | 309 | * Yes: The author or someone else commits to implementing the |
| 310 | proposed solution. |
| 311 | * Yes: If a mentorship is required, a mentor is willing to help. |
| 312 | * No: Unclear ownership, mentorship or implementation plan. |
| 313 | |
| 314 | === Community |
| 315 | Q: `If in doubt, is there a substantial benefit to a long-standing |
| 316 | community member with many users?` |
Marco Miller | 1e54358 | 2020-04-07 16:58:59 -0400 | [diff] [blame] | 317 | |
Patrick Hiesel | c49eea2 | 2020-03-24 10:04:18 +0100 | [diff] [blame] | 318 | * The community shapes the future of Gerrit as a product. In |
Marco Miller | be6a9d3 | 2020-04-07 16:33:32 -0400 | [diff] [blame] | 319 | cases of doubt, the ESC can be more generous with long-standing |
| 320 | community members compared to `drive-by` contributions. |
Patrick Hiesel | 078ad84 | 2020-03-24 10:04:18 +0100 | [diff] [blame] | 321 | |
Martin Fick | 081fa51 | 2011-08-12 11:22:45 -0600 | [diff] [blame] | 322 | GERRIT |
| 323 | ------ |
| 324 | Part of link:index.html[Gerrit Code Review] |
Yuxuan 'fishy' Wang | 99cb68d | 2013-10-31 17:26:00 -0700 | [diff] [blame] | 325 | |
| 326 | SEARCHBOX |
| 327 | --------- |