-
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
[git-webkit] Force pre-push hooks to be up-to-date #11563
[git-webkit] Force pre-push hooks to be up-to-date #11563
Conversation
EWS run on previous version of this PR (hash 2340f6a) |
2340f6a
to
a9f47f1
Compare
EWS run on previous version of this PR (hash a9f47f1) |
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.
rs=me
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.
LGTM
a9f47f1
to
4f6f658
Compare
EWS run on current version of this PR (hash 4f6f658) |
https://bugs.webkit.org/show_bug.cgi?id=253972 rdar://106760739 Reviewed by Aakash Jain and Ryan Haddad. If a checkout defines a pre-push hook, prevent users from running commands which invoke `git push` without first installing the hook. * Tools/Scripts/libraries/webkitscmpy/setup.py: Bump version. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/install_hooks.py: (InstallHooks.version_for): Extract version from a hook template file. (InstallHooks.hook_needs_update): Compare the checked in hook template to the installed hook template. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/land.py: (Land.main): Exit program if our pre-push hook is out of date. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/publish.py: (Publish.main): Ditto. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py: (PullRequest.main): Ditto. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/install_hooks_unittest.py: Added. (TestInstallHooks): Canonical link: https://commits.webkit.org/261970@main
4f6f658
to
57dd97a
Compare
Committed 261970@main (57dd97a): https://commits.webkit.org/261970@main Reviewed commits have been landed. Closing PR #11563 and removing active labels. |
57dd97a
4f6f658
π wincairoπ§ͺ wpe-wk2π§ͺ ios-wk2π§ͺ api-iosπ§ͺ mac-wk1π§ͺ gtk-wk2π§ͺ api-gtkπ§ͺ mac-AS-debug-wk2π watch