Changeset 244705 in webkit
- Timestamp:
- Apr 26, 2019, 1:47:29 PM (7 years ago)
- Location:
- trunk/Tools
- Files:
-
- 10 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/webkitpy/common/checkout/changelog_unittest.py (modified) (5 diffs)
-
Scripts/webkitpy/common/checkout/checkout_mock.py (modified) (3 diffs)
-
Scripts/webkitpy/common/checkout/checkout_unittest.py (modified) (8 diffs)
-
Scripts/webkitpy/common/config/contributors.json (modified) (95 diffs)
-
Scripts/webkitpy/common/net/bugzilla/bugzilla_mock.py (modified) (2 diffs)
-
Scripts/webkitpy/tool/bot/irc_command_unittest.py (modified) (2 diffs)
-
Scripts/webkitpy/tool/bot/ircbot_unittest.py (modified) (3 diffs)
-
Scripts/webkitpy/tool/commands/queries_unittest.py (modified) (1 diff)
-
Scripts/webkitpy/tool/commands/upload_unittest.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r244704 r244705 1 2019-04-26 Alexey Proskuryakov <ap@apple.com> 2 3 Update inactive reviewers' status to 'contributor'. 4 5 * Scripts/webkitpy/common/config/contributors.json: The change. 6 7 * Scripts/webkitpy/common/checkout/changelog_unittest.py: 8 * Scripts/webkitpy/common/checkout/checkout_mock.py: 9 * Scripts/webkitpy/common/checkout/checkout_unittest.py: 10 * Scripts/webkitpy/common/net/bugzilla/bugzilla_mock.py: 11 * Scripts/webkitpy/tool/bot/irc_command_unittest.py: 12 * Scripts/webkitpy/tool/bot/ircbot_unittest.py: 13 * Scripts/webkitpy/tool/commands/queries_unittest.py: 14 * Scripts/webkitpy/tool/commands/upload_unittest.py: 15 Sadly, regression tests operate on a crazy mix of mock and live data for 16 contributors.json. It would be a substantial project to mock all code paths, 17 so changing the tests instead. 18 1 19 2019-04-26 Eric Carlson <eric.carlson@apple.com> 2 20 -
trunk/Tools/Scripts/webkitpy/common/checkout/changelog_unittest.py
r234663 r244705 42 42 _example_entry = u'''2009-08-17 Peter Kasting <pkasting@google.com> 43 43 44 Reviewed by Tor Arne Vestb\xf8.44 Reviewed by Fr\u00e9d\u00e9ric Wang. 45 45 46 46 https://bugs.webkit.org/show_bug.cgi?id=27323 … … 57 57 58 58 # More example text than we need. Eventually we need to support parsing this all and write tests for the parsing. 59 _example_changelog = u"""2009-08-17 Tor Arne Vestb\xf8 <vestbo@webkit.org>59 _example_changelog = u"""2009-08-17 Fr\u00e9d\u00e9ric Wang <fred.wang@free.fr> 60 60 61 61 <http://webkit.org/b/28393> check-webkit-style: add check for use of std::max()/std::min() instead of MAX()/MIN() … … 238 238 parsed_entries = list(ChangeLog.parse_entries_from_file(changelog_file)) 239 239 self.assertEqual(len(parsed_entries), 9) 240 self.assertEqual(parsed_entries[0].date_line(), u"2009-08-17 Tor Arne Vestb\xf8 <vestbo@webkit.org>")240 self.assertEqual(parsed_entries[0].date_line(), u"2009-08-17 Fr\u00e9d\u00e9ric Wang <fred.wang@free.fr>") 241 241 self.assertEqual(parsed_entries[0].date(), "2009-08-17") 242 242 self.assertEqual(parsed_entries[0].reviewer_text(), "David Levin") … … 580 580 581 581 def test_has_valid_reviewer(self): 582 self._assert_has_valid_reviewer("Reviewed by Eric Seidel.", True)583 self._assert_has_valid_reviewer("Reviewed by Eric Seidel", True) # Not picky about the '.'584 self._assert_has_valid_reviewer("Reviewed by Eric.", False)585 self._assert_has_valid_reviewer("Reviewed by Eric C Seidel.", False)586 self._assert_has_valid_reviewer("Rubber-stamped by Eric.", False)587 self._assert_has_valid_reviewer("Rubber-stamped by Eric Seidel.", True)588 self._assert_has_valid_reviewer("Rubber stamped by Eric.", False)589 self._assert_has_valid_reviewer("Rubber stamped by Eric Seidel.", True)582 self._assert_has_valid_reviewer("Reviewed by Darin Adler.", True) 583 self._assert_has_valid_reviewer("Reviewed by Darin Adler", True) # Not picky about the '.' 584 self._assert_has_valid_reviewer("Reviewed by Darin.", False) 585 self._assert_has_valid_reviewer("Reviewed by Darin B Adler.", False) 586 self._assert_has_valid_reviewer("Rubber-stamped by Darin.", False) 587 self._assert_has_valid_reviewer("Rubber-stamped by Darin Adler.", True) 588 self._assert_has_valid_reviewer("Rubber stamped by Darin.", False) 589 self._assert_has_valid_reviewer("Rubber stamped by Darin Adler.", True) 590 590 self._assert_has_valid_reviewer("Unreviewed build fix.", True) 591 591 self._assert_has_valid_reviewer("Reviewed by Gabor Rapcsanyi.", False) … … 642 642 self.assertEqual(latest_entry.author_name(), "Peter Kasting") 643 643 self.assertEqual(latest_entry.author_email(), "pkasting@google.com") 644 self.assertEqual(latest_entry.reviewer_text(), u" Tor Arne Vestb\xf8")644 self.assertEqual(latest_entry.reviewer_text(), u"Fr\u00e9d\u00e9ric Wang") 645 645 touched_files = ["DumpRenderTree/win/DumpRenderTree.vcproj", "DumpRenderTree/win/ImageDiff.vcproj", "DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj"] 646 646 self.assertEqual(latest_entry.touched_files(), touched_files) -
trunk/Tools/Scripts/webkitpy/common/checkout/checkout_mock.py
r202362 r244705 43 43 44 44 mock_revisions = { 45 1: CommitInfo(852, " eric@webkit.org", {45 1: CommitInfo(852, "ap@apple.com", { 46 46 "bug_id": 50000, 47 47 "author_name": "Adam Barth", … … 56 56 "bug_description": "Example description of bug 50000.", 57 57 }), 58 963: CommitInfo(963, " eric@webkit.org", {58 963: CommitInfo(963, "ap@apple.com", { 59 59 "bug_id": 50005, 60 60 "author_name": "Carol Szabo", … … 69 69 "bug_description": "Example description of bug 50005.", 70 70 }), 71 987: CommitInfo(987, " eric@webkit.org", {71 987: CommitInfo(987, "ap@apple.com", { 72 72 "bug_id": 50006, 73 73 "author_name": "Adam Barth", -
trunk/Tools/Scripts/webkitpy/common/checkout/checkout_unittest.py
r228303 r244705 46 46 47 47 48 _changelog1entry1 = u"""2010-03-25 Tor Arne Vestb\u00f8 <vestbo@webkit.org>48 _changelog1entry1 = u"""2010-03-25 Fr\u00e9d\u00e9ric Wang <fred.wang@free.fr> 49 49 50 50 Unreviewed build fix to un-break webkit-patch land. … … 65 65 """ 66 66 _changelog1 = u"\n".join([_changelog1entry1, _changelog1entry2]) 67 _changelog2 = u"""2010-03-25 Tor Arne Vestb\u00f8 <vestbo@webkit.org>67 _changelog2 = u"""2010-03-25 Fr\u00e9d\u00e9ric Wang <fred.wang@free.fr> 68 68 69 69 Unreviewed build fix to un-break webkit-patch land. 70 70 71 Second part of this complicated change by me, Tor Arne Vestb\u00f8!71 Second part of this complicated change by me, Fr\u00e9d\u00e9ric Wang! 72 72 73 73 * Path/To/Complicated/File: Added. … … 162 162 # invoking commit-log-editor correctly. 163 163 env = os.environ.copy() 164 env['CHANGE_LOG_EMAIL_ADDRESS'] = ' vestbo@webkit.org'164 env['CHANGE_LOG_EMAIL_ADDRESS'] = 'fred.wang@free.fr' 165 165 kwargs['env'] = env 166 166 return executive.run_command(*args, **kwargs) … … 191 191 LayoutTests: 192 192 193 Second part of this complicated change by me, Tor Arne Vestb\u00f8!193 Second part of this complicated change by me, Fr\u00e9d\u00e9ric Wang! 194 194 195 195 * Path/To/Complicated/File: Added. … … 378 378 self.assertEqual(commitinfo.bug_id(), 36629) 379 379 self.assertEqual(commitinfo.bug_description(), "Unreviewed build fix to un-break webkit-patch land.") 380 self.assertEqual(commitinfo.author_name(), u" Tor Arne Vestb\u00f8")381 self.assertEqual(commitinfo.author_email(), " vestbo@webkit.org")380 self.assertEqual(commitinfo.author_name(), u"Fr\u00e9d\u00e9ric Wang") 381 self.assertEqual(commitinfo.author_email(), "fred.wang@free.fr") 382 382 self.assertIsNone(commitinfo.reviewer_text()) 383 383 self.assertIsNone(commitinfo.reviewer()) … … 386 386 self.assertEqual(commitinfo.to_json(), { 387 387 'bug_id': 36629, 388 'author_email': ' vestbo@webkit.org',388 'author_email': 'fred.wang@free.fr', 389 389 'changed_files': [ 390 390 'path/to/file', … … 392 392 ], 393 393 'reviewer_text': None, 394 'author_name': u' Tor Arne Vestb\xf8',394 'author_name': u'Fr\u00e9d\u00e9ric Wang', 395 395 'bug_description': 'Unreviewed build fix to un-break webkit-patch land.', 396 396 }) … … 439 439 reviewers = checkout.suggested_reviewers(git_commit=None) 440 440 reviewer_names = [reviewer.full_name for reviewer in reviewers] 441 self.assertEqual(reviewer_names, [u' Tor Arne Vestb\xf8'])441 self.assertEqual(reviewer_names, [u'Fr\u00e9d\u00e9ric Wang']) 442 442 443 443 def test_apply_patch(self): -
trunk/Tools/Scripts/webkitpy/common/config/contributors.json
r243815 r244705 44 44 "inferno-sec" 45 45 ], 46 "status" : " reviewer"46 "status" : "contributor" 47 47 }, 48 48 "Ada Chan" : { … … 54 54 "chanada" 55 55 ], 56 "status" : " reviewer"56 "status" : "contributor" 57 57 }, 58 58 "Adam Barth" : { … … 112 112 "aroben" 113 113 ], 114 "status" : " reviewer"114 "status" : "contributor" 115 115 }, 116 116 "Adam Treat" : { … … 124 124 "manyoso" 125 125 ], 126 "status" : " reviewer"126 "status" : "contributor" 127 127 }, 128 128 "Adele Peterson" : { … … 134 134 "adele" 135 135 ], 136 "status" : " reviewer"136 "status" : "contributor" 137 137 }, 138 138 "Ademar de Souza Reis Jr" : { … … 191 191 "enne" 192 192 ], 193 "status" : " reviewer"193 "status" : "contributor" 194 194 }, 195 195 "Aharon Lanin" : { … … 327 327 "apavlov" 328 328 ], 329 "status" : " reviewer"329 "status" : "contributor" 330 330 }, 331 331 "Alexandre Elias" : { … … 347 347 "achicu" 348 348 ], 349 "status" : " reviewer"349 "status" : "contributor" 350 350 }, 351 351 "Alexey Marinichev" : { … … 379 379 "darktears" 380 380 ], 381 "status" : " reviewer"381 "status" : "contributor" 382 382 }, 383 383 "Ali Juma" : { … … 408 408 "aliu" 409 409 ], 410 "status" : " reviewer"410 "status" : "contributor" 411 411 }, 412 412 "Alicia Boya Garcia" : { … … 432 432 "carewolf" 433 433 ], 434 "status" : " reviewer"434 "status" : "contributor" 435 435 }, 436 436 "Alok Priyadarshi" : { … … 453 453 "alp" 454 454 ], 455 "status" : " reviewer"455 "status" : "contributor" 456 456 }, 457 457 "Ami Fischman" : { … … 526 526 "abucur" 527 527 ], 528 "status" : " reviewer"528 "status" : "contributor" 529 529 }, 530 530 "Andrei Popescu" : { … … 774 774 "ariya" 775 775 ], 776 "status" : " reviewer"776 "status" : "contributor" 777 777 }, 778 778 "Arko Saha" : { … … 875 875 "bemjb" 876 876 ], 877 "status" : " reviewer"877 "status" : "contributor" 878 878 }, 879 879 "Ben Murdoch" : { … … 1096 1096 "cmarcelo" 1097 1097 ], 1098 "status" : " reviewer"1098 "status" : "contributor" 1099 1099 }, 1100 1100 "Caitlin Potter" : { … … 1133 1133 "clopez" 1134 1134 ], 1135 "status" : " reviewer"1135 "status" : "contributor" 1136 1136 }, 1137 1137 "Carlos Eduardo Ramalho" : { … … 1187 1187 "cshu" 1188 1188 ], 1189 "status" : " reviewer"1189 "status" : "contributor" 1190 1190 }, 1191 1191 "ChangSeok Oh" : { … … 1233 1233 "cblu" 1234 1234 ], 1235 "status" : " reviewer"1235 "status" : "contributor" 1236 1236 }, 1237 1237 "Chris Dumez" : { … … 1289 1289 "cjerdonek" 1290 1290 ], 1291 "status" : " reviewer"1291 "status" : "contributor" 1292 1292 }, 1293 1293 "Chris Marrin" : { … … 1298 1298 "cmarrin" 1299 1299 ], 1300 "status" : " reviewer"1300 "status" : "contributor" 1301 1301 }, 1302 1302 "Chris Nardi" : { … … 1326 1326 "crogers" 1327 1327 ], 1328 "status" : " reviewer"1328 "status" : "contributor" 1329 1329 }, 1330 1330 "Christian Biesinger" : { … … 1415 1415 "ossy" 1416 1416 ], 1417 "status" : " reviewer"1417 "status" : "contributor" 1418 1418 }, 1419 1419 "Dan Bernstein" : { … … 1502 1502 "fishd" 1503 1503 ], 1504 "status" : " reviewer"1504 "status" : "contributor" 1505 1505 }, 1506 1506 "Dave Barton" : { … … 1572 1572 "harrison" 1573 1573 ], 1574 "status" : " reviewer"1574 "status" : "contributor" 1575 1575 }, 1576 1576 "David Hyatt" : { … … 1586 1586 "hyatt" 1587 1587 ], 1588 "status" : " reviewer"1588 "status" : "contributor" 1589 1589 }, 1590 1590 "David Jonathan Ross" : { … … 1617 1617 "dave_levin" 1618 1618 ], 1619 "status" : " reviewer"1619 "status" : "contributor" 1620 1620 }, 1621 1621 "David Michael Barr" : { … … 1742 1742 "dglazkov" 1743 1743 ], 1744 "status" : " reviewer"1744 "status" : "contributor" 1745 1745 }, 1746 1746 "Dinu Jacob" : { … … 1763 1763 "dpranke" 1764 1764 ], 1765 "status" : " reviewer"1765 "status" : "contributor" 1766 1766 }, 1767 1767 "Dirk Schulze" : { … … 1803 1803 "dimich" 1804 1804 ], 1805 "status" : " reviewer"1805 "status" : "contributor" 1806 1806 }, 1807 1807 "Dominic Cooney" : { … … 1855 1855 "gramps" 1856 1856 ], 1857 "status" : " reviewer"1857 "status" : "contributor" 1858 1858 }, 1859 1859 "Don Olmstead" : { … … 1927 1927 "dumi" 1928 1928 ], 1929 "status" : " reviewer"1929 "status" : "contributor" 1930 1930 }, 1931 1931 "D\u00e1niel B\u00e1tyai" : { … … 1969 1969 "esprehn" 1970 1970 ], 1971 "status" : " reviewer"1971 "status" : "contributor" 1972 1972 }, 1973 1973 "Emil A Eklund" : { … … 1982 1982 "eae" 1983 1983 ], 1984 "status" : " reviewer"1984 "status" : "contributor" 1985 1985 }, 1986 1986 "Emilio Cobos Alvarez" : { … … 2001 2001 "enrica" 2002 2002 ], 2003 "status" : " reviewer"2003 "status" : "contributor" 2004 2004 }, 2005 2005 "Enrique Oca\u00f1a Gonz\u00e1lez" : { … … 2050 2050 "eseidel" 2051 2051 ], 2052 "status" : " reviewer"2052 "status" : "contributor" 2053 2053 }, 2054 2054 "Eric Uhrhane" : { … … 2247 2247 "gbarra" 2248 2248 ], 2249 "status" : " reviewer"2249 "status" : "contributor" 2250 2250 }, 2251 2251 "Gavin Peters" : { … … 2280 2280 ], 2281 2281 "expertise" : "Core KHTML Contributor, The QtWebKit Port", 2282 "status" : " reviewer"2282 "status" : "contributor" 2283 2283 }, 2284 2284 "Gergo Balogh" : { … … 2430 2430 "morrita" 2431 2431 ], 2432 "status" : " reviewer"2432 "status" : "contributor" 2433 2433 }, 2434 2434 "Hans Muller" : { … … 2515 2515 "zecke" 2516 2516 ], 2517 "status" : " reviewer"2517 "status" : "contributor" 2518 2518 }, 2519 2519 "Hugo Parente Lima" : { … … 2743 2743 "jamesr" 2744 2744 ], 2745 "status" : " reviewer"2745 "status" : "contributor" 2746 2746 }, 2747 2747 "James Simonsen" : { … … 2763 2763 "janm" 2764 2764 ], 2765 "status" : " reviewer"2765 "status" : "contributor" 2766 2766 }, 2767 2767 "Janos Badics" : { … … 2903 2903 "jorlow" 2904 2904 ], 2905 "status" : " reviewer"2905 "status" : "contributor" 2906 2906 }, 2907 2907 "Jessie Berlin" : { … … 2941 2941 "jianli" 2942 2942 ], 2943 "status" : " reviewer"2943 "status" : "contributor" 2944 2944 }, 2945 2945 "Jiewen Tan" : { … … 2999 2999 "jturcotte" 3000 3000 ], 3001 "status" : " reviewer"3001 "status" : "contributor" 3002 3002 }, 3003 3003 "Jochen Eisinger" : { … … 3009 3009 "jochen__" 3010 3010 ], 3011 "status" : " reviewer"3011 "status" : "contributor" 3012 3012 }, 3013 3013 "Joe Thomas" : { … … 3093 3093 "sullivan" 3094 3094 ], 3095 "status" : " reviewer"3095 "status" : "contributor" 3096 3096 }, 3097 3097 "John Wilander" : { … … 3125 3125 "jhoneycutt" 3126 3126 ], 3127 "status" : " reviewer"3127 "status" : "contributor" 3128 3128 }, 3129 3129 "Jon Lee" : { … … 3292 3292 "jchaffraix" 3293 3293 ], 3294 "status" : " reviewer"3294 "status" : "contributor" 3295 3295 }, 3296 3296 "Jungshik Shin" : { … … 3315 3315 "justing" 3316 3316 ], 3317 "status" : " reviewer"3317 "status" : "contributor" 3318 3318 }, 3319 3319 "Justin Michaud" : { … … 3440 3440 "kocienda@apple.com" 3441 3441 ], 3442 "status" : " reviewer"3442 "status" : "contributor" 3443 3443 }, 3444 3444 "Kenichi Ishibashi" : { … … 3476 3476 "kenne" 3477 3477 ], 3478 "status" : " reviewer"3478 "status" : "contributor" 3479 3479 }, 3480 3480 "Kenneth Russell" : { … … 3491 3491 "kbrgg" 3492 3492 ], 3493 "status" : " reviewer"3493 "status" : "contributor" 3494 3494 }, 3495 3495 "Kent Hansen" : { … … 3512 3512 "tkent" 3513 3513 ], 3514 "status" : " reviewer"3514 "status" : "contributor" 3515 3515 }, 3516 3516 "Kentaro Hara" : { … … 3523 3523 "haraken" 3524 3524 ], 3525 "status" : " reviewer"3525 "status" : "contributor" 3526 3526 }, 3527 3527 "Kevin Decker" : { … … 3533 3533 "superkevin" 3534 3534 ], 3535 "status" : " reviewer"3535 "status" : "contributor" 3536 3536 }, 3537 3537 "Kevin McCullough" : { … … 3543 3543 "maculloch" 3544 3544 ], 3545 "status" : " reviewer"3545 "status" : "contributor" 3546 3546 }, 3547 3547 "Kevin Ollivier" : { … … 3554 3554 "kollivier" 3555 3555 ], 3556 "status" : " reviewer"3556 "status" : "contributor" 3557 3557 }, 3558 3558 "Kihong Kwon" : { … … 3710 3710 "lars" 3711 3711 ], 3712 "status" : " reviewer"3712 "status" : "contributor" 3713 3713 }, 3714 3714 "Laszlo Gombos" : { … … 3723 3723 "lgombos" 3724 3724 ], 3725 "status" : " reviewer"3725 "status" : "contributor" 3726 3726 }, 3727 3727 "Laszlo Vidacs" : { … … 3786 3786 "leviw" 3787 3787 ], 3788 "status" : " reviewer"3788 "status" : "contributor" 3789 3789 }, 3790 3790 "Li Yin" : { … … 3855 3855 "lca" 3856 3856 ], 3857 "status" : " reviewer"3857 "status" : "contributor" 3858 3858 }, 3859 3859 "Luke Macpherson" : { … … 3955 3955 "mhahnenberg" 3956 3956 ], 3957 "status" : " reviewer"3957 "status" : "contributor" 3958 3958 }, 3959 3959 "Mark Lam" : { … … 3984 3984 "bdash" 3985 3985 ], 3986 "status" : " reviewer"3986 "status" : "contributor" 3987 3987 }, 3988 3988 "Martin Hock" : { … … 4014 4014 "mrobinson" 4015 4015 ], 4016 "status" : " reviewer"4016 "status" : "contributor" 4017 4017 }, 4018 4018 "Mary Wu" : { … … 4261 4261 "mihaip" 4262 4262 ], 4263 "status" : " reviewer"4263 "status" : "contributor" 4264 4264 }, 4265 4265 "Mihai Tica" : { … … 4281 4281 "mihnea" 4282 4282 ], 4283 "status" : " reviewer"4283 "status" : "contributor" 4284 4284 }, 4285 4285 "Mike Belshe" : { … … 4440 4440 "natechapin" 4441 4441 ], 4442 "status" : " reviewer"4442 "status" : "contributor" 4443 4443 }, 4444 4444 "Nayan Kumar K" : { … … 4471 4471 "thakis" 4472 4472 ], 4473 "status" : " reviewer"4473 "status" : "contributor" 4474 4474 }, 4475 4475 "Nikita Vasilyev" : { … … 4499 4499 "wildfox" 4500 4500 ], 4501 "status" : " reviewer"4501 "status" : "contributor" 4502 4502 }, 4503 4503 "Nils Barth" : { … … 4529 4529 "noamr" 4530 4530 ], 4531 "status" : " reviewer"4531 "status" : "contributor" 4532 4532 }, 4533 4533 "Noel Gordon" : { … … 4551 4551 "ojan" 4552 4552 ], 4553 "status" : " reviewer"4553 "status" : "contributor" 4554 4554 }, 4555 4555 "Oliver Hunt" : { … … 4561 4561 "olliej" 4562 4562 ], 4563 "status" : " reviewer"4563 "status" : "contributor" 4564 4564 }, 4565 4565 "Pablo Flouret" : { … … 4608 4608 "pfeldman" 4609 4609 ], 4610 "status" : " reviewer"4610 "status" : "contributor" 4611 4611 }, 4612 4612 "Pavel Podivilov" : { … … 4709 4709 "pdr" 4710 4710 ], 4711 "status" : " reviewer"4711 "status" : "contributor" 4712 4712 }, 4713 4713 "Philippe Normand" : { … … 4761 4761 "psolanki" 4762 4762 ], 4763 "status" : " reviewer"4763 "status" : "contributor" 4764 4764 }, 4765 4765 "Pravin D" : { … … 4894 4894 "rjw" 4895 4895 ], 4896 "status" : " reviewer"4896 "status" : "contributor" 4897 4897 }, 4898 4898 "Ricky Mondello" : { … … 5201 5201 "hamaji" 5202 5202 ], 5203 "status" : " reviewer"5203 "status" : "contributor" 5204 5204 }, 5205 5205 "Shinya Kawanaka" : { … … 5273 5273 "tronical" 5274 5274 ], 5275 "status" : " reviewer"5275 "status" : "contributor" 5276 5276 }, 5277 5277 "Simon Pena" : { … … 5313 5313 "schenney" 5314 5314 ], 5315 "status" : " reviewer"5315 "status" : "contributor" 5316 5316 }, 5317 5317 "Stephen White" : { … … 5323 5323 "senorblanco" 5324 5324 ], 5325 "status" : " reviewer"5325 "status" : "contributor" 5326 5326 }, 5327 5327 "Steve Block" : { … … 5334 5334 "steveblock" 5335 5335 ], 5336 "status" : " reviewer"5336 "status" : "contributor" 5337 5337 }, 5338 5338 "Steve Falkenburg" : { … … 5344 5344 "sfalken" 5345 5345 ], 5346 "status" : " reviewer"5346 "status" : "contributor" 5347 5347 }, 5348 5348 "Steve Lacey" : { … … 5582 5582 "timo@apple.com" 5583 5583 ], 5584 "status" : " reviewer"5584 "status" : "contributor" 5585 5585 }, 5586 5586 "Tim Volodine" : { … … 5662 5662 "tony^work" 5663 5663 ], 5664 "status" : " reviewer"5664 "status" : "contributor" 5665 5665 }, 5666 5666 "Tony Gentilcore" : { … … 5672 5672 "tonyg-cr" 5673 5673 ], 5674 "status" : " reviewer"5674 "status" : "contributor" 5675 5675 }, 5676 5676 "Tor Arne Vestb\u00f8" : { … … 5684 5684 "torarne" 5685 5685 ], 5686 "status" : " reviewer"5686 "status" : "contributor" 5687 5687 }, 5688 5688 "Trey Matteson" : { … … 5737 5737 "vicki@apple.com" 5738 5738 ], 5739 "status" : " reviewer"5739 "status" : "contributor" 5740 5740 }, 5741 5741 "Victor Carbune" : { … … 5823 5823 "vsevik" 5824 5824 ], 5825 "status" : " reviewer"5825 "status" : "contributor" 5826 5826 }, 5827 5827 "W. James MacLean" : { … … 5987 5987 "yong" 5988 5988 ], 5989 "status" : " reviewer"5989 "status" : "contributor" 5990 5990 }, 5991 5991 "Yongjun Zhang" : { … … 6050 6050 "yurys" 6051 6051 ], 6052 "status" : " reviewer"6052 "status" : "contributor" 6053 6053 }, 6054 6054 "Yusuke Suzuki" : { … … 6072 6072 "yutak" 6073 6073 ], 6074 "status" : " reviewer"6074 "status" : "contributor" 6075 6075 }, 6076 6076 "Yuzo Fujishima" : { … … 6091 6091 "zackr" 6092 6092 ], 6093 "status" : " reviewer"6093 "status" : "contributor" 6094 6094 }, 6095 6095 "Zalan Bujtas" : { … … 6153 6153 "zherczeg" 6154 6154 ], 6155 "status" : " reviewer"6155 "status" : "contributor" 6156 6156 }, 6157 6157 "Zoltan Horvath" : { … … 6166 6166 "zoltan" 6167 6167 ], 6168 "status" : " reviewer"6168 "status" : "contributor" 6169 6169 }, 6170 6170 "Zsolt Borbely" : { -
trunk/Tools/Scripts/webkitpy/common/net/bugzilla/bugzilla_mock.py
r234856 r244705 74 74 "commit-queue": "+", 75 75 "committer_email": "non-committer@example.com", 76 "attacher_email": " eric@webkit.org",76 "attacher_email": "ap@webkit.org", 77 77 } 78 78 … … 115 115 "review": "+", 116 116 "reviewer_email": "foo@bar.com", 117 "attacher_email": " eric@webkit.org",117 "attacher_email": "ap@webkit.org", 118 118 } 119 119 -
trunk/Tools/Scripts/webkitpy/tool/bot/irc_command_unittest.py
r243321 r244705 47 47 self.assertEqual("tom: Sorry, I don't know any contributors matching 'unknown@example.com'.", 48 48 whois.execute("tom", ["unknown@example.com"], None, None)) 49 self.assertEqual('tom: tonyg@chromium.org is "Tony Gentilcore" <tonyg@chromium.org> (:tonyg-cr) (r). Why do you ask?',49 self.assertEqual('tom: tonyg@chromium.org is "Tony Gentilcore" <tonyg@chromium.org> (:tonyg-cr). Why do you ask?', 50 50 whois.execute("tom", ["tonyg@chromium.org"], None, None)) 51 self.assertEqual('tom: TonyG@Chromium.org is "Tony Gentilcore" <tonyg@chromium.org> (:tonyg-cr) (r). Why do you ask?',51 self.assertEqual('tom: TonyG@Chromium.org is "Tony Gentilcore" <tonyg@chromium.org> (:tonyg-cr). Why do you ask?', 52 52 whois.execute("tom", ["TonyG@Chromium.org"], None, None)) 53 53 self.assertEqual('tom: rniwa is "Ryosuke Niwa" <rniwa@webkit.org> (:rniwa) (r). Why do you ask?', … … 55 55 self.assertEqual('tom: Xan Lopez is "Xan Lopez" <xan.lopez@gmail.com> (:xan) (r). Why do you ask?', 56 56 whois.execute("tom", ["Xan", "Lopez"], None, None)) 57 self.assertEqual(u'tom: Osztrogon\u00e1c is "Csaba Osztrogon\u00e1c" <ossy@webkit.org> (:ossy) (r). Why do you ask?',57 self.assertEqual(u'tom: Osztrogon\u00e1c is "Csaba Osztrogon\u00e1c" <ossy@webkit.org> (:ossy). Why do you ask?', 58 58 whois.execute("tom", [u'Osztrogon\u00e1c'], None, None)) 59 59 self.assertEqual('tom: "Vicki Murley" <vicki@apple.com> hasn\'t told me their nick. Boo hoo :-(', 60 60 whois.execute("tom", ["vicki@apple.com"], None, None)) 61 self.assertEqual('tom: I\'m not sure who you mean? "Gavin Barraclough" <barraclough@apple.com> (:gbarra) (r)or "Gavin Peters" <gavinp@chromium.org> (:gavinp) could be \'Gavin\'.',61 self.assertEqual('tom: I\'m not sure who you mean? "Gavin Barraclough" <barraclough@apple.com> (:gbarra) or "Gavin Peters" <gavinp@chromium.org> (:gavinp) could be \'Gavin\'.', 62 62 whois.execute("tom", ["Gavin"], None, None)) 63 63 self.assertEqual('tom: More than 5 contributors match \'david\', could you be more specific?', -
trunk/Tools/Scripts/webkitpy/tool/bot/ircbot_unittest.py
r223177 r244705 96 96 97 97 def test_rollout(self): 98 expected_logs = "MOCK: irc.post: mock_nick: Preparing rollout for https://trac.webkit.org/changeset/21654 ...\nMOCK: irc.post: mock_nick, abarth, darin, eseidel: Created rollout: http://example.com/36936\n"98 expected_logs = "MOCK: irc.post: mock_nick: Preparing rollout for https://trac.webkit.org/changeset/21654 ...\nMOCK: irc.post: mock_nick, abarth, ap, darin: Created rollout: http://example.com/36936\n" 99 99 OutputCapture().assert_outputs(self, run, args=["rollout 21654 This patch broke the world"], expected_logs=expected_logs) 100 100 101 101 def test_revert(self): 102 expected_logs = "MOCK: irc.post: mock_nick: Preparing rollout for https://trac.webkit.org/changeset/21654 ...\nMOCK: irc.post: mock_nick, abarth, darin, eseidel: Created rollout: http://example.com/36936\n"102 expected_logs = "MOCK: irc.post: mock_nick: Preparing rollout for https://trac.webkit.org/changeset/21654 ...\nMOCK: irc.post: mock_nick, abarth, ap, darin: Created rollout: http://example.com/36936\n" 103 103 OutputCapture().assert_outputs(self, run, args=["revert 21654 This patch broke the world"], expected_logs=expected_logs) 104 104 105 105 def test_multi_rollout(self): 106 expected_logs = "MOCK: irc.post: mock_nick: Preparing rollout for https://trac.webkit.org/changeset/21654, https://trac.webkit.org/changeset/21655, and https://trac.webkit.org/changeset/21656 ...\nMOCK: irc.post: mock_nick, abarth, darin, eseidel: Created rollout: http://example.com/36936\n"106 expected_logs = "MOCK: irc.post: mock_nick: Preparing rollout for https://trac.webkit.org/changeset/21654, https://trac.webkit.org/changeset/21655, and https://trac.webkit.org/changeset/21656 ...\nMOCK: irc.post: mock_nick, abarth, ap, darin: Created rollout: http://example.com/36936\n" 107 107 OutputCapture().assert_outputs(self, run, args=["rollout 21654 21655 21656 This 21654 patch broke the world"], expected_logs=expected_logs) 108 108 109 109 def test_rollout_with_r_in_svn_revision(self): 110 expected_logs = "MOCK: irc.post: mock_nick: Preparing rollout for https://trac.webkit.org/changeset/21654 ...\nMOCK: irc.post: mock_nick, abarth, darin, eseidel: Created rollout: http://example.com/36936\n"110 expected_logs = "MOCK: irc.post: mock_nick: Preparing rollout for https://trac.webkit.org/changeset/21654 ...\nMOCK: irc.post: mock_nick, abarth, ap, darin: Created rollout: http://example.com/36936\n" 111 111 OutputCapture().assert_outputs(self, run, args=["rollout r21654 This patch broke the world"], expected_logs=expected_logs) 112 112 113 113 def test_multi_rollout_with_r_in_svn_revision(self): 114 expected_logs = "MOCK: irc.post: mock_nick: Preparing rollout for https://trac.webkit.org/changeset/21654, https://trac.webkit.org/changeset/21655, and https://trac.webkit.org/changeset/21656 ...\nMOCK: irc.post: mock_nick, abarth, darin, eseidel: Created rollout: http://example.com/36936\n"114 expected_logs = "MOCK: irc.post: mock_nick: Preparing rollout for https://trac.webkit.org/changeset/21654, https://trac.webkit.org/changeset/21655, and https://trac.webkit.org/changeset/21656 ...\nMOCK: irc.post: mock_nick, abarth, ap, darin: Created rollout: http://example.com/36936\n" 115 115 OutputCapture().assert_outputs(self, run, args=["rollout r21654 21655 r21656 This r21654 patch broke the world"], expected_logs=expected_logs) 116 116 … … 129 129 # FIXME: I'm slightly confused as to why this doesn't return the USAGE message. 130 130 expected_logs = """MOCK: irc.post: mock_nick: Preparing rollout for https://trac.webkit.org/changeset/21654 ... 131 MOCK: irc.post: mock_nick, abarth, darin, eseidel: Failed to create rollout patch:131 MOCK: irc.post: mock_nick, abarth, ap, darin: Failed to create rollout patch: 132 132 MOCK: irc.post: The rollout reason may not begin with - (\"-bad (Requested by mock_nick on #webkit).\"). 133 133 """ … … 138 138 def test_multi_rollout_invalidate_reason(self): 139 139 expected_logs = """MOCK: irc.post: mock_nick: Preparing rollout for https://trac.webkit.org/changeset/21654, https://trac.webkit.org/changeset/21655, and https://trac.webkit.org/changeset/21656 ... 140 MOCK: irc.post: mock_nick, abarth, darin, eseidel: Failed to create rollout patch:140 MOCK: irc.post: mock_nick, abarth, ap, darin: Failed to create rollout patch: 141 141 MOCK: irc.post: The rollout reason may not begin with - (\"-bad (Requested by mock_nick on #webkit).\"). 142 142 """ -
trunk/Tools/Scripts/webkitpy/tool/commands/queries_unittest.py
r232979 r244705 76 76 def test_patches_to_commit_queue(self): 77 77 expected_stdout = "http://example.com/10003&action=edit\n" 78 expected_logs = "10000 already has cq=+\n10001 already has cq=+\n10004 committer = \" Eric Seidel\" <eric@webkit.org>\n"78 expected_logs = "10000 already has cq=+\n10001 already has cq=+\n10004 committer = \"Alexey Proskuryakov\" <ap@webkit.org>\n" 79 79 options = Mock() 80 80 options.bugs = False -
trunk/Tools/Scripts/webkitpy/tool/commands/upload_unittest.py
r237037 r244705 46 46 tool = MockTool() 47 47 expected_logs = """Warning, attachment 10001 on bug 50000 has invalid committer (non-committer@example.com) 48 MOCK reassign_bug: bug_id=50000, assignee= eric@webkit.org48 MOCK reassign_bug: bug_id=50000, assignee=ap@webkit.org 49 49 -- Begin comment -- 50 Attachment 10001 was posted by a committer and has review+, assigning to Eric Seidelfor commit.50 Attachment 10001 was posted by a committer and has review+, assigning to Alexey Proskuryakov for commit. 51 51 -- End comment -- 52 52 Bug 50003 is already assigned to foo@foo.com (None).
Note:
See TracChangeset
for help on using the changeset viewer.