Repository navigation
doc: add guide for backporting PRs #11099
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
Changes from 1 commit
f153855
837bcb9
aa40433
444359c
066e617
b06d19f
4db2488
2782890
89e7bfb
fc434b2
a374208
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -78,6 +78,10 @@ hint: and commit the result with 'git commit' | |
| in the master branch. | ||
| * Push the changes to your fork and open a pull request. | ||
| * Be sure to target the `v7.x-staging` branch in the pull request. | ||
| * When landing a backport commit, please include the PR-URL from the original | ||
|
Contributor
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. /cc @nodejs/lts is everyone on board with this meta data change. For the record we have not been doing this at all. I for one would like to see this come up at an LTS meeting before we commit to taking on this process. If not in a meeting I would at least like to head from @jasnell @rvagg @mhdawson and @Fishrock123 in this comment thread
Member
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. Including the link to the original PR is fine but if this a backport-PR then a different metadata label should be used to avoid accidentally confusing tooling. For instance:
Member
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. @jasnell After the previous discussion in this PR, the consensus for the name (so far) was See #11099 (comment)
Member
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. Thanks @gibfahn ... missed that earlier discussion
Contributor
Author
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. @jasnell that being said, are you alright with that approach?
Member
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. Yes, that definitely works.
Member
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 good with the approach I think including the link to the original PR in Backport-of: is the right thing to do. |
||
| pull request and add `Backport: <backport PR-URL>` to the commit metadata. | ||
| The `Backport` line should be directly after the `PR-URL` line in the | ||
| metadata. | ||
|
|
||
| ### Helpful Hints | ||
|
|
||
|
|
||
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.
There should probably be a:
above this line, see #11797 (comment)