Changeset 265077 in webkit


Ignore:
Timestamp:
Jul 29, 2020 11:58:29 PM (4 years ago)
Author:
Fujii Hironori
Message:

Replace 'http://svn.webkit.org' with 'https://svn.webkit.org' in webkitpy scripts
https://bugs.webkit.org/show_bug.cgi?id=214957

Reviewed by Daniel Bates.

SVNRepository.has_authorization_for_realm failed to find the realm
string.

  • Scripts/webkitpy/common/checkout/changelog.py:

(ChangeLogEntry): Removed a unused variable 'svn_id_regexp'.

  • Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
  • Scripts/webkitpy/common/config/urls.py:
  • Scripts/webkitpy/tool/commands/suggestnominations.py:

(AbstractCommitLogCommand): Changed _revision_regexp to use 'https?' to accept 'https'.

  • Scripts/webkitpy/tool/commands/suggestnominations_unittest.py:
Location:
trunk/Tools
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r265068 r265077  
     12020-07-29  Fujii Hironori  <Hironori.Fujii@sony.com>
     2
     3        Replace 'http://svn.webkit.org' with 'https://svn.webkit.org' in webkitpy scripts
     4        https://bugs.webkit.org/show_bug.cgi?id=214957
     5
     6        Reviewed by Daniel Bates.
     7
     8        SVNRepository.has_authorization_for_realm failed to find the realm
     9        string.
     10
     11        * Scripts/webkitpy/common/checkout/changelog.py:
     12        (ChangeLogEntry): Removed a unused variable 'svn_id_regexp'.
     13        * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
     14        * Scripts/webkitpy/common/config/urls.py:
     15        * Scripts/webkitpy/tool/commands/suggestnominations.py:
     16        (AbstractCommitLogCommand): Changed _revision_regexp to use 'https?' to accept 'https'.
     17        * Scripts/webkitpy/tool/commands/suggestnominations_unittest.py:
     18
    1192020-07-29  Darin Adler  <darin@apple.com>
    220
  • trunk/Tools/Scripts/webkitpy/common/checkout/changelog.py

    r264949 r265077  
    104104    rolled_over_regexp = r'^== Rolled over to ChangeLog-\d{4}-\d{2}-\d{2} ==$'
    105105
    106     # e.g. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96161 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    107     svn_id_regexp = r'git-svn-id: http://svn.webkit.org/repository/webkit/trunk@(?P<svnid>\d+) '
    108 
    109106    split_names_regexp = r'\s*(?:,(?:\s+and\s+|&)?|(?:^|\s+)and\s+|&&|[/+&])\s*'
    110107
  • trunk/Tools/Scripts/webkitpy/common/checkout/scm/scm_unittest.py

    r264949 r265077  
    809809svn:realmstring
    810810V 39
    811 <http://svn.webkit.org:80> Mac OS Forge
     811<https://svn.webkit.org:443> Mac OS Forge
    812812K 8
    813813username
     
    823823svn:realmstring
    824824V 39
    825 <http://svn.webkit.org:80> Mac OS Forge
     825<https://svn.webkit.org:443> Mac OS Forge
    826826K 8
    827827username
     
    853853svn:realmstring
    854854V 39
    855 <http://svn.webkit.org:80> Mac OS Forge
     855<https://svn.webkit.org:443> Mac OS Forge
    856856K 8
    857857username
     
    17701770        self.assertEqual(scm.svn_url(scm.checkout_root), 'http://svn.webkit.org/repository/webkit/trunk')
    17711771
    1772         scm._most_recent_log_matching = lambda grep_str, path: 'git-svn-id: http://svn.webkit.org/repository/webkit/branch/specialSubmission@258000 268f45cc-cd09-0410-ab3c-d52691b4dbfc'
     1772        scm._most_recent_log_matching = lambda grep_str, path: 'git-svn-id: https://svn.webkit.org/repository/webkit/trunk@258024 268f45cc-cd09-0410-ab3c-d52691b4dbfc'
     1773        self.assertEqual(scm.svn_revision(scm.checkout_root), '258024')
     1774        self.assertEqual(scm.svn_branch(scm.checkout_root), 'trunk')
     1775        self.assertEqual(scm.svn_url(scm.checkout_root), 'https://svn.webkit.org/repository/webkit/trunk')
     1776
     1777        scm._most_recent_log_matching = lambda grep_str, path: 'git-svn-id: https://svn.webkit.org/repository/webkit/branch/specialSubmission@258000 268f45cc-cd09-0410-ab3c-d52691b4dbfc'
    17731778        self.assertEqual(scm.svn_revision(scm.checkout_root), '258000')
    17741779        self.assertEqual(scm.svn_branch(scm.checkout_root), 'specialSubmission')
    1775         self.assertEqual(scm.svn_url(scm.checkout_root), 'http://svn.webkit.org/repository/webkit/branch/specialSubmission')
     1780        self.assertEqual(scm.svn_url(scm.checkout_root), 'https://svn.webkit.org/repository/webkit/branch/specialSubmission')
  • trunk/Tools/Scripts/webkitpy/common/config/urls.py

    r261408 r265077  
    5454
    5555svn_server_host = "svn.webkit.org"
    56 svn_server_realm = "<http://svn.webkit.org:80> Mac OS Forge"
     56svn_server_realm = "<https://svn.webkit.org:443> Mac OS Forge"
    5757
    5858ewsserver_default_host = "ews.webkit.org"
  • trunk/Tools/Scripts/webkitpy/tool/commands/suggestnominations.py

    r253128 r265077  
    5353    _committer_regexp = re.compile(r'^Author: (?P<email>\S+)\s+<[^>]+>$', re.MULTILINE)
    5454    _date_regexp = re.compile(r'^Date:   (?P<date>\d{4}-\d{2}-\d{2}) (?P<time>\d{2}:\d{2}:\d{2}) [\+\-]\d{4}$', re.MULTILINE)
    55     _revision_regexp = re.compile(r'^git-svn-id: http://svn.webkit.org/repository/webkit/trunk@(?P<svnid>\d+) (?P<gitid>[0-9a-f\-]{36})$', re.MULTILINE)
     55    _revision_regexp = re.compile(r'^git-svn-id: https?://svn.webkit.org/repository/webkit/trunk@(?P<svnid>\d+) (?P<gitid>[0-9a-f\-]{36})$', re.MULTILINE)
    5656
    5757    def __init__(self, options=None):
  • trunk/Tools/Scripts/webkitpy/tool/commands/suggestnominations_unittest.py

    r243321 r265077  
    4444    Reviewed by Geoffrey Garen.
    4545
    46     git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95219 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     46    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@95219 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    4747"""
    4848    mock_same_author_commit_message = """Author: fpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
     
    5454Reviewed by Geoffrey Garen.
    5555
    56 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95219 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     56git-svn-id: https://svn.webkit.org/repository/webkit/trunk@95219 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    5757"""
    5858
     
    9292* WebKit.gyp:
    9393
    94 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95188 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     94git-svn-id: https://svn.webkit.org/repository/webkit/trunk@95188 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    9595"""
    9696
Note: See TracChangeset for help on using the changeset viewer.