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

Issue 1372303003: Make create_installer_archive.py operate silently by default. (Closed)

Created:
5 years, 2 months ago by gab
Modified:
5 years, 2 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make create_installer_archive.py operate silently by default. BUG=537215 TEST=No info logs when building mini_installer target (info logs are back if adding --verbose) Committed: https://crrev.com/2ca132b35c9f42216c24af3b19dc518a197c4194 Cr-Commit-Position: refs/heads/master@{#352367}

Patch Set 1 #

Patch Set 2 : Document optional argument in gyp/GN #

Total comments: 9

Patch Set 3 : reorder params (verbose param last) #

Patch Set 4 : fix incorrect param ordering (I hate refactoring Python!) #

Total comments: 6

Patch Set 5 : Better stdout/stderr capture #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -18 lines) Patch
M chrome/installer/mini_installer.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/installer/mini_installer.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/installer/mini_installer/BUILD.gn View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/tools/build/win/create_installer_archive.py View 1 2 3 4 10 chunks +35 lines, -18 lines 0 comments Download

Messages

Total messages: 24 (7 generated)
gab
Greg PTAL. +csharp for python readability. Thanks, Gab
5 years, 2 months ago (2015-09-29 16:30:35 UTC) #2
csharp
https://codereview.chromium.org/1372303003/diff/20001/chrome/tools/build/win/create_installer_archive.py File chrome/tools/build/win/create_installer_archive.py (right): https://codereview.chromium.org/1372303003/diff/20001/chrome/tools/build/win/create_installer_archive.py#newcode69 chrome/tools/build/win/create_installer_archive.py:69: def CompressUsingLZMA(verbose, build_dir, compressed_file, input_file): verbose should probably be ...
5 years, 2 months ago (2015-09-29 17:01:37 UTC) #3
gab
Thanks, re-ordered params, other replies below. https://codereview.chromium.org/1372303003/diff/20001/chrome/tools/build/win/create_installer_archive.py File chrome/tools/build/win/create_installer_archive.py (right): https://codereview.chromium.org/1372303003/diff/20001/chrome/tools/build/win/create_installer_archive.py#newcode69 chrome/tools/build/win/create_installer_archive.py:69: def CompressUsingLZMA(verbose, build_dir, ...
5 years, 2 months ago (2015-09-29 17:32:28 UTC) #4
csharp
LGTM if you don't want to drop **kw https://codereview.chromium.org/1372303003/diff/20001/chrome/tools/build/win/create_installer_archive.py File chrome/tools/build/win/create_installer_archive.py (right): https://codereview.chromium.org/1372303003/diff/20001/chrome/tools/build/win/create_installer_archive.py#newcode194 chrome/tools/build/win/create_installer_archive.py:194: kw['stdout'] ...
5 years, 2 months ago (2015-09-29 17:38:01 UTC) #5
gab
https://codereview.chromium.org/1372303003/diff/60001/chrome/tools/build/win/create_installer_archive.py File chrome/tools/build/win/create_installer_archive.py (right): https://codereview.chromium.org/1372303003/diff/60001/chrome/tools/build/win/create_installer_archive.py#newcode318 chrome/tools/build/win/create_installer_archive.py:318: RunSystemCommand(cmd, options.verbose, stdout=open(os.devnull, "w")) On 2015/09/29 17:38:00, csharp wrote: ...
5 years, 2 months ago (2015-09-29 17:44:02 UTC) #6
grt (UTC plus 2)
this is cool! thanks for making builds quieter. https://codereview.chromium.org/1372303003/diff/60001/chrome/tools/build/win/create_installer_archive.py File chrome/tools/build/win/create_installer_archive.py (right): https://codereview.chromium.org/1372303003/diff/60001/chrome/tools/build/win/create_installer_archive.py#newcode197 chrome/tools/build/win/create_installer_archive.py:197: raise ...
5 years, 2 months ago (2015-09-30 18:25:08 UTC) #7
gab
Think I found a much better way to do stdout/stderr capture here. grt/csharp PTAL. Thanks, ...
5 years, 2 months ago (2015-10-01 14:21:19 UTC) #9
grt (UTC plus 2)
if this does what i think it does, then this is an enthusiastic lgtm! https://codereview.chromium.org/1372303003/diff/60001/chrome/tools/build/win/create_installer_archive.py ...
5 years, 2 months ago (2015-10-01 14:31:57 UTC) #10
gab
On 2015/10/01 14:31:57, grt wrote: > if this does what i think it does, then ...
5 years, 2 months ago (2015-10-01 19:58:33 UTC) #11
csharp
lgtm
5 years, 2 months ago (2015-10-02 14:50:23 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1372303003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1372303003/100001
5 years, 2 months ago (2015-10-05 14:22:31 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/78091)
5 years, 2 months ago (2015-10-05 14:30:27 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1372303003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1372303003/100001
5 years, 2 months ago (2015-10-05 15:04:48 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/78123)
5 years, 2 months ago (2015-10-05 15:13:36 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1372303003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1372303003/100001
5 years, 2 months ago (2015-10-05 18:19:53 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:100001)
5 years, 2 months ago (2015-10-05 18:48:09 UTC) #23
commit-bot: I haz the power
5 years, 2 months ago (2015-10-05 18:49:40 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/2ca132b35c9f42216c24af3b19dc518a197c4194
Cr-Commit-Position: refs/heads/master@{#352367}

Powered by Google App Engine
This is Rietveld 408576698