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

Issue 1374373007: Make checkperms.py --bare also return failure reason (Closed)

Created:
5 years, 2 months ago by Daniel Imms
Modified:
5 years, 2 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

Make checkperms.py --bare also return failure reason In https://codereview.chromium.org/318863006 checkperms.py was made to only report a list of files failing checkperms. This seems to have been added only for presubmit according to the comment "--file implies --bare (for PRESUBMIT.py)." This change makes the --bare parameter only suppress the TESTING header instead of the failure reasons as well in an effort to make presubmit errors more understandable to the Chromium developer community. R=phajdan.jr@chromium.org, thestig@chromium.org BUG=423697

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -4 lines) Patch
M tools/checkperms/checkperms.py View 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
Daniel Imms
PTAL, let me know if the using --bare to return more than just the file ...
5 years, 2 months ago (2015-10-02 20:39:46 UTC) #2
Lei Zhang
I'll actually defer to Pawel, but will check back on Monday in case Pawel kicks ...
5 years, 2 months ago (2015-10-02 20:54:56 UTC) #3
Paweł Hajdan Jr.
Why not change the presubmit check instead (_CheckFilePermissions) not to use --file, and instead use ...
5 years, 2 months ago (2015-10-05 13:46:15 UTC) #4
Daniel Imms
On 2015/10/05 at 13:46:15, phajdan.jr wrote: > Why not change the presubmit check instead (_CheckFilePermissions) ...
5 years, 2 months ago (2015-10-05 16:57:15 UTC) #5
Paweł Hajdan Jr.
On 2015/10/05 at 16:57:15, daniimms wrote: > On 2015/10/05 at 13:46:15, phajdan.jr wrote: > > ...
5 years, 2 months ago (2015-10-06 15:09:51 UTC) #6
Daniel Imms
On 2015/10/06 at 15:09:51, phajdan.jr wrote: > On 2015/10/05 at 16:57:15, daniimms wrote: > > ...
5 years, 2 months ago (2015-10-06 17:50:27 UTC) #7
Paweł Hajdan Jr.
5 years, 2 months ago (2015-10-07 12:55:52 UTC) #8

Powered by Google App Engine
This is Rietveld 408576698