Changeset 90083 in webkit


Ignore:
Timestamp:
Jun 29, 2011 8:07:40 PM (13 years ago)
Author:
bashi@chromium.org
Message:

2011-06-29 Kenichi Ishibashi <bashi@chromium.org>

Reviewed by Adam Barth.

check-webkit-style fails to detect https://webkit.org/b/XXXXX as a bug number
https://webkit.org/b/57360

Modify the regular expression to match https scheme.

  • Scripts/webkitpy/common/checkout/changelog_unittest.py: Added a test case for https://webkit.org/b/XXXXX.
  • Scripts/webkitpy/common/config/urls.py: Modified bug_url_short to match https scheme.
Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r90081 r90083  
     12011-06-29  Kenichi Ishibashi  <bashi@chromium.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        check-webkit-style fails to detect https://webkit.org/b/XXXXX as a bug number
     6        https://webkit.org/b/57360
     7
     8        Modify the regular expression to match https scheme.
     9
     10        * Scripts/webkitpy/common/checkout/changelog_unittest.py: Added a test case for https://webkit.org/b/XXXXX.
     11        * Scripts/webkitpy/common/config/urls.py: Modified bug_url_short to match https scheme.
     12
    1132011-06-29  Adam Barth  <abarth@webkit.org>
    214
  • trunk/Tools/Scripts/webkitpy/common/checkout/changelog_unittest.py

    r85727 r90083  
    137137        self.assertEquals(57569, parse_bug_id_from_changelog(commit_text))
    138138
     139        commit_text = '''
     1402011-03-29  Timothy Hatcher  <timothy@apple.com>
     141
     142        Update WebCore Localizable.strings to contain WebCore, WebKit/mac and WebKit2 strings.
     143
     144        https://webkit.org/b/57354
     145
     146        Reviewed by Sam Weinig.
     147
     148        * English.lproj/Localizable.strings: Updated.
     149        * StringsNotToBeLocalized.txt: Removed. To hard to maintain in WebCore.
     150        * platform/network/cf/LoaderRunLoopCF.h: Remove a single quote in an #error so
     151        extract-localizable-strings does not complain about unbalanced single quotes.
     152        '''
     153
     154        self.assertEquals(57354, parse_bug_id_from_changelog(commit_text))
     155
    139156    def test_latest_entry_parse(self):
    140157        changelog_contents = u"%s\n%s" % (self._example_entry, self._example_changelog)
  • trunk/Tools/Scripts/webkitpy/common/config/urls.py

    r85797 r90083  
    4848bug_server_url = "https://%s/" % bug_server_host
    4949bug_url_long = _bug_server_regex + r"show_bug\.cgi\?id=(?P<bug_id>\d+)(&ctype=xml)?"
    50 bug_url_short = r"http\://webkit\.org/b/(?P<bug_id>\d+)"
     50bug_url_short = r"https?\://webkit\.org/b/(?P<bug_id>\d+)"
Note: See TracChangeset for help on using the changeset viewer.