Uh oh!
There was an error while loading. Please reload this page.
doc: improve github templates by using comments - #5710
Conversation
mscdex
commented
Mar 15, 2016
It seems like a good change, however I think keeping the link to the contributing document is helpful. |
jbergstroem
commented
Mar 15, 2016
The link is still there, but I moved it to the instructions at the top. You mean you still want it as part of the checkbox? |
mscdex
commented
Mar 15, 2016
I just thought having it clickable was a nice convenience. |
jbergstroem
commented
Mar 15, 2016
Yeah; and I guess I somewhat omitted the fact that the commit guidelines are in the contributors guide. The tricky part about the click is that its not available until you either hit preview or submit the PR. |
| - [ ] tests and code linting passes | ||
| - [ ] a test and/or benchmark is included | ||
| - [ ] documentation is changed or added | ||
| - [ ] the commit message follows commit guidelines |
There was a problem hiding this comment.
Too simple; people coming to the project might not even know these.
The contributing link and how to run the tests should be kept imo
There was a problem hiding this comment.
It's still around but moved to the top part of the readme; but I guess what you and @mscdex are saying is that it should be kept as a literal part of the checkboxes? As an aside I also added lint in there.
There was a problem hiding this comment.
Yeah, I would make commit guidelines into a link to the actual commit guidelines.
Also, perhaps add '(make link and make test)' at the end of the first bullet point
jasnell
commented
Mar 15, 2016
Generally LGTM with a nit |
| * **Platform**: <!-- Either `uname -a` output, or if Windows, version and | ||
| 32-bit or 64-bit --> | ||
| * **Subsystem**: <!-- Optional. If known - please specify | ||
| affected core module name. --> |
There was a problem hiding this comment.
GitHub doesn't appear to parse comments unless they are multiline from the start of the line? See: https://github.com/jbergstroem/node/blob/feature/improve-pr-commit-template/.github/ISSUE_TEMPLATE.md
There was a problem hiding this comment.
You're right. I was rendering in another editor. Will fix.
There was a problem hiding this comment.
LGTM pending this tweak, or even without it, to be honest.
Fishrock123
commented
Mar 15, 2016
Some of the options have had their meaning changed to no longer be useful imo. We should aim for fully completable checklists on all issues. Having a checklist option that asks "is a change X" is not very useful and make it hard to tell if a PR is complete or not. |
mscdex
commented
Mar 15, 2016
The whole optional checkbox thing is one of the major problems IMHO. If they only check relevant boxes, it looks like the issue/PR is "incomplete", especially because of the way Github shows the progress in the issue/PR list. So I don't know which is better, to rely on users to remove irrelevant checkboxes or to reword the text to basically say check if true OR not relevant. shrug |
jasnell
commented
Mar 16, 2016
+1 @mscdex |
jbergstroem
commented
Mar 16, 2016
Yeah, I agree that the checkbox thing is tricky. I considered just doing it as a bullet list or similar which people would/could remove, but there's something gratifying about ticking that box.. Also, having a consistent Just to move this forward: should we remove the checkboxes? I'm |
Trott
commented
Mar 16, 2016
I'm OK with changing the checkboxes to bullet points. We can always change them back. |
Fishrock123
commented
Mar 22, 2016
Sure. In any case, can we get this merged soon? Even having the existing removable info in html comments would be great. |
| below this comment. | ||
| --> | ||
| ##### Description of change |
There was a problem hiding this comment.
Maybe move this on top? It's the most important part of a PR.
There was a problem hiding this comment.
I think the reason why it is at the bottom is because the commit message (assuming it's one commit) is automatically appended to the end of the PR text when you open a new PR.
There was a problem hiding this comment.
Yeah, I'd like to have it on top as well but there's no way of affecting output. Ima email github and as if its possible to get a way to control this.
jbergstroem
commented
Mar 25, 2016
I'll do another round of updates to reflect all feedback shortly. |
mikeal
commented
Apr 2, 2016
It would be a good idea to identify what files are associated with each sub-system and auto-tag those PR's rather than ask users to identify them. |
Fishrock123
commented
Apr 2, 2016
hmmm, I don't think we've ever thought about using a bot to tag by-file. That's a good idea, I like it. |
jbergstroem
commented
Apr 3, 2016
We could even auto-assign people (and possibly teams, I requested that to github the other week) to issues/pr's with that bot. |
Fishrock123
commented
Apr 4, 2016
for bot-talk, see nodejs/TSC#51 |
Fishrock123
commented
Apr 4, 2016
@jbergstroem can we get this merged? If you don't have time, mind if I pick it up? |
jbergstroem
commented
Apr 4, 2016
@Fishrock123 been busy; can find some time today. |
jbergstroem
commented
Apr 5, 2016
Just updated based on feedback so far. Available for a few quick rounds of fixes if necessary. |
Trott
commented
Apr 5, 2016
LGTM |
jbergstroem
commented
Apr 5, 2016
@Fishrock123 better? |
There was a problem hiding this comment.
Should these still be an actual checklist? i.e. - [ ] <etc>
There was a problem hiding this comment.
hmmm i was not under that impression
My comment was about making sure these things were actually a checklist (i.e. tests pass).
There was a problem hiding this comment.
ok; lets re-add them in the name of progress and move forward.
Fishrock123
commented
Apr 5, 2016
@jbergstroem 3 nits, LGTM otherwise! |
Fishrock123
commented
Apr 5, 2016
@jbergstroem LGTM! |
silverwind
commented
Apr 5, 2016
LGTM |
32c6181 to
05362dbCompareUse HTML comments to reduce potential noise in github templates. Also, improve flow of the pull request, making it easier to read. PR-URL: nodejs#5710 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
05362db to
b743d82Compare
Pull Request check-list
make -j8 test(UNIX) orvcbuild test nosign(Windows) pass withthis change (including linting)?
test (or a benchmark) included?
existing APIs, or introduces new ones)?
Affected core subsystem(s)
doc
Description of change
Had a look around other open source projects and came to the conclusion that using html commens (
<!-- foo -->) successfully reduces clutter.While at it, I also came to the conclusion that its easier to read:
..than:
so, I moved some of the instructions to the top instead.
Guessing this is bikeshedding but at least I get to paint it first!