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

Issue 2067653002: drover win: Use --stdin so update-index doesn't fail on long cmdline (Closed)

Created:
4 years, 6 months ago by scottmg
Modified:
4 years, 6 months ago
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

drover win: Use --stdin so update-index doesn't fail on long cmdline git update-index would fail on long command lines when setting up a resolve. Instead of passing all the files names on the command line, pass them through --stdin and a file handle. BUG=598808 Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/0205656321a66c2d2af5b71fad0caaa0f6391c27

Patch Set 1 #

Patch Set 2 : . #

Total comments: 4

Patch Set 3 : review fixes #

Patch Set 4 : fix mocky methods #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -3 lines) Patch
M git_drover.py View 1 2 2 chunks +29 lines, -2 lines 0 comments Download
M tests/git_drover_test.py View 1 2 3 3 chunks +22 lines, -1 line 0 comments Download

Messages

Total messages: 33 (15 generated)
scottmg
4 years, 6 months ago (2016-06-13 21:42:11 UTC) #4
iannucci
lgtm, though I don't really own this code (see blamelist for more ownerly-type folks). https://chromiumcodereview.appspot.com/2067653002/diff/20001/git_drover.py ...
4 years, 6 months ago (2016-06-14 00:03:38 UTC) #5
scottmg
https://codereview.chromium.org/2067653002/diff/20001/git_drover.py File git_drover.py (right): https://codereview.chromium.org/2067653002/diff/20001/git_drover.py#newcode271 git_drover.py:271: stdin=extra_files_on_stdin) On 2016/06/14 00:03:38, iannucci wrote: > I would ...
4 years, 6 months ago (2016-06-14 00:13:16 UTC) #6
scottmg
+sammc if you have any more ownerly comments
4 years, 6 months ago (2016-06-14 00:14:11 UTC) #8
Sam McNally
Thanks, LGTM
4 years, 6 months ago (2016-06-14 00:24:52 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2067653002/40001
4 years, 6 months ago (2016-06-14 01:25:05 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: Depot Tools Presubmit on tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Depot%20Tools%20Presubmit/builds/597)
4 years, 6 months ago (2016-06-14 01:32:18 UTC) #14
scottmg
Patched up the mock tests if you could take another look.
4 years, 6 months ago (2016-06-14 17:48:23 UTC) #15
Sam McNally
lgtm
4 years, 6 months ago (2016-06-15 04:43:00 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2067653002/80001
4 years, 6 months ago (2016-06-15 16:40:06 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: Depot Tools Presubmit on tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Depot%20Tools%20Presubmit/builds/609)
4 years, 6 months ago (2016-06-15 16:46:57 UTC) #22
scottmg
On 2016/06/15 16:46:57, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 6 months ago (2016-06-15 18:42:13 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2067653002/80001
4 years, 6 months ago (2016-06-15 18:42:19 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: Depot Tools Presubmit on tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Depot%20Tools%20Presubmit/builds/612)
4 years, 6 months ago (2016-06-15 18:48:54 UTC) #27
scottmg
It seems presubmit tests are just broken: https://bugs.chromium.org/p/chromium/issues/detail?id=620411.
4 years, 6 months ago (2016-06-15 20:47:01 UTC) #28
scottmg
On 2016/06/15 20:47:01, scottmg wrote: > It seems presubmit tests are just broken: > https://bugs.chromium.org/p/chromium/issues/detail?id=620411. ...
4 years, 6 months ago (2016-06-16 00:17:35 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2067653002/80001
4 years, 6 months ago (2016-06-16 00:17:50 UTC) #31
commit-bot: I haz the power
4 years, 6 months ago (2016-06-16 00:21:09 UTC) #33
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://chromium.googlesource.com/chromium/tools/depot_tools/+/0205656321a66c...

Powered by Google App Engine
This is Rietveld 408576698