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

Issue 9560010: Rework gclient 'recurse' command to use a WorkQueue. (Closed)

Created:
8 years, 9 months ago by davidbarr
Modified:
8 years, 9 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, Dirk Pranke, Mike Lawther (Google)
Visibility:
Public.

Description

Rework gclient 'recurse' command to use a WorkQueue. Support --jobs in 'fetch' and 'recurse' commands. BUG=115840 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=124657

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : #

Total comments: 3

Patch Set 4 : #

Total comments: 3

Patch Set 5 : Added comment, good to go. #

Patch Set 6 : Update gclient_smoketests.py to specify sequential recurse. #

Patch Set 7 : Stop outputting the header so gclient_smoke.pfy:testRecurse might pass. #

Patch Set 8 : Style nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -27 lines) Patch
M gclient.py View 1 2 3 4 5 6 7 6 chunks +36 lines, -26 lines 0 comments Download
M tests/gclient_smoketest.py View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
davidbarr
This is a first-cut of parallelizing 'gclient recurse' in support of 'gclient fetch'. https://chromiumcodereview.appspot.com/9560010/diff/1/gclient.py File ...
8 years, 9 months ago (2012-03-01 05:33:15 UTC) #1
M-A Ruel
https://chromiumcodereview.appspot.com/9560010/diff/1/gclient.py File gclient.py (right): https://chromiumcodereview.appspot.com/9560010/diff/1/gclient.py#newcode1124 gclient.py:1124: class Entry(gclient_utils.WorkItem): I'm a tad uncomfortable with this class. ...
8 years, 9 months ago (2012-03-01 14:12:12 UTC) #2
davidbarr
This is starting to look acceptable. Fetching from my local mirror is now awesome fast: ...
8 years, 9 months ago (2012-03-02 01:23:05 UTC) #3
M-A Ruel
https://chromiumcodereview.appspot.com/9560010/diff/7001/gclient.py File gclient.py (right): https://chromiumcodereview.appspot.com/9560010/diff/7001/gclient.py#newcode1169 gclient.py:1169: pm = None Replace lines 1168-1176 with: options.nohooks = ...
8 years, 9 months ago (2012-03-02 01:40:37 UTC) #4
davidbarr
On 2012/03/02 01:40:37, Marc-Antoine Ruel wrote: > https://chromiumcodereview.appspot.com/9560010/diff/7001/gclient.py > File gclient.py (right): > > https://chromiumcodereview.appspot.com/9560010/diff/7001/gclient.py#newcode1169 ...
8 years, 9 months ago (2012-03-02 03:12:55 UTC) #5
davidbarr
CMDrecurse is exclusively option parsing and precondition checking now! https://chromiumcodereview.appspot.com/9560010/diff/9002/gclient.py File gclient.py (right): https://chromiumcodereview.appspot.com/9560010/diff/9002/gclient.py#newcode528 gclient.py:528: ...
8 years, 9 months ago (2012-03-02 03:21:55 UTC) #6
M-A Ruel
lgtm, thanks! https://chromiumcodereview.appspot.com/9560010/diff/9002/gclient.py File gclient.py (right): https://chromiumcodereview.appspot.com/9560010/diff/9002/gclient.py#newcode986 gclient.py:986: revision_overrides = self._EnforceRevisions() On 2012/03/02 03:21:55, davidbarr ...
8 years, 9 months ago (2012-03-02 14:25:30 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidbarr@chromium.org/9560010/12001
8 years, 9 months ago (2012-03-02 15:05:44 UTC) #8
commit-bot: I haz the power
Presubmit check for 9560010-12001 failed and returned exit status 1. warning: code.google.com certificate with fingerprint ...
8 years, 9 months ago (2012-03-02 15:11:52 UTC) #9
M-A Ruel
On 2012/03/02 15:11:52, I haz the power (commit-bot) wrote: > FAIL: testRecurse (__main__.GClientSmokeBoth) Eh, I ...
8 years, 9 months ago (2012-03-02 15:12:43 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidbarr@chromium.org/9560010/15001
8 years, 9 months ago (2012-03-02 15:22:27 UTC) #11
commit-bot: I haz the power
Presubmit check for 9560010-15001 failed and returned exit status 1. warning: code.google.com certificate with fingerprint ...
8 years, 9 months ago (2012-03-02 15:28:34 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidbarr@chromium.org/9560010/11004
8 years, 9 months ago (2012-03-02 15:48:20 UTC) #13
commit-bot: I haz the power
Presubmit check for 9560010-11004 failed and returned exit status 1. warning: code.google.com certificate with fingerprint ...
8 years, 9 months ago (2012-03-02 15:54:17 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidbarr@chromium.org/9560010/15003
8 years, 9 months ago (2012-03-02 15:59:59 UTC) #15
commit-bot: I haz the power
8 years, 9 months ago (2012-03-02 16:06:12 UTC) #16
Change committed as 124657

Powered by Google App Engine
This is Rietveld 408576698