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

Issue 276663002: Script to populate the XML for the CSS property UseCounter. (Closed)

Created:
6 years, 7 months ago by Mike Lawther (Google)
Modified:
6 years, 7 months ago
CC:
chromium-reviews, Ilya Sherman, jar (doing other things), asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@update-css-histogram
Visibility:
Public.

Description

Script to populate the XML for the CSS property UseCounter. Also includes an updated histograms.xml after running the script. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272474

Patch Set 1 #

Total comments: 19

Patch Set 2 : fixed whitespace issues #

Total comments: 28

Patch Set 3 : review fixes #

Patch Set 4 : review nit fixes #

Patch Set 5 : comment typo fix #

Patch Set 6 : rebased #

Patch Set 7 : made update_use_counter_css.py executable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -50 lines) Patch
M tools/metrics/histograms/histograms.xml View 8 chunks +52 lines, -34 lines 0 comments Download
M tools/metrics/histograms/update_histogram_enum.py View 1 2 2 chunks +20 lines, -8 lines 0 comments Download
A tools/metrics/histograms/update_use_counter_css.py View 1 2 3 4 5 6 1 chunk +71 lines, -0 lines 0 comments Download
M tools/metrics/histograms/update_use_counter_feature_enum.py View 1 2 3 4 5 2 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Mike Lawther (Google)
I manually checked all the diffs that the script generated in histograms.xml. They're all legit ...
6 years, 7 months ago (2014-05-08 07:28:06 UTC) #1
Mike Lawther (Google)
https://codereview.chromium.org/276663002/diff/1/tools/metrics/histograms/update_use_counter_css.py File tools/metrics/histograms/update_use_counter_css.py (right): https://codereview.chromium.org/276663002/diff/1/tools/metrics/histograms/update_use_counter_css.py#newcode26 tools/metrics/histograms/update_use_counter_css.py:26: def print_enum_for_dashboard(enum_dict): I wasn't sure where to factor this ...
6 years, 7 months ago (2014-05-08 07:29:50 UTC) #2
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/276663002/diff/1/tools/metrics/histograms/update_histogram_enum.py File tools/metrics/histograms/update_histogram_enum.py (right): https://codereview.chromium.org/276663002/diff/1/tools/metrics/histograms/update_histogram_enum.py#newcode183 tools/metrics/histograms/update_histogram_enum.py:183: source_enum_path) 4 space indent plz http://google-styleguide.googlecode.com/svn/trunk/pyguide.html?showone=Indentation#Indentation and http://www.chromium.org/chromium-os/python-style-guidelines https://codereview.chromium.org/276663002/diff/1/tools/metrics/histograms/update_use_counter_css.py ...
6 years, 7 months ago (2014-05-08 08:06:52 UTC) #3
Mike Lawther (Google)
Thanks for the review! https://codereview.chromium.org/276663002/diff/1/tools/metrics/histograms/update_histogram_enum.py File tools/metrics/histograms/update_histogram_enum.py (right): https://codereview.chromium.org/276663002/diff/1/tools/metrics/histograms/update_histogram_enum.py#newcode183 tools/metrics/histograms/update_histogram_enum.py:183: source_enum_path) On 2014/05/08 08:06:53, tyoshino ...
6 years, 7 months ago (2014-05-09 01:11:03 UTC) #4
Ilya Sherman
Hi, apologies for being slow to respond. I haven't had a chance to review this ...
6 years, 7 months ago (2014-05-09 23:56:25 UTC) #5
Ilya Sherman
Thanks for the script! Looks pretty good -- I just have a bunch of little ...
6 years, 7 months ago (2014-05-13 03:11:33 UTC) #6
Mike Lawther (Google)
Thanks for the review! Apologies for my own delay, I was traveling to/from BlinkOn last ...
6 years, 7 months ago (2014-05-20 07:45:02 UTC) #7
Ilya Sherman
https://codereview.chromium.org/276663002/diff/20001/tools/metrics/histograms/update_use_counter_css.py File tools/metrics/histograms/update_use_counter_css.py (right): https://codereview.chromium.org/276663002/diff/20001/tools/metrics/histograms/update_use_counter_css.py#newcode29 tools/metrics/histograms/update_use_counter_css.py:29: return re.sub(r'([a-zA-Z])([A-Z])', r'\1-\2', enum_name).lower() On 2014/05/20 07:45:03, Mike Lawther ...
6 years, 7 months ago (2014-05-20 14:13:16 UTC) #8
Mike Lawther (Google)
https://codereview.chromium.org/276663002/diff/20001/tools/metrics/histograms/update_use_counter_css.py File tools/metrics/histograms/update_use_counter_css.py (right): https://codereview.chromium.org/276663002/diff/20001/tools/metrics/histograms/update_use_counter_css.py#newcode29 tools/metrics/histograms/update_use_counter_css.py:29: return re.sub(r'([a-zA-Z])([A-Z])', r'\1-\2', enum_name).lower() On 2014/05/20 14:13:17, Ilya Sherman ...
6 years, 7 months ago (2014-05-21 07:30:41 UTC) #9
Ilya Sherman
LGTM, thanks!
6 years, 7 months ago (2014-05-21 08:28:01 UTC) #10
Mike Lawther (Google)
The CQ bit was checked by mikelawther@chromium.org
6 years, 7 months ago (2014-05-21 23:13:00 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikelawther@chromium.org/276663002/80001
6 years, 7 months ago (2014-05-21 23:14:49 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-22 05:21:02 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-22 05:26:18 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/6516) android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/builds/144838) linux_chromium_clang_dbg ...
6 years, 7 months ago (2014-05-22 05:26:19 UTC) #15
tyoshino (SeeGerritForStatus)
lgtm
6 years, 7 months ago (2014-05-22 06:45:35 UTC) #16
Mike Lawther (Google)
The CQ bit was checked by mikelawther@chromium.org
6 years, 7 months ago (2014-05-22 23:52:40 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikelawther@chromium.org/276663002/100001
6 years, 7 months ago (2014-05-22 23:55:10 UTC) #18
Mike Lawther (Google)
The CQ bit was checked by mikelawther@chromium.org
6 years, 7 months ago (2014-05-23 02:01:32 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikelawther@chromium.org/276663002/120001
6 years, 7 months ago (2014-05-23 02:03:12 UTC) #20
commit-bot: I haz the power
6 years, 7 months ago (2014-05-23 10:49:33 UTC) #21
Message was sent while issue was closed.
Change committed as 272474

Powered by Google App Engine
This is Rietveld 408576698