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

Issue 1193813004: cipd recipe_module (Closed)

Created:
5 years, 6 months ago by seanmccullough
Modified:
5 years, 5 months ago
Reviewers:
Vadim Sh.
CC:
chromium-reviews, kjellander-cc_chromium.org, stip+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/build.git@master
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : still broken, uploading only to solicit help debugging #

Patch Set 3 : removed junk changes #

Patch Set 4 : added ensure_installed #

Total comments: 22

Patch Set 5 : removed ensure.py, unused gce-specific code #

Total comments: 13

Patch Set 6 : removed config, re-ordered bootstrap steps #

Patch Set 7 : added cipd/example.expected #

Total comments: 15

Patch Set 8 : remove unused imports, pass bin_path in as a data param #

Total comments: 4

Patch Set 9 : more bootstrap simplification #

Patch Set 10 : coverage -> 100% #

Unified diffs Side-by-side diffs Delta from patch set Stats (+349 lines, -0 lines) Patch
A scripts/slave/recipe_modules/cipd/__init__.py View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
A scripts/slave/recipe_modules/cipd/api.py View 1 2 3 4 5 6 7 8 9 1 chunk +44 lines, -0 lines 0 comments Download
A scripts/slave/recipe_modules/cipd/example.py View 1 2 3 4 5 6 7 8 9 1 chunk +36 lines, -0 lines 0 comments Download
A scripts/slave/recipe_modules/cipd/example.expected/basic.json View 1 2 3 4 5 6 7 8 9 1 chunk +43 lines, -0 lines 0 comments Download
A scripts/slave/recipe_modules/cipd/example.expected/install-failed.json View 1 2 3 4 5 6 7 8 9 1 chunk +21 lines, -0 lines 0 comments Download
A scripts/slave/recipe_modules/cipd/resources/bootstrap.py View 1 2 3 4 5 6 7 8 9 1 chunk +196 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (5 generated)
seanmccullough
This surely has some unnecessary stuff included, I wasn't sure what made sense to keep ...
5 years, 6 months ago (2015-06-23 01:00:01 UTC) #2
Vadim Sh.
Recipe modules aren't supposed to do all heavy lifting themselves, instead they just orchestrate calls ...
5 years, 6 months ago (2015-06-23 01:56:34 UTC) #3
iannucci
Yep, what Vadim said. Lots of calls in here are dangerous (or just plain broken) ...
5 years, 6 months ago (2015-06-23 02:31:12 UTC) #4
seanmccullough
On 2015/06/23 02:31:12, iannucci wrote: > Yep, what Vadim said. Lots of calls in here ...
5 years, 6 months ago (2015-06-24 17:05:28 UTC) #5
seanmccullough
On 2015/06/24 17:05:28, seanmccullough wrote: > On 2015/06/23 02:31:12, iannucci wrote: > > Yep, what ...
5 years, 6 months ago (2015-06-24 18:13:56 UTC) #6
seanmccullough
On 2015/06/24 18:13:56, seanmccullough wrote: > On 2015/06/24 17:05:28, seanmccullough wrote: > > On 2015/06/23 ...
5 years, 6 months ago (2015-06-25 02:06:32 UTC) #7
seanmccullough
On 2015/06/25 02:06:32, seanmccullough wrote: > On 2015/06/24 18:13:56, seanmccullough wrote: > > On 2015/06/24 ...
5 years, 5 months ago (2015-06-29 19:52:16 UTC) #8
Vadim Sh.
https://codereview.chromium.org/1193813004/diff/60001/scripts/slave/recipe_modules/cipd/api.py File scripts/slave/recipe_modules/cipd/api.py (right): https://codereview.chromium.org/1193813004/diff/60001/scripts/slave/recipe_modules/cipd/api.py#newcode9 scripts/slave/recipe_modules/cipd/api.py:9: NATIVE = "native" nit: remove it unless it's used ...
5 years, 5 months ago (2015-06-29 21:00:46 UTC) #9
seanmccullough
https://codereview.chromium.org/1193813004/diff/60001/scripts/slave/recipe_modules/cipd/api.py File scripts/slave/recipe_modules/cipd/api.py (right): https://codereview.chromium.org/1193813004/diff/60001/scripts/slave/recipe_modules/cipd/api.py#newcode9 scripts/slave/recipe_modules/cipd/api.py:9: NATIVE = "native" On 2015/06/29 21:00:46, Vadim Sh. wrote: ...
5 years, 5 months ago (2015-06-30 17:39:39 UTC) #10
Vadim Sh.
Do you know about build/scripts/tools/run_recipe.py? 1) Create simple "cipd/example.py" recipe. E.g. https://code.google.com/p/chromium/codesearch#chromium/build/scripts/slave/recipe_modules/zip/example.py. 2) Run it ...
5 years, 5 months ago (2015-06-30 17:58:35 UTC) #11
seanmccullough
https://codereview.chromium.org/1193813004/diff/60001/scripts/slave/recipe_modules/cipd/config.py File scripts/slave/recipe_modules/cipd/config.py (right): https://codereview.chromium.org/1193813004/diff/60001/scripts/slave/recipe_modules/cipd/config.py#newcode1 scripts/slave/recipe_modules/cipd/config.py:1: from recipe_engine.config import config_item_context On 2015/06/30 17:58:35, Vadim Sh. ...
5 years, 5 months ago (2015-06-30 19:12:03 UTC) #12
Vadim Sh.
https://codereview.chromium.org/1193813004/diff/120001/scripts/slave/recipe_modules/cipd/api.py File scripts/slave/recipe_modules/cipd/api.py (right): https://codereview.chromium.org/1193813004/diff/120001/scripts/slave/recipe_modules/cipd/api.py#newcode14 scripts/slave/recipe_modules/cipd/api.py:14: self.bin_path = self.m.path['slave_build'].join('cipd/cipd_%s' % self.CLIENT_VERSIONS[self.platform_tag()]) 80 cols limit, split ...
5 years, 5 months ago (2015-06-30 23:14:29 UTC) #13
seanmccullough
https://codereview.chromium.org/1193813004/diff/120001/scripts/slave/recipe_modules/cipd/api.py File scripts/slave/recipe_modules/cipd/api.py (right): https://codereview.chromium.org/1193813004/diff/120001/scripts/slave/recipe_modules/cipd/api.py#newcode14 scripts/slave/recipe_modules/cipd/api.py:14: self.bin_path = self.m.path['slave_build'].join('cipd/cipd_%s' % self.CLIENT_VERSIONS[self.platform_tag()]) On 2015/06/30 23:14:29, Vadim ...
5 years, 5 months ago (2015-06-30 23:48:26 UTC) #14
Vadim Sh.
https://codereview.chromium.org/1193813004/diff/120001/scripts/slave/recipe_modules/cipd/api.py File scripts/slave/recipe_modules/cipd/api.py (right): https://codereview.chromium.org/1193813004/diff/120001/scripts/slave/recipe_modules/cipd/api.py#newcode42 scripts/slave/recipe_modules/cipd/api.py:42: [self.m.path['slave_build'].join('cipd'), "ensure", On 2015/06/30 23:48:25, seanmccullough wrote: > On ...
5 years, 5 months ago (2015-07-01 00:10:57 UTC) #15
seanmccullough
https://codereview.chromium.org/1193813004/diff/140001/scripts/slave/recipe_modules/cipd/api.py File scripts/slave/recipe_modules/cipd/api.py (right): https://codereview.chromium.org/1193813004/diff/140001/scripts/slave/recipe_modules/cipd/api.py#newcode18 scripts/slave/recipe_modules/cipd/api.py:18: self.bin_path = self.m.path['slave_build'].join( On 2015/07/01 00:10:57, Vadim Sh. wrote: ...
5 years, 5 months ago (2015-07-01 00:50:20 UTC) #16
Vadim Sh.
lgtm
5 years, 5 months ago (2015-07-01 00:52:36 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1193813004/160001
5 years, 5 months ago (2015-07-01 01:07:29 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: build_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/build_presubmit/builds/466)
5 years, 5 months ago (2015-07-01 01:13:01 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1193813004/180001
5 years, 5 months ago (2015-07-01 02:37:14 UTC) #24
commit-bot: I haz the power
5 years, 5 months ago (2015-07-01 02:40:27 UTC) #25
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
http://src.chromium.org/viewvc/chrome?view=rev&revision=295890

Powered by Google App Engine
This is Rietveld 408576698