|
|
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 Project:
depot_tools Visibility:
Public. |
Descriptiondrover 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 #Messages
Total messages: 33 (15 generated)
Description was changed from ========== drover win: Use --stdin to 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 ========== to ========== drover win: Use --stdin to 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 ==========
scottmg@chromium.org changed reviewers: + dpranke@chromium.org, iannucci@chromium.org
Description was changed from ========== drover win: Use --stdin to 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 ========== to ========== 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 ==========
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 File git_drover.py (right): https://chromiumcodereview.appspot.com/2067653002/diff/20001/git_drover.py#ne... git_drover.py:271: stdin=extra_files_on_stdin) I would inline extra_files_on_stdin, but that's just me. https://chromiumcodereview.appspot.com/2067653002/diff/20001/git_drover.py#ne... git_drover.py:340: popen.wait() communicate implies wait
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 inline extra_files_on_stdin, but that's just me. Done. https://codereview.chromium.org/2067653002/diff/20001/git_drover.py#newcode340 git_drover.py:340: popen.wait() On 2016/06/14 00:03:38, iannucci wrote: > communicate implies wait Done.
scottmg@chromium.org changed reviewers: + sammc@chromium.org
+sammc if you have any more ownerly comments
Thanks, LGTM
The CQ bit was checked by scottmg@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from iannucci@chromium.org Link to the patchset: https://codereview.chromium.org/2067653002/#ps40001 (title: "review fixes")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2067653002/40001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: Depot Tools Presubmit on tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Depot%20Tools%20Presubm...)
Patched up the mock tests if you could take another look.
Patchset #4 (id:60001) has been deleted
lgtm
The CQ bit was checked by scottmg@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from iannucci@chromium.org Link to the patchset: https://codereview.chromium.org/2067653002/#ps80001 (title: "fix mocky methods")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2067653002/80001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: Depot Tools Presubmit on tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Depot%20Tools%20Presubm...)
On 2016/06/15 16:46:57, commit-bot: I haz the power wrote: > Try jobs failed on following builders: > Depot Tools Presubmit on tryserver.infra (JOB_FAILED, > https://build.chromium.org/p/tryserver.infra/builders/Depot%20Tools%20Presubm...) Not sure how I might have broken that test, so, uh, I'm going to try again.
The CQ bit was checked by scottmg@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2067653002/80001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: Depot Tools Presubmit on tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Depot%20Tools%20Presubm...)
It seems presubmit tests are just broken: https://bugs.chromium.org/p/chromium/issues/detail?id=620411.
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. That yak is shaved, popping down to this one.
The CQ bit was checked by scottmg@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2067653002/80001
Message was sent while issue was closed.
Description was changed from ========== 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 ========== to ========== 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/+/0205656321a66c... ==========
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as https://chromium.googlesource.com/chromium/tools/depot_tools/+/0205656321a66c... |