Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(454)

Issue 1119003: Add new canned checks: CheckRietveldTryJobExecution and CheckBuildbotPendingBuilds (Closed)

Created:
10 years, 9 months ago by M-A Ruel
Modified:
9 years, 7 months ago
Reviewers:
bradnelson, bradn
CC:
chromium-reviews
Visibility:
Public.

Description

Add new canned checks: CheckRietveldTryJobExecution and CheckBuildbotPendingBuilds These are the same that the one in chromium's src/PRESUBMIT.py but slightly more resilitent to exceptions. Empirical studies have shown that exceptions in presubmit checks result in disorientation and lack of willingness to commit. TEST=OMG new unit tests! Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=42102

Patch Set 1 #

Total comments: 3

Patch Set 2 : Standardize strings #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -33 lines) Patch
M presubmit_canned_checks.py View 1 22 chunks +117 lines, -33 lines 0 comments Download
M tests/presubmit_unittest.py View 2 chunks +78 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
M-A Ruel
10 years, 9 months ago (2010-03-18 20:43:54 UTC) #1
bradn
10 years, 9 months ago (2010-03-18 21:27:55 UTC) #2
LGTM

http://codereview.chromium.org/1119003/diff/1/2
File presubmit_canned_checks.py (right):

http://codereview.chromium.org/1119003/diff/1/2#newcode423
presubmit_canned_checks.py:423: url = "%s/%d/get_build_results/%d" % (
The quoting in this file is all over the map. Can you standardize it while
you're in there?

http://codereview.chromium.org/1119003/diff/1/2#newcode482
presubmit_canned_checks.py:482: "looking up buildbot status")]
-->

http://codereview.chromium.org/1119003/diff/1/3
File tests/presubmit_unittest.py (right):

http://codereview.chromium.org/1119003/diff/1/3#newcode1560
tests/presubmit_unittest.py:1560: connection.read().AndReturn("""amiga|Foo|blah
amiga :-)

Powered by Google App Engine
This is Rietveld 408576698