-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
doc: document use of Refs: for references #10670
Conversation
nit: BIAB gotta paint a shed |
I see it as a verb if it has an s, as in [Friday night bikeshed 🚲 🏠] |
I like Ref :] |
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.
LGTM, and should we notify all collaborator as this PR is patching COLLABORATOR_GUIDE :)
Let's see what people want: http://www.strawpoll.me/12049231 /cc @nodejs/collaborators |
@@ -120,6 +120,7 @@ information regarding the change process: | |||
for an issue, and/or the hash and commit message if the commit fixes | |||
a bug in a previous commit. Multiple `Fixes:` lines may be added if | |||
appropriate. | |||
- A `Refs:` line referencing a URL for any relevant background or links. |
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.
Nit: Maybe omit or links
?
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.
Done
I think I may have started the "Refs" thing. To me it made more sense as "References ...x" rather than "Reference ...x". I'm not sure how much value there is codifying this, would we ever use this in tooling like PR-URL or the commit message? |
|
||
```txt | ||
Fixes: https://github.com/nodejs/node/issues/1337 | ||
Refs: http://eslint.org/docs/rules/space-in-parens.html |
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.
Maybe add a second Refs that refers to an Issue or PR, to emphasize that Refs can be used for github links, and also that it can occur multiple times?
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.
Done
Standardise on Refs:
Standardise on Refs: PR-URL: #10670 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Landed in 59a3f86 |
Standardise on Refs: PR-URL: nodejs#10670 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Standardise on Refs: PR-URL: nodejs#10670 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Standardise on Refs: PR-URL: nodejs#10670 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Standardise on Refs: PR-URL: nodejs#10670 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Standardise on Refs: PR-URL: #10670 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Standardise on Refs: PR-URL: #10670 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
This was standardised in nodejs/node#10670. Refs: nodejs/node#12040
This was standardised in nodejs/node#10670. Refs: nodejs/node#12040
Standardise on Refs:
Vote on this straw poll
http://www.strawpoll.me/12049231
(see #10670 (comment))
Checklist
Affected core subsystem(s)
doc
It seems that using
Refs:
orRef:
in commit messages isn't documented anywhere. I'd suggest we standardise on one or the other. I pickedRefs:
as it's more common, but either is fine.