-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Use different cherry-pick format for main #12455
Use different cherry-pick format for main #12455
Conversation
EWS run on previous version of this PR (hash 28de774) |
#12457 is an example of what this actually looks like. We still have to have some tools adopt reading this new format, but that is being done in separate commits. |
May be clearer to say "Originally landed as", not "Cherry-pick". Or at least "Cherry-pick from". Otherwise, the new format looks good to me. |
If we're diverging from the |
But now I'm thinking that it could confuse people into thinking that it's about originally landing, reverting and re-landing. "Originally landed on release branch as"? |
Seems like we would be duplicating information with that that descriptor. Some full examples of our proposals here:
I would prefer the shorter version of the "Originally landed as", but the longer version of the "Cherry-pick" one. |
|
28de774
to
da640e4
Compare
EWS run on previous version of this PR (hash da640e4) |
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.
This version uses Originally-landed-as
, I added the dashes because that makes it compatible with git-interpret-trailers
, should we have any desire to leverage that fact in the future.
da640e4
to
b2e8d31
Compare
EWS run on current version of this PR (hash b2e8d31) |
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.
r=me
https://bugs.webkit.org/show_bug.cgi?id=255088 rdar://107708812 Reviewed by Dewei Zhu. When cherry-picking into main, retain the original commit message in it's entireity and tag the bottom of the commit with a 'Originally-landed-as' message. Use existing behavior for all other branches. * Tools/Scripts/libraries/webkitscmpy/setup.py: Bump version. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto. * Tools/Scripts/hooks/prepare-commit-msg: * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/canonicalize/message.py: (main): Do not insert lines between trailers. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/install_hooks.py: (InstallHooks.main): Pass default branch, trailers to strip and source remotes to hook templates. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/canonicalize_unittest.py: (TestCanonicalize.test_alternate_trailer): Canonical link: https://commits.webkit.org/262726@main
b2e8d31
to
659cd39
Compare
Committed 262726@main (659cd39): https://commits.webkit.org/262726@main Reviewed commits have been landed. Closing PR #12455 and removing active labels. |
659cd39
b2e8d31
π§ͺ wpe-wk2π§ͺ ios-wk2π§ͺ ios-wk2-wptπ§ͺ gtk-wk2π§ͺ api-iosπ§ͺ api-gtk