Skip to content
Prev Previous commit
Next Next commit
fixup add backport metadata line
  • Loading branch information
evanlucas committed Feb 13, 2017
commit 444359ca63d0766610e33348f18db822ff87e124
4 changes: 4 additions & 0 deletions doc/guides/backporting-to-release-lines.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Copy link
Copy Markdown
Member

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:

  • Make sure make -j4 test still passes.

above this line, see #11797 (comment)

* 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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The 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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The 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:

Original-PR-URL: https://... (original PR)
PR-URL: https://... (backport PR)

@gibfahn gibfahn Feb 24, 2017 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The 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 Backport-of: <origin PR-URL>, it's on the next line.

See #11099 (comment)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @gibfahn ... missed that earlier discussion

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jasnell that being said, are you alright with that approach?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that definitely works.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The 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

Expand Down