Skip to content

Commit

Permalink
[git-webkit] Allow caller to insert sub-programs
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=250396
rdar://104082456

Reviewed by Aakash Jain.

* Tools/Scripts/libraries/webkitscmpy/setup.py: Bump version.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/__init__.py:
(main): Provide a 'programs' argument for the caller to insert sub-programs with.

Canonical link: https://commits.webkit.org/258741@main
  • Loading branch information
JonWBedard committed Jan 10, 2023
1 parent bb06002 commit 91b8d58
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Tools/Scripts/libraries/webkitscmpy/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def readme():

setup(
name='webkitscmpy',
version='5.10.6',
version='5.10.7',
description='Library designed to interact with git and svn repositories.',
long_description=readme(),
classifiers=[
Expand Down
Original file line number Diff line number Diff line change
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, 10, 6)
version = Version(5, 10, 7)

AutoInstall.register(Package('fasteners', Version(0, 15, 0)))
AutoInstall.register(Package('jinja2', Version(2, 11, 3)))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
def main(
args=None, path=None, loggers=None, contributors=None,
identifier_template=None, subversion=None, additional_setup=None, hooks=None,
canonical_svn=None,
canonical_svn=None, programs=None,
):
logging.basicConfig(level=logging.WARNING)

Expand Down Expand Up @@ -88,7 +88,7 @@ def main(
PullRequest, Revert, Setup, InstallGitLFS,
Credentials, Commit, DeletePRBranches, Squash,
Pickable, CherryPick, Trace, Track, Show,
]
] + (programs or [])
if subversion:
programs.append(SetupGitSvn)

Expand Down

0 comments on commit 91b8d58

Please sign in to comment.