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

Issue 1312483002: Add an environment variable that will cause md5_check.py to write .stamp file that is debuggable (Closed)

Created:
5 years, 4 months ago by agrieve
Modified:
5 years, 3 months ago
Reviewers:
jbudorick
CC:
chromium-reviews, jbudorick+watch_chromium.org, klundberg+watch_chromium.org, yfriedman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add an environment variable that causes md5_check.py to print what changed This does change checksum calculation a little, but the semantics are unchanged. Tested that this change has no impact on build time. BUG=523420 Committed: https://crrev.com/a3bc51686b8f1d81a4630ffae947abb53580bf65 Cr-Commit-Position: refs/heads/master@{#346943}

Patch Set 1 #

Total comments: 1

Patch Set 2 : record per-file md5s for better diffs. Always record extended info #

Patch Set 3 : don't include input_paths in hash #

Total comments: 13

Patch Set 4 : '->" #

Patch Set 5 : use colorama #

Total comments: 4

Patch Set 6 : import colorama #

Patch Set 7 : Add a period #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -9 lines) Patch
M build/android/gyp/util/md5_check.py View 1 2 3 4 5 6 4 chunks +59 lines, -9 lines 0 comments Download

Messages

Total messages: 17 (2 generated)
agrieve
5 years, 4 months ago (2015-08-21 20:28:48 UTC) #2
jbudorick
What's the motivation here? https://codereview.chromium.org/1312483002/diff/1/build/android/gyp/util/md5_check.py File build/android/gyp/util/md5_check.py (right): https://codereview.chromium.org/1312483002/diff/1/build/android/gyp/util/md5_check.py#newcode92 build/android/gyp/util/md5_check.py:92: for line in old_record: self.old_digest ...
5 years, 4 months ago (2015-08-23 02:31:01 UTC) #3
jbudorick
On 2015/08/23 at 02:31:01, jbudorick wrote: > What's the motivation here? er, I'm guessing it's ...
5 years, 4 months ago (2015-08-23 02:31:59 UTC) #4
agrieve
On 2015/08/23 02:31:59, jbudorick wrote: > On 2015/08/23 at 02:31:01, jbudorick wrote: > > What's ...
5 years, 4 months ago (2015-08-25 18:26:43 UTC) #5
jbudorick
https://codereview.chromium.org/1312483002/diff/40001/build/android/gyp/util/md5_check.py File build/android/gyp/util/md5_check.py (right): https://codereview.chromium.org/1312483002/diff/40001/build/android/gyp/util/md5_check.py#newcode12 build/android/gyp/util/md5_check.py:12: _PRINT_MD5_DIFFS = int(os.environ.get('PRINT_MD5_DIFFS', 0)) Environment variables tend to come ...
5 years, 3 months ago (2015-08-26 16:48:49 UTC) #6
agrieve
https://codereview.chromium.org/1312483002/diff/40001/build/android/gyp/util/md5_check.py File build/android/gyp/util/md5_check.py (right): https://codereview.chromium.org/1312483002/diff/40001/build/android/gyp/util/md5_check.py#newcode12 build/android/gyp/util/md5_check.py:12: _PRINT_MD5_DIFFS = int(os.environ.get('PRINT_MD5_DIFFS', 0)) On 2015/08/26 16:48:49, jbudorick wrote: ...
5 years, 3 months ago (2015-08-26 17:59:13 UTC) #7
jbudorick
https://codereview.chromium.org/1312483002/diff/40001/build/android/gyp/util/md5_check.py File build/android/gyp/util/md5_check.py (right): https://codereview.chromium.org/1312483002/diff/40001/build/android/gyp/util/md5_check.py#newcode12 build/android/gyp/util/md5_check.py:12: _PRINT_MD5_DIFFS = int(os.environ.get('PRINT_MD5_DIFFS', 0)) On 2015/08/26 at 17:59:13, agrieve ...
5 years, 3 months ago (2015-08-26 18:02:51 UTC) #8
jbudorick
https://codereview.chromium.org/1312483002/diff/40001/build/android/gyp/util/md5_check.py File build/android/gyp/util/md5_check.py (right): https://codereview.chromium.org/1312483002/diff/40001/build/android/gyp/util/md5_check.py#newcode12 build/android/gyp/util/md5_check.py:12: _PRINT_MD5_DIFFS = int(os.environ.get('PRINT_MD5_DIFFS', 0)) On 2015/08/26 at 18:02:51, jbudorick ...
5 years, 3 months ago (2015-09-01 14:59:43 UTC) #9
agrieve
https://codereview.chromium.org/1312483002/diff/40001/build/android/gyp/util/md5_check.py File build/android/gyp/util/md5_check.py (right): https://codereview.chromium.org/1312483002/diff/40001/build/android/gyp/util/md5_check.py#newcode42 build/android/gyp/util/md5_check.py:42: print '\033[93mDifference found in %s:\033[0m' % record_path On 2015/09/01 ...
5 years, 3 months ago (2015-09-01 17:32:58 UTC) #10
jbudorick
https://codereview.chromium.org/1312483002/diff/80001/build/android/gyp/util/md5_check.py File build/android/gyp/util/md5_check.py (right): https://codereview.chromium.org/1312483002/diff/80001/build/android/gyp/util/md5_check.py#newcode42 build/android/gyp/util/md5_check.py:42: import sys I would rather avoid local imports. I ...
5 years, 3 months ago (2015-09-02 01:13:50 UTC) #11
agrieve
https://codereview.chromium.org/1312483002/diff/80001/build/android/gyp/util/md5_check.py File build/android/gyp/util/md5_check.py (right): https://codereview.chromium.org/1312483002/diff/80001/build/android/gyp/util/md5_check.py#newcode42 build/android/gyp/util/md5_check.py:42: import sys On 2015/09/02 01:13:50, jbudorick wrote: > I ...
5 years, 3 months ago (2015-09-02 15:01:08 UTC) #12
jbudorick
lgtm
5 years, 3 months ago (2015-09-02 15:01:43 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1312483002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1312483002/120001
5 years, 3 months ago (2015-09-02 15:44:29 UTC) #15
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 3 months ago (2015-09-02 17:00:27 UTC) #16
commit-bot: I haz the power
5 years, 3 months ago (2015-09-02 17:01:15 UTC) #17
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/a3bc51686b8f1d81a4630ffae947abb53580bf65
Cr-Commit-Position: refs/heads/master@{#346943}

Powered by Google App Engine
This is Rietveld 408576698