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

Issue 2092753003: Limit the number of extra/missing files that get printed. (Closed)

Created:
4 years, 6 months ago by Sébastien Marchand
Modified:
4 years, 6 months ago
Reviewers:
Nico, scottmg
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Limit the number of extra/missing files that get printed. The message now look like this: 2 files missing from the 9ff97version of the toolchain: vs2013_files\9ff97\win_sdk\Include\10.0.10240.0\ucrt\assert.h vs2013_files\9ff97\win_sdk\Include\10.0.10240.0\ucrt\complex.h 22 extra files in the 9ff97version of the toolchain: vs2013_files\9ff97\win_sdk\Include\10.0.10240.0\ucrt\assert_.h vs2013_files\9ff97\win_sdk\Include\10.0.10240.0\ucrt\complex_.h vs2013_files\9ff97\win_sdk\Source\10.0.10240.0\ucrt\string\wmemmove_s.cpp vs2013_files\9ff97\win_sdk\Source\10.0.10240.0\ucrt\time\asctime.cpp vs2013_files\9ff97\win_sdk\Source\10.0.10240.0\ucrt\time\clock.cpp vs2013_files\9ff97\win_sdk\Source\10.0.10240.0\ucrt\time\ctime.cpp vs2013_files\9ff97\win_sdk\Source\10.0.10240.0\ucrt\time\days.cpp vs2013_files\9ff97\win_sdk\Source\10.0.10240.0\ucrt\time\difftime.cpp vs2013_files\9ff97\win_sdk\Source\10.0.10240.0\ucrt\time\ftime.cpp vs2013_files\9ff97\win_sdk\Source\10.0.10240.0\ucrt\time\gmtime.cpp ... R=thakis@chromium.org Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/a0e66ea609733eddfd02098ee50eda4cc13a1775

Patch Set 1 #

Total comments: 4

Patch Set 2 : nits. #

Patch Set 3 : More Pythonic #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -6 lines) Patch
M win_toolchain/get_toolchain_if_necessary.py View 1 2 1 chunk +10 lines, -6 lines 2 comments Download

Messages

Total messages: 19 (7 generated)
Sébastien Marchand
PTAL.
4 years, 6 months ago (2016-06-23 15:50:33 UTC) #2
Nico
lgtm, thanks! nits below are very optional. https://codereview.chromium.org/2092753003/diff/1/win_toolchain/get_toolchain_if_necessary.py File win_toolchain/get_toolchain_if_necessary.py (right): https://codereview.chromium.org/2092753003/diff/1/win_toolchain/get_toolchain_if_necessary.py#newcode144 win_toolchain/get_toolchain_if_necessary.py:144: (len(missing_files), 's ...
4 years, 6 months ago (2016-06-23 15:53:45 UTC) #3
Sébastien Marchand
Thanks for the quick review ! https://codereview.chromium.org/2092753003/diff/1/win_toolchain/get_toolchain_if_necessary.py File win_toolchain/get_toolchain_if_necessary.py (right): https://codereview.chromium.org/2092753003/diff/1/win_toolchain/get_toolchain_if_necessary.py#newcode144 win_toolchain/get_toolchain_if_necessary.py:144: (len(missing_files), 's are' ...
4 years, 6 months ago (2016-06-23 15:57:51 UTC) #5
Sébastien Marchand
small update, it's probably more 'Pythonic' like this ?
4 years, 6 months ago (2016-06-23 16:02:13 UTC) #6
Nico
Yes, that's a bit nicer. (still lgtm)
4 years, 6 months ago (2016-06-23 16:04:46 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2092753003/40001
4 years, 6 months ago (2016-06-23 16:05:10 UTC) #9
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/686)
4 years, 6 months ago (2016-06-23 16:11:31 UTC) #11
Sébastien Marchand
+scottmg@ for ownership approval.
4 years, 6 months ago (2016-06-23 16:12:26 UTC) #13
scottmg
lgtm either way https://codereview.chromium.org/2092753003/diff/40001/win_toolchain/get_toolchain_if_necessary.py File win_toolchain/get_toolchain_if_necessary.py (right): https://codereview.chromium.org/2092753003/diff/40001/win_toolchain/get_toolchain_if_necessary.py#newcode142 win_toolchain/get_toolchain_if_necessary.py:142: if len(missing_files): These two duplicated blocks ...
4 years, 6 months ago (2016-06-23 16:45:24 UTC) #14
Sébastien Marchand
https://codereview.chromium.org/2092753003/diff/40001/win_toolchain/get_toolchain_if_necessary.py File win_toolchain/get_toolchain_if_necessary.py (right): https://codereview.chromium.org/2092753003/diff/40001/win_toolchain/get_toolchain_if_necessary.py#newcode142 win_toolchain/get_toolchain_if_necessary.py:142: if len(missing_files): On 2016/06/23 16:45:24, scottmg wrote: > These ...
4 years, 6 months ago (2016-06-23 17:41:45 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2092753003/40001
4 years, 6 months ago (2016-06-23 17:44:00 UTC) #17
commit-bot: I haz the power
4 years, 6 months ago (2016-06-23 17:47:19 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/tools/depot_tools/+/a0e66ea609733e...

Powered by Google App Engine
This is Rietveld 408576698