Changeset 272800 in webkit


Ignore:
Timestamp:
Feb 12, 2021, 12:38:03 PM (5 years ago)
Author:
Jonathan Bedard
Message:

[webkit-patch] Post both revision and identifier to bugzilla
https://bugs.webkit.org/show_bug.cgi?id=221829
<rdar://problem/74282619>

Reviewed by Aakash Jain.

  • Scripts/webkitpy/tool/commands/download_unittest.py:
  • Scripts/webkitpy/tool/commands/upload_unittest.py:
  • Scripts/webkitpy/tool/comments.py:

(bug_comment_from_svn_revision): Include subversion revision.

  • Scripts/webkitpy/tool/steps/closebugforlanddiff_unittest.py:

(CloseBugForLandDiffTest.test_empty_state):

Location:
trunk/Tools
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r272793 r272800  
     12021-02-12  Jonathan Bedard  <jbedard@apple.com>
     2
     3        [webkit-patch] Post both revision and identifier to bugzilla
     4        https://bugs.webkit.org/show_bug.cgi?id=221829
     5        <rdar://problem/74282619>
     6
     7        Reviewed by Aakash Jain.
     8
     9        * Scripts/webkitpy/tool/commands/download_unittest.py:
     10        * Scripts/webkitpy/tool/commands/upload_unittest.py:
     11        * Scripts/webkitpy/tool/comments.py:
     12        (bug_comment_from_svn_revision): Include subversion revision.
     13        * Scripts/webkitpy/tool/steps/closebugforlanddiff_unittest.py:
     14        (CloseBugForLandDiffTest.test_empty_state):
     15
    1162021-02-12  Jonathan Bedard  <jbedard@apple.com>
    217
  • trunk/Tools/Scripts/webkitpy/tool/commands/download_unittest.py

    r272782 r272800  
    195195MOCK run_and_throw_if_fail: ['mock-run-webkit-tests', '--quiet'], cwd=/mock-checkout
    196196Committed r49824: <https://commits.webkit.org/r49824>
    197 Committed 5@main: <https://commits.webkit.org/5@main>
     197Committed r49824 (5@main): <https://commits.webkit.org/5@main>
    198198No bug id provided.
    199199"""
     
    324324MOCK bug comment: bug_id=50000, cc=None, see_also=None
    325325--- Begin comment ---
    326 Committed 5@main: <https://commits.webkit.org/5@main>
     326Committed r49824 (5@main): <https://commits.webkit.org/5@main>
    327327--- End comment ---
    328328
     
    495495Reason
    496496
    497 Committed 5@main: <https://commits.webkit.org/5@main>'
     497Committed r49824 (5@main): <https://commits.webkit.org/5@main>'
    498498"""
    499499        with self.mock_svn_remote():
     
    515515Reason
    516516
    517 Committed 5@main: <https://commits.webkit.org/5@main>'
     517Committed r49824 (5@main): <https://commits.webkit.org/5@main>'
    518518MOCK reopen_bug 50005 with comment 'Reverted r852 and r963 for reason:
    519519
    520520Reason
    521521
    522 Committed 5@main: <https://commits.webkit.org/5@main>'
     522Committed r49824 (5@main): <https://commits.webkit.org/5@main>'
    523523"""
    524524        with self.mock_svn_remote():
     
    538538Reason
    539539
    540 Committed 5@main: <https://commits.webkit.org/5@main>'
     540Committed r49824 (5@main): <https://commits.webkit.org/5@main>'
    541541MOCK reopen_bug 50005 with comment 'Reverted r852, r963, and r3001 for reason:
    542542
    543543Reason
    544544
    545 Committed 5@main: <https://commits.webkit.org/5@main>'
     545Committed r49824 (5@main): <https://commits.webkit.org/5@main>'
    546546MOCK reopen_bug 50004 with comment 'Reverted r852, r963, and r3001 for reason:
    547547
    548548Reason
    549549
    550 Committed 5@main: <https://commits.webkit.org/5@main>'
     550Committed r49824 (5@main): <https://commits.webkit.org/5@main>'
    551551"""
    552552        with self.mock_svn_remote():
     
    566566Reason
    567567
    568 Committed 5@main: <https://commits.webkit.org/5@main>'
     568Committed r49824 (5@main): <https://commits.webkit.org/5@main>'
    569569MOCK reopen_bug 50005 with comment 'Reverted r852, r963, and r999 for reason:
    570570
    571571Reason
    572572
    573 Committed 5@main: <https://commits.webkit.org/5@main>'
     573Committed r49824 (5@main): <https://commits.webkit.org/5@main>'
    574574"""
    575575        with self.mock_svn_remote():
  • trunk/Tools/Scripts/webkitpy/tool/commands/upload_unittest.py

    r272782 r272800  
    203203MOCK comment
    204204
    205 Committed 5@main: <https://commits.webkit.org/5@main>
     205Committed r9876 (5@main): <https://commits.webkit.org/5@main>
    206206--- End comment ---
    207207
  • trunk/Tools/Scripts/webkitpy/tool/comments.py

    r272782 r272800  
    3838    repo = remote.Svn('https://svn.webkit.org/repository/webkit')
    3939    identifier = str(repo.commit(revision=svn_revision)).replace('trunk', 'main')
    40     return "Committed {}: <{}>".format(identifier, urls.view_identifier_url(identifier))
     40    return 'Committed r{} ({}): <{}>'.format(svn_revision, identifier, urls.view_identifier_url(identifier))
    4141
    4242
  • trunk/Tools/Scripts/webkitpy/tool/steps/closebugforlanddiff_unittest.py

    r272782 r272800  
    6060            self.assertEqual(
    6161                captured.root.log.getvalue(),
    62                 'Committed 5@main: <https://commits.webkit.org/5@main>\nNo bug id provided.\n'
     62                'Committed r49824 (5@main): <https://commits.webkit.org/5@main>\nNo bug id provided.\n'
    6363            )
Note: See TracChangeset for help on using the changeset viewer.