[webkit-changes] [WebKit/WebKit] 0756ac: [git-webkit] Allow alternative publication account

Jonathan Bedard noreply at github.com
Tue Apr 25 15:28:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0756acde44477062e7240b9ea1556be6835c32b4
      https://github.com/WebKit/WebKit/commit/0756acde44477062e7240b9ea1556be6835c32b4
  Author: Jonathan Bedard <jbedard at apple.com>
  Date:   2023-04-25 (Tue, 25 Apr 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/publish.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/setup.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/remote/bitbucket.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/remote/git_hub.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/remote/scm.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/remote/svn.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/git_unittest.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/svn_unittest.py

  Log Message:
  -----------
  [git-webkit] Allow alternative publication account
https://bugs.webkit.org/show_bug.cgi?id=255934
rdar://108510545

Reviewed by Elliott Williams.

Support a --user option in `git-webkit publish` to allow an alternative account
from a user's regular development account to perform the push.

* Tools/Scripts/libraries/webkitscmpy/setup.py: Bump version.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/publish.py:
(Publish.parser): Add --user option.
(Publish.main): Prompt user for password if --user specified, pass that password via
environment variable to `git push` commands.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/setup.py:
(Setup.git): Add credential helper, event if the checkout is not a HTTPs checkout.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/remote/bitbucket.py:
(BitBucket.checkout_url): Return ssh and http checkout URL.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/remote/git_hub.py:
(GitHub.checkout_url): Return ssh and http checkout URL.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/remote/scm.py:
(Scm.checkout_url): Added.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/remote/svn.py:
(Svn.checkout_url): Return http checkout URL.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/git_unittest.py:
(TestGitHub.test_checkout_url):
(TestBitBucket.test_checkout_url):
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/svn_unittest.py:
(TestRemoteSvn.test_checkout_url):

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




More information about the webkit-changes mailing list