- Notifications
You must be signed in to change notification settings - Fork 120
feat: handle unmarked DEP0XXX tags during landing and release#420
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
Conversation
codebytere commented May 20, 2020 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
codecovbot commented May 20, 2020 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
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.
|
2ce77f4 to 3a8e38cComparerichardlau commented May 20, 2020
It would be better if this was part of the |
codebytere commented May 20, 2020 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
@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! |
richardlau commented May 20, 2020
If you want to also codify the check during release (in addition to modifying the land logic) I'd have no objection 😁. |
e40a212 to 2f0b952Compare2f0b952 to f177b58Comparef177b58 to 53a4c31Comparecodebytere commented Jun 3, 2020
@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 🙇♀️ |
targos commented Jun 3, 2020
I'm afraid this cannot be easily automated, because there may be multiple |
codebytere commented Jun 3, 2020 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
@targos in that case - shall i just adapt this PR to check for unmarked DEP0XXX tags and not try to fix them? |
targos commented Jun 3, 2020
What about a compromise : fix it if there is only one placeholder in deprecations.md, otherwise pause and ask to fix manually? |
codebytere commented Jun 3, 2020 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
@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! |
Uh oh!
There was an error while loading. Please reload this page.
targos left a comment
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.
cc @joyeecheung
…#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.
Adds an additional step in
git node landto automatically update anyDEP0XXX,DEP0XX1etc 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