WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
64037
Add roll-chromium-deps command to sheriff-bot
https://bugs.webkit.org/show_bug.cgi?id=64037
Summary
Add roll-chromium-deps command to sheriff-bot
Adam Barth
Reported
2011-07-06 15:32:15 PDT
Add roll-chromium-deps command to sheriff-bot
Attachments
Patch
(10.83 KB, patch)
2011-07-06 15:33 PDT
,
Adam Barth
eric
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Adam Barth
Comment 1
2011-07-06 15:33:36 PDT
Created
attachment 99894
[details]
Patch
Eric Seidel (no email)
Comment 2
2011-07-06 15:37:59 PDT
Comment on
attachment 99894
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=99894&action=review
OK.
> Tools/Scripts/webkitpy/tool/bot/irc_command.py:135 > + if revision: > + tool.irc().post("%s: Rolling Chromium DEPS to r%s" % (nick, revision)) > + else: > + tool.irc().post("%s: Rolling Chromium DEPS last-known good revision" % nick)
I would have probably used: roll_target = "r%" % revision if revision else "last-known good revision" tool.irc().post("%s Rolling Chromium DEPS to %s" % (nick, roll_target))
> Tools/Scripts/webkitpy/tool/bot/irc_command.py:142 > + match = re.search(r"Current Chromium DEPS revision \d+ is newer than \d+\.", e.output)
Does this need to be multi-line?
> Tools/Scripts/webkitpy/tool/bot/irc_command.py:144 > + tool.irc().post("%s: %s" % (nick, match.group(0)))
You could name your groups for clarity.
> Tools/Scripts/webkitpy/tool/bot/irc_command.py:145 > + return
return None will exit 0, is that what you want? Oh, I guess this is a IRC command, so it will just not say anthing. return None is still probably more explicit than return. Not sure it maters.
> Tools/Scripts/webkitpy/tool/bot/irc_command.py:151 > + bug_id = parse_bug_id(e.output) > + if bug_id: > + bug_url = tool.bugs.bug_url_for_bug_id(bug_id) > + tool.irc().post("%s: Ugg... Might have created %s" % (nick, bug_url))
Wish we could share this somehow....
Adam Barth
Comment 3
2011-07-06 15:49:53 PDT
Committed
r90507
: <
http://trac.webkit.org/changeset/90507
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug