[webkit-changes] [WebKit/WebKit] 981a04: [git-webkit] Handle existing symlink hooks
Jonathan Bedard
noreply at github.com
Mon Aug 28 16:10:01 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 981a048eebf49b247a5fa7149ca5dc2658f891e5
https://github.com/WebKit/WebKit/commit/981a048eebf49b247a5fa7149ca5dc2658f891e5
Author: Jonathan Bedard <jbedard at apple.com>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M Tools/Scripts/libraries/webkitscmpy/setup.py
M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py
M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/install_hooks.py
M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/install_hooks_unittest.py
Log Message:
-----------
[git-webkit] Handle existing symlink hooks
https://bugs.webkit.org/show_bug.cgi?id=260799
rdar://114566642
Reviewed by Dewei Zhu.
Some repositories use symlinks to configure hooks. Overwriting
these is usually wrong.
* 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.main): Warn user when hooks contain symlinks and do not overwrite them.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/install_hooks_unittest.py:
(TestInstallHooks.test_install_hook):
(TestInstallHooks.test_security_level_in_hook):
Canonical link: https://commits.webkit.org/267372@main
More information about the webkit-changes
mailing list