Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[git-webkit] Add WebKit-security remote
https://bugs.webkit.org/show_bug.cgi?id=241647
<rdar://problem/95235184>

Reviewed by Stephanie Lewis.

* Tools/Scripts/libraries/webkitscmpy/setup.py: Bump version.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/setup.py:
(Setup.github): Don't add remote postfix if repo name already has the remote postfix.
* metadata/git_config_extension: Add WebKit-security remote.

Canonical link: https://commits.webkit.org/251648@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@295643 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
JonWBedard committed Jun 17, 2022
1 parent 4f54821 commit 7e1d588
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Tools/Scripts/libraries/webkitscmpy/setup.py
Expand Up @@ -29,7 +29,7 @@ def readme():

setup(
name='webkitscmpy',
version='5.0.1',
version='5.0.2',
description='Library designed to interact with git and svn repositories.',
long_description=readme(),
classifiers=[
Expand Down
Expand Up @@ -46,7 +46,7 @@ def _maybe_add_webkitcorepy_path():
"Please install webkitcorepy with `pip install webkitcorepy --extra-index-url <package index URL>`"
)

version = Version(5, 0, 1)
version = Version(5, 0, 2)

AutoInstall.register(Package('fasteners', Version(0, 15, 0)))
AutoInstall.register(Package('jinja2', Version(2, 11, 3)))
Expand Down
Expand Up @@ -60,7 +60,7 @@ def github(cls, args, repository, additional_setup=None, remote=None, team=None,
sys.stderr.write('You are not a member of {}\n'.format(team))
sys.stderr.write('Created "{}" fork will not be accessible to other contributors\n'.format(remote))

forked_name = '{}{}'.format(repository.name, '-{}'.format(remote) if remote else '')
forked_name = '{}{}'.format(repository.name, '-{}'.format(remote) if remote and not repository.name.endswith(remote) else '')
log.info('Verifying user owned fork...')
response = requests.get('{}/repos/{}/{}'.format(
repository.api_url,
Expand Down
2 changes: 2 additions & 0 deletions metadata/git_config_extension
Expand Up @@ -8,7 +8,9 @@
[webkitscmpy "remotes"]
origin = git@github.com:WebKit/WebKit.git
apple = git@github.com:apple/WebKit.git
security = git@github.com:WebKit/WebKit-security.git
[webkitscmpy "access"]
apple = apple/teams/WebKit
security = WebKit/teams/security
[webkitscmpy "pre-pr"]
style-checker = python3 Tools/Scripts/check-webkit-style

0 comments on commit 7e1d588

Please sign in to comment.