Skip to content
Permalink
Browse files
[git-webkit] Link to GitHub wiki
https://bugs.webkit.org/show_bug.cgi?id=237048
<rdar://problem/89307995>

Reviewed by Ryan Haddad.

* 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.main): Add GitHub wiki link.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/setup_unittest.py:
(TestSetup.test_github):


Canonical link: https://commits.webkit.org/247653@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@290332 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
JonWBedard committed Feb 22, 2022
1 parent ec527f0 commit 1905b99cb535967ab04794994715e94246b3a1c0
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 5 deletions.
@@ -1,3 +1,18 @@
2022-02-22 Jonathan Bedard <jbedard@apple.com>

[git-webkit] Link to GitHub wiki
https://bugs.webkit.org/show_bug.cgi?id=237048
<rdar://problem/89307995>

Reviewed by Ryan Haddad.

* Scripts/libraries/webkitscmpy/setup.py: Bump version.
* Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto.
* Scripts/libraries/webkitscmpy/webkitscmpy/program/setup.py:
(Setup.main): Add GitHub wiki link.
* Scripts/libraries/webkitscmpy/webkitscmpy/test/setup_unittest.py:
(TestSetup.test_github):

2022-02-22 Philippe Normand <pnormand@igalia.com>

[GStreamer] Switch media player to playbin3
@@ -29,7 +29,7 @@ def readme():

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

version = Version(4, 3, 2)
version = Version(4, 3, 3)

AutoInstall.register(Package('fasteners', Version(0, 15, 0)))
AutoInstall.register(Package('jinja2', Version(2, 11, 3)))
@@ -301,6 +301,9 @@ def parser(cls, parser, loggers=None):

@classmethod
def main(cls, args, repository, **kwargs):
print('For detailed information about options this script is configuring see:')
print('https://github.com/WebKit/WebKit/wiki/Git-Config#Configuration-Options')

if isinstance(repository, local.Git):
result = cls.git(args, repository, **kwargs)
print('Setup failed' if result else 'Setup succeeded!')
@@ -52,7 +52,13 @@ def test_github(self):
path=self.path,
))

self.assertEqual(captured.stdout.getvalue(), "Create a private fork of 'WebKit' belonging to 'username' ([Yes]/No): \nSetup succeeded!\n")
self.assertEqual(
captured.stdout.getvalue(),
'For detailed information about options this script is configuring see:\n'
'https://github.com/WebKit/WebKit/wiki/Git-Config#Configuration-Options\n'
"Create a private fork of 'WebKit' belonging to 'username' ([Yes]/No): \n"
'Setup succeeded!\n',
)
self.assertEqual(captured.stderr.getvalue(), '')
self.assertEqual(
captured.root.log.getvalue(),
@@ -80,7 +86,12 @@ def test_git(self):
self.assertEqual('auto', config.get('color.branch', ''))
self.assertEqual('true', config.get('pull.rebase', ''))

self.assertEqual(captured.stdout.getvalue(), 'Setup succeeded!\n')
self.assertEqual(
captured.stdout.getvalue(),
'For detailed information about options this script is configuring see:\n'
'https://github.com/WebKit/WebKit/wiki/Git-Config#Configuration-Options\n'
'Setup succeeded!\n',
)
self.assertEqual(captured.stderr.getvalue(), '')
self.assertEqual(
captured.root.log.getvalue(),
@@ -120,7 +131,9 @@ def test_github_checkout(self):
programs = ['default'] + [p.name for p in Editor.programs()]
self.assertEqual(
captured.stdout.getvalue(),
'''Set 'tapple@webkit.org' as the git user email for this repository ([Yes]/No):
'''For detailed information about options this script is configuring see:
https://github.com/WebKit/WebKit/wiki/Git-Config#Configuration-Options
Set 'tapple@webkit.org' as the git user email for this repository ([Yes]/No):
Enter git user email for this repository:
Set 'Tim Apple' as the git user name for this repository ([Yes]/No):
Enter git user name for this repository:

0 comments on commit 1905b99

Please sign in to comment.