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

Issue 925753002: Add pretty printing for rappor.xml (Closed)

Created:
5 years, 10 months ago by Steven Holte
Modified:
5 years, 10 months ago
CC:
chromium-reviews, asvitkine+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 pretty printing for rappor.xml BUG=381380 Committed: https://crrev.com/3edb8729b72e1b1c77cda6d2431094079d2a8fad Cr-Commit-Position: refs/heads/master@{#316634}

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+618 lines, -167 lines) Patch
M tools/metrics/actions/extract_actions.py View 2 chunks +6 lines, -31 lines 0 comments Download
A tools/metrics/common/models.py View 1 chunk +214 lines, -0 lines 0 comments Download
A tools/metrics/common/presubmit_util.py View 1 2 3 1 chunk +79 lines, -0 lines 0 comments Download
M tools/metrics/histograms/pretty_print.py View 1 2 2 chunks +4 lines, -55 lines 0 comments Download
A + tools/metrics/rappor/OWNERS View 1 chunk +1 line, -0 lines 0 comments Download
A + tools/metrics/rappor/PRESUBMIT.py View 1 chunk +8 lines, -8 lines 0 comments Download
A tools/metrics/rappor/pretty_print.py View 1 2 3 1 chunk +167 lines, -0 lines 0 comments Download
A tools/metrics/rappor/pretty_print_test.py View 1 2 3 1 chunk +82 lines, -0 lines 0 comments Download
M tools/metrics/rappor/rappor.xml View 1 2 3 4 chunks +57 lines, -73 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
Steven Holte
5 years, 10 months ago (2015-02-13 03:08:46 UTC) #2
Alexei Svitkine (slow)
https://codereview.chromium.org/925753002/diff/20001/tools/metrics/actions/extract_actions.py File tools/metrics/actions/extract_actions.py (right): https://codereview.chromium.org/925753002/diff/20001/tools/metrics/actions/extract_actions.py#newcode844 tools/metrics/actions/extract_actions.py:844: return PrettyPrint(actions, actions_dict, comment_nodes) Should the histograms presubmits also ...
5 years, 10 months ago (2015-02-13 14:36:38 UTC) #3
Steven Holte
https://codereview.chromium.org/925753002/diff/20001/tools/metrics/actions/extract_actions.py File tools/metrics/actions/extract_actions.py (right): https://codereview.chromium.org/925753002/diff/20001/tools/metrics/actions/extract_actions.py#newcode844 tools/metrics/actions/extract_actions.py:844: return PrettyPrint(actions, actions_dict, comment_nodes) On 2015/02/13 14:36:37, Alexei Svitkine ...
5 years, 10 months ago (2015-02-14 01:11:18 UTC) #4
Alexei Svitkine (slow)
https://codereview.chromium.org/925753002/diff/40001/tools/metrics/common/presubmit_util.py File tools/metrics/common/presubmit_util.py (right): https://codereview.chromium.org/925753002/diff/40001/tools/metrics/common/presubmit_util.py#newcode1 tools/metrics/common/presubmit_util.py:1: # Copyright (c) 2015 The Chromium Authors. All rights ...
5 years, 10 months ago (2015-02-17 01:36:54 UTC) #5
Alexei Svitkine (slow)
LGTM % above comments
5 years, 10 months ago (2015-02-17 01:38:00 UTC) #6
Steven Holte
https://codereview.chromium.org/925753002/diff/40001/tools/metrics/common/presubmit_util.py File tools/metrics/common/presubmit_util.py (right): https://codereview.chromium.org/925753002/diff/40001/tools/metrics/common/presubmit_util.py#newcode1 tools/metrics/common/presubmit_util.py:1: # Copyright (c) 2015 The Chromium Authors. All rights ...
5 years, 10 months ago (2015-02-17 19:33:38 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/925753002/60001
5 years, 10 months ago (2015-02-17 19:35:25 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 10 months ago (2015-02-17 19:55:21 UTC) #11
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/3edb8729b72e1b1c77cda6d2431094079d2a8fad Cr-Commit-Position: refs/heads/master@{#316634}
5 years, 10 months ago (2015-02-17 19:55:54 UTC) #12
falken
On 2015/02/17 19:55:54, I haz the power (commit-bot) wrote: > Patchset 4 (id:??) landed as ...
5 years, 10 months ago (2015-02-18 02:08:58 UTC) #13
falken
5 years, 10 months ago (2015-02-18 02:20:41 UTC) #14
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/933103002/ by falken@chromium.org.

The reason for reverting is: This breaks extract_actions.py.

$ tools/metrics/actions/extract_actions.py
Traceback (most recent call last):
  File "tools/metrics/actions/extract_actions.py", line 852, in <module>
    sys.exit(main(sys.argv))
  File "tools/metrics/actions/extract_actions.py", line 848, in main
    presubmit_util.DoPresubmitMain(argv, 'actions.xml', 'actions.old.xml',
NameError: global name 'presubmit_util' is not defined.

Powered by Google App Engine
This is Rietveld 408576698