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

Issue 11312116: Add gclient grep for git repos (Closed)

Created:
8 years, 1 month ago by Isaac (away)
Modified:
8 years, 1 month ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, Dirk Pranke, cmp+cc_chromium.org
Visibility:
Public.

Description

Add gclient grep for git repos - Adds a gclient grep command to search through git repos. BUG=157950 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=167007

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : Ignore dependency requirements #

Patch Set 5 : #

Total comments: 4

Patch Set 6 : Fixed ignore_requirements path, added no-progress option to CMDrecurse #

Total comments: 2

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -36 lines) Patch
M gclient.py View 1 2 3 4 5 8 chunks +81 lines, -20 lines 0 comments Download
M gclient_utils.py View 1 2 3 4 5 6 5 chunks +16 lines, -15 lines 0 comments Download
M tests/gclient_test.py View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
Isaac (away)
Continuing from https://chromiumcodereview.appspot.com/11270056/ In latest patchset I addressed comments, and also added support to print ...
8 years, 1 month ago (2012-11-07 07:14:53 UTC) #1
M-A Ruel
I just ran gclient grep TODO with your CL. It's interesting but I don't see ...
8 years, 1 month ago (2012-11-07 14:22:54 UTC) #2
Isaac (away)
I considered that and I think it's a nice enhancement. But it makes the code ...
8 years, 1 month ago (2012-11-07 19:50:19 UTC) #3
Isaac (away)
PTAL. Notes: - This does work for lines from git grep that say 'Binary file ...
8 years, 1 month ago (2012-11-07 21:32:45 UTC) #4
Isaac (away)
- sorry, typo: This does not* work for binary file matches
8 years, 1 month ago (2012-11-07 21:36:44 UTC) #5
Isaac (away)
OK, fixed the dependency requirements. Only left is that git 'binary file matches' output doesn't ...
8 years, 1 month ago (2012-11-08 02:33:10 UTC) #6
Isaac (away)
OK, fixed the dependency requirements. Only left is that git 'binary file matches' output doesn't ...
8 years, 1 month ago (2012-11-08 03:12:55 UTC) #7
M-A Ruel
https://chromiumcodereview.appspot.com/11312116/diff/8004/gclient.py File gclient.py (right): https://chromiumcodereview.appspot.com/11312116/diff/8004/gclient.py#newcode650 gclient.py:650: items = line.split('\0') if '\0' in line: ... else: ...
8 years, 1 month ago (2012-11-08 19:44:13 UTC) #8
Isaac (away)
https://chromiumcodereview.appspot.com/11312116/diff/8004/gclient.py File gclient.py (right): https://chromiumcodereview.appspot.com/11312116/diff/8004/gclient.py#newcode650 gclient.py:650: items = line.split('\0') On 2012/11/08 19:44:13, Marc-Antoine Ruel wrote: ...
8 years, 1 month ago (2012-11-09 03:58:52 UTC) #9
M-A Ruel
lgtm. Note that the new functionality doesn't have test so you'll be on the hook ...
8 years, 1 month ago (2012-11-09 23:18:09 UTC) #10
Isaac (away)
nit fixed, committing. Yes I'm aware it's not tested. We're going to try on the ...
8 years, 1 month ago (2012-11-09 23:36:53 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ilevy@chromium.org/11312116/6006
8 years, 1 month ago (2012-11-09 23:37:06 UTC) #12
commit-bot: I haz the power
Change committed as 167007
8 years, 1 month ago (2012-11-09 23:39:50 UTC) #13
M-A Ruel
8 years, 1 month ago (2012-11-09 23:44:10 UTC) #14
On 2012/11/09 23:36:53, Isaac wrote:
> Yes I'm aware it's not tested.  We're going to try on the clank team for a
while
> and then announce if it's stable

np, it's not a core functionality; it won't kill the slaves if it break so I
don't mind. For core functionality where gclient sync is involved it's a
requirement, there it's fine.

Powered by Google App Engine
This is Rietveld 408576698