| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Codecov Report
@@ Coverage Diff @@
## master #420 +/- ##
=======================================
Coverage 77.13% 77.13%
=======================================
Files 21 21
Lines 1496 1496
=======================================
Hits 1154 1154
Misses 342 342 Continue to review full report at Codecov.
|
Sorry, something went wrong.
|
It would be better if this was part of the git node land <pr> workflow to stop DEP0XXX landing in the first place. Typically we'd fix those up in master before backporting (because I think we want the numbers to be consistent across master/release lines). I guess we could fix these at release time as long as the change is merged upstream afterwards (hopefully without conflicts). |
Sorry, something went wrong.
|
@richardlau good point - i added this since it came up yesterday during the v14 release with this PR, but a second pass of the releases guide shows:
I'll migrate this logic into the land logic! |
Sorry, something went wrong.
If you want to also codify the check during release (in addition to modifying the land logic) I'd have no objection 😁. |
Sorry, something went wrong.
|
@targos i'd love to be able to get this in before next week's release if you have some time to peek at it 🙇♀️ |
Sorry, something went wrong.
|
I'm afraid this cannot be easily automated, because there may be multiple DEP0XXX placeholders for different deprecations introduced in different PRs. nodejs/node#33294 was special because it introduced more than one deprecation in a single PR. |
Sorry, something went wrong.
|
@targos in that case - shall i just adapt this PR to check for unmarked DEP0XXX tags and not try to fix them? |
Sorry, something went wrong.
|
What about a compromise : fix it if there is only one placeholder in deprecations.md, otherwise pause and ask to fix manually? |
Sorry, something went wrong.
|
@targos i've thought about this a bit more - i think it would still make sense to automate multiple in the landing stage? I can't think of a case where there will be two conflicting deprecations introduced in the same PR 🤔 In the release stage it makes sense only to automate if there's one though, i agree! I bumped some related changes and if there's an edge case i'm missing i'll remove the multiple functionality from landing! |
Sorry, something went wrong.
There was a problem hiding this comment.
cc @joyeecheung
Sorry, something went wrong.
…#420) Adds an additional step in git node land to automatically update any DEP0XXX, DEP0XX1 etc tags in the codebase to incremented new numbers. The release preparation script will also check for unmarked numbers and optionally update them as well.
| Back | FazBrowse Home | New Git URL |
Adds an additional step in git node land to automatically update any DEP0XXX, DEP0XX1 etc tags in the codebase to incremented new numbers. The release preparation script will also check for unmarked numbers and optionally update them as well.
Tested locally but please double check for any potential edge cases i might have missed!
cc @targos