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

Issue 1403313002: Added `cros_pin` CrOS pin-bump tool. (Closed)

Created:
5 years, 2 months ago by dnj
Modified:
5 years, 1 month ago
CC:
chromium-reviews, infra-reviews+infra_chromium.org
Base URL:
https://chromium.googlesource.com/infra/infra.git@master
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

Added `cros_pin` CrOS pin-bump tool. BUG=chromium:543290 TEST=local - Ran `update` command successfully. - Ran `add-release` command successfully. Committed: https://chromium.googlesource.com/infra/infra/+/74367e15a1678cedc21f17b954fe85f5c983bb8b

Patch Set 1 #

Patch Set 2 : Fixed bugs, better handling of insufficient slave pool sizes. #

Total comments: 7

Patch Set 3 : contextmanager, cleanup. #

Total comments: 10

Patch Set 4 : Added pinfile.py tests, cleanup. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+819 lines, -20 lines) Patch
M infra/libs/gitiles/gitiles.py View 5 chunks +37 lines, -4 lines 0 comments Download
M infra/libs/gitiles/test/gitiles_test.py View 1 2 3 5 chunks +26 lines, -3 lines 0 comments Download
A + infra/tools/cros_pin/__init__.py View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A + infra/tools/cros_pin/__main__.py View 1 chunk +7 lines, -13 lines 0 comments Download
A infra/tools/cros_pin/checkout.py View 1 2 1 chunk +105 lines, -0 lines 0 comments Download
A infra/tools/cros_pin/cros_pin.py View 1 2 3 1 chunk +364 lines, -0 lines 0 comments Download
A infra/tools/cros_pin/execute.py View 1 2 1 chunk +36 lines, -0 lines 0 comments Download
A + infra/tools/cros_pin/logger.py View 1 chunk +4 lines, -2 lines 0 comments Download
A infra/tools/cros_pin/pinfile.py View 1 2 3 1 chunk +132 lines, -0 lines 0 comments Download
A + infra/tools/cros_pin/test/__init__.py View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A infra/tools/cros_pin/test/pinfile_test.py View 1 2 3 1 chunk +110 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
dnj
PTAL This is a `cit`-gettable tool that automatically generates and submits Chromite pin bumps. It ...
5 years, 2 months ago (2015-10-15 18:48:43 UTC) #2
dnj
+hinoka@, since you wrote `cit restart` :)
5 years, 2 months ago (2015-10-15 18:49:18 UTC) #4
ghost stip (do not use)
there's a lot of code here. I would have appreciated a smaller review in chunks ...
5 years, 2 months ago (2015-10-15 20:02:55 UTC) #6
dnj
https://chromiumcodereview.appspot.com/1403313002/diff/40001/infra/tools/cros_pin/checkout.py File infra/tools/cros_pin/checkout.py (right): https://chromiumcodereview.appspot.com/1403313002/diff/40001/infra/tools/cros_pin/checkout.py#newcode15 infra/tools/cros_pin/checkout.py:15: class Checkout(object): On 2015/10/15 20:02:54, stip wrote: > can ...
5 years, 2 months ago (2015-10-15 21:06:41 UTC) #7
hinoka
in general lgtm (since its an isolated tool, risk of breaking things is low), but ...
5 years, 2 months ago (2015-10-21 19:49:40 UTC) #8
dnj
I don't think it's terribly over-engineered. Maybe a little. It does two relatively complex things ...
5 years, 2 months ago (2015-10-22 21:48:41 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1403313002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1403313002/80001
5 years, 2 months ago (2015-10-23 00:09:34 UTC) #12
commit-bot: I haz the power
5 years, 2 months ago (2015-10-23 00:11:51 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://chromium.googlesource.com/infra/infra/+/74367e15a1678cedc21f17b954fe8...

Powered by Google App Engine
This is Rietveld 408576698