Bug 208775

Summary: Replace the use of term "rollout" to "revert" in various tools
Product: WebKit Reporter: Ross Kirsling <ross.kirsling>
Component: Tools / TestsAssignee: Ross Kirsling <ross.kirsling>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, ap, commit-queue, ews-watchlist, glenn, jbedard, mjs, rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch for landing
none
Patch for landing
none
Patch for landing none

Ross Kirsling
Reported 2020-03-07 15:45:03 PST
[Tools] Out with rollouts, in with reverts
Attachments
Patch (86.82 KB, patch)
2020-03-07 16:01 PST, Ross Kirsling
no flags
Patch (90.72 KB, patch)
2020-03-07 16:23 PST, Ross Kirsling
no flags
Patch for landing (93.22 KB, patch)
2020-03-07 17:09 PST, Ross Kirsling
no flags
Patch for landing (93.22 KB, patch)
2020-03-07 18:50 PST, Ross Kirsling
no flags
Patch for landing (93.95 KB, patch)
2020-03-07 19:52 PST, Ross Kirsling
no flags
Ross Kirsling
Comment 1 2020-03-07 16:01:00 PST
Aakash Jain
Comment 2 2020-03-07 16:10:55 PST
Can you also rename rollout to revert in https://trac.webkit.org/browser/webkit/trunk/Tools/BuildSlaveSupport/ews-build/steps.py and steps_unittest.py
Ross Kirsling
Comment 3 2020-03-07 16:15:44 PST
(In reply to Aakash Jain from comment #2) > Can you also rename rollout to revert in > https://trac.webkit.org/browser/webkit/trunk/Tools/BuildSlaveSupport/ews- > build/steps.py and steps_unittest.py Oh shoot, my local pull is out of date and I didn't have those additions. Thanks for pointing that out!
Ross Kirsling
Comment 4 2020-03-07 16:23:00 PST
Ryosuke Niwa
Comment 5 2020-03-07 16:49:30 PST
Comment on attachment 392910 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=392910&action=review > Tools/ChangeLog:3 > + [Tools] Out with rollouts, in with reverts This bug title was too confusing. > Tools/Scripts/webkitpy/common/net/bugzilla/attachment.py:84 > + def is_revert(self): > + return self.name().startswith(self.revert_preamble) We need to check both rollout & revert here because this function is used to check whether something is a rollout or a revert. > Tools/Scripts/webkitpy/tool/bot/irc_command.py:156 > + usage_string = "revert SVN_REVISION [SVN_REVISIONS] REASON" > + help_string = "Opens a revert bug, CCing author + reviewer, and attaching the reverse-diff of the given revisions marked as commit-queue=?." While we're at, we should rephrase this as "Opens a bug to revert the specified revision, ..." > Tools/Scripts/webkitpy/tool/bot/irc_command.py:245 > - tool.irc().post("%s: Created rollout: %s" % (nicks_string, bug_url)) > + tool.irc().post("%s: Created revert: %s" % (nicks_string, bug_url)) While we're at it, we should rephrase it to "Created a revert patch": > Tools/Scripts/webkitpy/tool/commands/newcommitbot.py:157 > - return '%s rolled out %s in %s : %s' % (author, rollout.group('revisions'), > + return '%s rolled out %s in %s : %s' % (author, revert.group('revisions'), We should rephrase this as "reverted" as well. > Tools/Scripts/webkitpy/tool/commands/newcommitbot.py:159 > - lines[0] = '%s rolled out %s in %s' % (author, rollout.group('revisions'), linkified_revision) > + lines[0] = '%s rolled out %s in %s' % (author, revert.group('revisions'), linkified_revision) Ditto.
Ross Kirsling
Comment 6 2020-03-07 17:09:32 PST
Created attachment 392917 [details] Patch for landing
Ross Kirsling
Comment 7 2020-03-07 17:10:37 PST
Thanks for the review! (In reply to Ryosuke Niwa from comment #5) > > Tools/ChangeLog:3 > > + [Tools] Out with rollouts, in with reverts > > This bug title was too confusing. Haha, I may have been having a bit too much fun there. :P
Ross Kirsling
Comment 8 2020-03-07 17:22:29 PST
Services EWS seems unwilling to notice changes to its unit tests -- Aakash, can you confirm whether this failure looks legitimate to you?
Ross Kirsling
Comment 9 2020-03-07 18:50:59 PST
Created attachment 392929 [details] Patch for landing
Aakash Jain
Comment 10 2020-03-07 19:47:05 PST
(In reply to Ross Kirsling from comment #8) > Services EWS seems unwilling to notice changes to its unit tests -- Aakash, can you confirm whether this failure looks legitimate to you? The patch seems to be have missed replacing one instance of rollout in steps_unittest.py
WebKit Commit Bot
Comment 11 2020-03-07 19:49:57 PST Comment hidden (obsolete)
Ross Kirsling
Comment 12 2020-03-07 19:52:13 PST
Created attachment 392933 [details] Patch for landing
Ross Kirsling
Comment 13 2020-03-07 19:53:21 PST
(In reply to Aakash Jain from comment #10) > (In reply to Ross Kirsling from comment #8) > > Services EWS seems unwilling to notice changes to its unit tests -- Aakash, can you confirm whether this failure looks legitimate to you? > The patch seems to be have missed replacing one instance of rollout in > steps_unittest.py I didn't realize there were multiple changes for this landing simultaneously -- rebased again.
WebKit Commit Bot
Comment 14 2020-03-07 20:20:28 PST
Comment on attachment 392933 [details] Patch for landing Clearing flags on attachment: 392933 Committed r258097: <https://trac.webkit.org/changeset/258097>
WebKit Commit Bot
Comment 15 2020-03-07 20:20:30 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 16 2020-03-07 20:21:15 PST
Note You need to log in before you can comment on or make changes to this bug.