jon-wei commented on a change in pull request #7206: Add the pull-request template URL: https://github.com/apache/incubator-druid/pull/7206#discussion_r267120891
########## File path: .github/pull_request_template.md ########## @@ -0,0 +1,53 @@ +Fixes #XXXX. + +(Replace XXXX with the id of the issue fixed in this PR. Remove this line if there is no corresponding +issue. Don't reference the issue in the title of this pull-request.) + +Add tags to your PR if you are a committer (only committers have the right to add tags). Add [Design Review] tag +if this PR should better be reviewed by at least two people. +Don't forget to add the following tags (if applicable): [Incompatible], [Release Notes], [Compatibility], [Security], +[Development Blocker]. Add at least one [Area - ] tag, consider creating a new one if none of the existing [Area - ] +tags is applicable. + +### Description + +Describe the goal of this PR, what problem are you fixing. If there is a corresponding issue (referenced above), it's +not necessary to repeat the description here, however, you may choose to keep one summary sentence. + +Describe your patch: what did you change in code? How did you fix the problem? + +If there are several relatively logically separate changes in this PR, list them. For example: + - Fixed the bug ... + - Renamed the class ... + - Added a forbidden-apis entry ... + +Some of the aspects mentioned above may be omitted for simple and small PRs. + +### Design + +Please describe any design decisions made, including: + - Choice of algorithms + - Behavioral aspects. What configuration values are acceptable? How are corner cases and error conditions handled, such + as when insufficient resources are available? + - Class organization and design (how the logic is split between classes, inheritance, composition, design patterns) + - Method organization and design (how the logic is split between methods, parameters and return types) + - Naming (class, method, API, configuration, HTTP endpoint, names of emitted metrics) + +In addition, describe _at least one_ alternative design (or mention alternative name) for every design (or naming) +decision point and compare the alternatives with the designs that you've implemented (or the names you've chosen). + +If you already did this in the associated issue (e. g. a "Proposal" issue), leave the following sentence: + +Design of this change is discussed [here](<link to Github issue or comment where you discuss the design>). + +This section may be omitted for really simple and small patches. However, any patch that adds a new production class +almost certainly shouldn't omit this section. + +<hr> + +I've self-reviewed this PR (including using the [concurrency checklist]( Review comment: > Why? If the checklist is meant to be part of the official policy applied to PR submissions, then having the checklist hosted on a non-Druid, non-Apache site (Medium), under the control of a single individual, effectively sets up an external individual authority over part of the project's policy. I trust that you wouldn't abuse that situation (nor is there a huge incentive to do so here), but that's just not a good structure for official rules. Imagine if a national law had a section that said, "Refer to `<private individual's mutable blog post>` for details." How would I revise the checklist if needed? The dependence on Medium seems unnecessary. If the response to that is we can add "diffs" to the base checklist, I think that's problematic for the reasons @gianm mentions in https://github.com/apache/incubator-druid/pull/7206#discussion_r266679338, and still doesn't entirely do away with the issue of "external authority". If the checklist is meant to be just recommended material (i.e., the instructions don't require the user to go through the checklist), then the Medium blog post is fine. > There are multiple reasons why I don't want to do that. I currently want to reformat the checklist and create a static website a-la http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines, to be more digestable during real code reviews. Doing this within Druid repo is hardly possible. Then I think the right approach would be to host it on the Druid site somewhere. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
