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

Issue 892743002: cc: Simplify the presubmit regex used to identify paths and files. (Closed)

Created:
5 years, 10 months ago by tfarina
Modified:
5 years, 10 months ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org, enne (OOO), M-A Ruel, tapted
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Simplify the presubmit regex used to identify paths and files. This [\\/] should account for both Windows \ and Posix /. BUG=None TEST=git cl presubmit -uv R=danakj@chromium.org Committed: https://crrev.com/26ef0f02d693f5106e4ef17748e61e8f68fb05a2 Cr-Commit-Position: refs/heads/master@{#314145}

Patch Set 1 #

Total comments: 2

Patch Set 2 : add missing comma #

Total comments: 2

Patch Set 3 : \/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M cc/PRESUBMIT.py View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (1 generated)
tfarina
When I tried this: Running presubmit upload checks ... Running /home/tfarina/chromium/src/PRESUBMIT.py Running /home/tfarina/chromium/src/cc/PRESUBMIT.py Ignoring /home/tfarina/chromium/src/cc/PRESUBMIT.py; ...
5 years, 10 months ago (2015-01-31 00:24:55 UTC) #1
danakj
https://codereview.chromium.org/892743002/diff/1/cc/PRESUBMIT.py File cc/PRESUBMIT.py (right): https://codereview.chromium.org/892743002/diff/1/cc/PRESUBMIT.py#newcode14 cc/PRESUBMIT.py:14: CC_SOURCE_FILES=(r'^cc[\\\/].*\.(cc|h)$') On 2015/01/31 00:24:55, tfarina wrote: > Not sure ...
5 years, 10 months ago (2015-01-31 00:45:35 UTC) #2
tfarina
https://codereview.chromium.org/892743002/diff/20001/cc/PRESUBMIT.py File cc/PRESUBMIT.py (right): https://codereview.chromium.org/892743002/diff/20001/cc/PRESUBMIT.py#newcode14 cc/PRESUBMIT.py:14: CC_SOURCE_FILES=(r'^cc[\\\/].*\.(cc|h)$',) CRAZY! Adding the comma at the end made ...
5 years, 10 months ago (2015-01-31 00:55:11 UTC) #3
danakj
https://codereview.chromium.org/892743002/diff/20001/cc/PRESUBMIT.py File cc/PRESUBMIT.py (right): https://codereview.chromium.org/892743002/diff/20001/cc/PRESUBMIT.py#newcode14 cc/PRESUBMIT.py:14: CC_SOURCE_FILES=(r'^cc[\\\/].*\.(cc|h)$',) On 2015/01/31 00:55:10, tfarina wrote: > CRAZY! Adding ...
5 years, 10 months ago (2015-01-31 00:58:23 UTC) #4
tfarina
On 2015/01/31 00:58:23, danakj wrote: > https://codereview.chromium.org/892743002/diff/20001/cc/PRESUBMIT.py > File cc/PRESUBMIT.py (right): > > https://codereview.chromium.org/892743002/diff/20001/cc/PRESUBMIT.py#newcode14 > ...
5 years, 10 months ago (2015-01-31 01:17:06 UTC) #5
danakj
But / matches a /. You only do \\ instead of \ because \ is ...
5 years, 10 months ago (2015-01-31 01:19:58 UTC) #6
jbauman
On 2015/01/31 01:19:58, danakj wrote: > But / matches a /. You only do \\ ...
5 years, 10 months ago (2015-01-31 01:28:59 UTC) #7
tfarina
On 2015/01/31 01:28:59, jbauman wrote: > On 2015/01/31 01:19:58, danakj wrote: > > But / ...
5 years, 10 months ago (2015-01-31 01:31:26 UTC) #8
danakj
LGTM
5 years, 10 months ago (2015-01-31 01:32:28 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/892743002/40001
5 years, 10 months ago (2015-02-02 13:37:07 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-02 14:50:55 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-02-02 14:52:05 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/26ef0f02d693f5106e4ef17748e61e8f68fb05a2
Cr-Commit-Position: refs/heads/master@{#314145}

Powered by Google App Engine
This is Rietveld 408576698