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

Issue 841323002: Revert of Add PRESUBMIT check if modified UMA histogram name can be found (Closed)

Created:
5 years, 11 months ago by Alexei Svitkine (slow)
Modified:
5 years, 11 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

Revert of Add PRESUBMIT check if modified UMA histogram name can be found (patchset #2 id:40001 of https://codereview.chromium.org/766713004/) Reason for revert: Produces false positive warnings on histograms using histogram_suffixes, see: https://code.google.com/p/chromium/issues/detail?id=445265 Original issue's description: > Add PRESUBMIT check if modified UMA histogram name can be found > > This Presubmit checks if some diffs affect any UMA_HISTOGRAM_* > macro and, if so, checks if the histogram name is to be found > in either tools/metrics/histograms/histograms.xml or in the > CL diffs. > > Addresses the problem of someone modifying code and > inadvertently forgetting a corresponding histograms.xml > adaptation, that has happened in the past. > > BUG=434420 > > Committed: https://crrev.com/2ece5270462346b1ac3bccd3bfe5e68d024b98b5 > Cr-Commit-Position: refs/heads/master@{#306388} TBR=phajdan.jr@chromium.org,mcasas@chromium.org NOTREECHECKS=true NOTRY=true BUG=434420, 445265 Committed: https://crrev.com/e56a58d717f0ee53671d80518c9bcf70824a4d63 Cr-Commit-Position: refs/heads/master@{#310863}

Patch Set 1 #

Patch Set 2 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -70 lines) Patch
M PRESUBMIT.py View 1 2 chunks +0 lines, -48 lines 0 comments Download
M PRESUBMIT_test.py View 1 1 chunk +0 lines, -22 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Alexei Svitkine (slow)
Created Revert of Add PRESUBMIT check if modified UMA histogram name can be found
5 years, 11 months ago (2015-01-09 15:39:21 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/841323002/1
5 years, 11 months ago (2015-01-09 15:40:16 UTC) #2
commit-bot: I haz the power
Failed to apply patch for PRESUBMIT.py: While running git apply --index -3 -p1; error: patch ...
5 years, 11 months ago (2015-01-09 15:41:08 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/841323002/70001
5 years, 11 months ago (2015-01-09 21:42:57 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:70001)
5 years, 11 months ago (2015-01-09 21:44:21 UTC) #8
commit-bot: I haz the power
5 years, 11 months ago (2015-01-09 21:45:55 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e56a58d717f0ee53671d80518c9bcf70824a4d63
Cr-Commit-Position: refs/heads/master@{#310863}

Powered by Google App Engine
This is Rietveld 408576698