-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
github: add issue and pull request templates #5291
Changes from 5 commits
f95cc96
a96607b
c245418
260d590
cc21cc0
3b4f1f8
cc4e4a1
56c64fe
6ac44de
498bd35
ca81090
eea3f1b
b3b6fa6
03ffbae
68d8e47
06d9c1b
494e918
0f81301
d7ca0a5
93be8da
d032d94
ab479c5
3ba6e11
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
### Issue details | ||
|
||
_Please provide issue details here_. | ||
|
||
### Steps to reproduce/test case | ||
|
||
_Please provide necessary steps for reproduction of this issue, or better the | ||
reduced test case (without any external dependencies)_. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "Without any external dependencies, if possible" might be friendlier. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ack. |
||
|
||
### Affected node.js versions | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Perhaps add a statement asking the reporter to fill in the specific minor and patch level also There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just ask for the version, no need for the multiple choice. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agree. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ack. |
||
- [ ] master | ||
- [ ] v5.x | ||
- [ ] v4.x | ||
- [ ] v0.12 | ||
- [ ] v0.10 | ||
|
||
### Affected platforms | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think asking for |
||
|
||
- [ ] linux | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: For this and the others, we probably want to style as the project/vendor/whoever styles it. So, There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ack. |
||
- [ ] windows | ||
- [ ] OS X | ||
- [ ] freebsd | ||
- [ ] solaris | ||
- [ ] other _(please specify which)_ | ||
|
||
### Core subsystem (if known) | ||
|
||
- [ ] buffer | ||
- [ ] child_process | ||
- [ ] cluster | ||
- [ ] crypto | ||
- [ ] dgram | ||
- [ ] dns | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ack. |
||
- [ ] doc | ||
- [ ] fs | ||
- [ ] http | ||
- [ ] https | ||
- [ ] net | ||
- [ ] tls | ||
- [ ] tty | ||
- [ ] vm | ||
- [ ] zlib | ||
- [ ] other _(please specify which)_ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think anyone will know this stuff. If we have the section at all, don't say sub-system, say "module", and expect the name from the docs (fs, http, net, etc.), with maybe "docs/website" as an additional. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
### Description of change | ||
|
||
_Please provide description of change here_. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Period within italics? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ack. |
||
|
||
### Pull Request check-list | ||
|
||
_Please make sure to review and check all of these items_: | ||
|
||
- [ ] Does `make test` pass after this change? | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "Does Or something mentioning windows platform testing There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ack. |
||
- [ ] Is commit message formatted according to [CONTRIBUTING.md][0] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ack. |
||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Test or benchmark included? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ack. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should "+1 review " be a step here? ( I'm +1 about using these checkboxes for PRs, just to be clear.) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What do you mean by "+1 review"? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe add something along the lines of: "Note: any of the above can be amended after and is not required to open a PR" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. They are quite required :) We won't land PR if any one of these is not present. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Required to land, but not to open it. basically I'd like to note that there can be done while the PR is open, i.e. you can write docs after we think a change is good. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What about saying above that these items could be checked after the PR is open, and if some of them are not done yet - they could be checked upon completion? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Fishrock123 does this wording sound better? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think so. I meant having a note at the bottom of the section stating these things are not required to open a PR and can be done afterwards / while the PR is open. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ack. |
||
### Affected core subsystem(s) | ||
|
||
- [ ] buffer | ||
- [ ] child_process | ||
- [ ] cluster | ||
- [ ] crypto | ||
- [ ] dgram | ||
- [ ] dns | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ack. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure about the usability of this. After the issue is created this will turn into a list of checkboxes that is visible -- and anybody with write access can check them. Is that what we want? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @mikeal we want to be able to tell subsystem without looking at the code. Do you have any alternative ideas on how it could be accomplished? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Caine should be able to do some pretty simple analysis of the files that are in the PR to determine the sub-system. This seems like the easier thing to automate that we've talked about. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right now we don't have caine, and it should be beneficial to experiment with templates to see what works and what does not. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually, won't the checkboxes turn into a list of tasks ? ( I'd suggest something like this: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The checkboxes have the benefit of easily showing whats available as options. A comma delimited list one liner would lose that effect... The tasks list for every issue though would get unreal over time. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agree, will replace it. Ack. |
||
- [ ] doc | ||
- [ ] fs | ||
- [ ] http | ||
- [ ] https | ||
- [ ] net | ||
- [ ] tls | ||
- [ ] tty | ||
- [ ] vm | ||
- [ ] zlib | ||
- [ ] other _(please specify which)_ | ||
|
||
### SemVer | ||
|
||
What [semver][1] change does this change require? | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add |
||
- [ ] patch _(no new APIs, no breaking changes)_ | ||
- [ ] minor _(new APIs, no breaking changes)_ | ||
- [ ] major _(breaking changes, or just too dangerous to be minor/patch)_ | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Relevant version would be good also for tracking LTS relevant changes. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm actually going to remove this, because it is up to CTC to decide what it is. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What if the submitter has a strong case for minor vs major? |
||
### LTS | ||
|
||
Should this patch be backported to: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. probably unnecessary, if someone doesn't know to specify this they probably won't be tuned into the process enough anyways and we'll probably have to decide, I think? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This sounds reasonable. I will change it once we will decide on general form of these files :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ack. |
||
|
||
- [ ] current LTS | ||
- [ ] older versions? _(please specify the version numbers)_ | ||
|
||
[0]: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md#step-3-commit | ||
[1]: http://semver.org/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps start with a friendly intro?
Thanks for wanting to report an issue you've found in node.js. Please fill in below template. If unsure about something, just do as best as you're able.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also state that this is optional and not required
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should there be a
### header
at the beginning of the issue? Will it be ugly when the issues are searched or aggregated? Maybe the first section can be header-less?