[webkit-changes] [WebKit/WebKit] 4a282f: [git-webkit] Allow users to specify remotes with s...

Jonathan Bedard noreply at github.com
Mon Mar 20 09:19:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4a282fd70d35d23efd8b33718076167b93b9416c
      https://github.com/WebKit/WebKit/commit/4a282fd70d35d23efd8b33718076167b93b9416c
  Author: Jonathan Bedard <jbedard at apple.com>
  Date:   2023-03-20 (Mon, 20 Mar 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
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/setup_unittest.py

  Log Message:
  -----------
  [git-webkit] Allow users to specify remotes with security levels
https://bugs.webkit.org/show_bug.cgi?id=253979
rdar://106769669

Rubber-stamped by Aakash Jain.

Provide a --level flag to `git-webkit install-hooks` so that services
can configure their pre-push hook with remotes not specified by the project.

* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/install_hooks.py:
(InstallHooks.parser): Add --level flag.
(InstallHooks.main): Parse the contents of the --level flag and add the specified remotes
to our resolved template.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/install_hooks_unittest.py: Added.
(TestInstallHooks):
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/setup_unittest.py:
(TestSetup.test_security_levels): Move to TestInstallHooks.

Canonical link: https://commits.webkit.org/261873@main




More information about the webkit-changes mailing list