git-node: add --backport flag to land#383
git-node: add --backport flag to land#383targos merged 1 commit intonodejs:masterfrom andrewhughes101:backport-land
Conversation
Codecov Report
@@ Coverage Diff @@
## master #383 +/- ##
==========================================
+ Coverage 75.66% 75.95% +0.28%
==========================================
Files 21 21
Lines 1422 1439 +17
==========================================
+ Hits 1076 1093 +17
Misses 346 346
Continue to review full report at Codecov.
|
|
@andrewhughes101 I labelled WIP because I think you intend to extend the tests now that the current ones are passing. |
sam-github
left a comment
There was a problem hiding this comment.
LGTM, but I've never reviewed this code before, someone who actually has should at least have a look. Or... maybe unnecessary, since this is additive? As long as it works for @nodejs/lts, and @BethGriggs approves, perhaps that's enough?
|
Mostly LGTM. I've pulled down the code and tried pulling in a few backports and it works as expected 😃. The only one I had issues with was nodejs/node#31431 - it states that it cannot detect PR-URL (but the PR-URL is in each of the commits). Is the issue because the tool is looking for "PR-URL:" in the PR body rather than in the individual commit messages? |
Yeah the tool itself doesn't have that functionality that we could see at least, it only goes through the data inside the PR message itself |
|
Some of the commits in that PR had corrupt meta data... specifically they had |
|
I've updated the PR to always place the Backport-PR-URL below the PR-URL in the metadata. I've also created some asciinema of this feature in action Single commit: https://asciinema.org/a/300758 |
This commit adds functionality to land that allows you to land backports with the correct metadata Co-authored-by: AshCripps <ashley.cripps@ibm.com>
This commit adds functionality to land that allows you to land backports
with the correct metadata
example:
git node land --backport <PR number>Co-authored-by: @AshCripps ashley.cripps@ibm.com