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

Issue 3010153002: PRESUBMIT: Enforce tracker prefix for all BUG entries (Closed)

Created:
3 years, 3 months ago by charujain1
Modified:
3 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, qiang.lu, niklas.enbom, yujie_mao (webrtc), peah-webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

PRESUBMIT: Enforce tracker prefix for all BUG entries Changed function definition from private to public. This was needed to test the function and to maintain the consistency. BUG=webrtc:8197 NOTRY=True R=kjellander@webrtc.org Review-Url: https://codereview.webrtc.org/3010153002 . Cr-Commit-Position: refs/heads/master@{#19831} Committed: https://webrtc.googlesource.com/src/+/9893e253f95b2583ae5af3126c68ab52830b7a00

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added test file. #

Patch Set 3 : review comments #

Patch Set 4 : Lint errors #

Total comments: 6

Patch Set 5 : Review comments #

Patch Set 6 : Added in test directory #

Total comments: 2

Patch Set 7 : Corrected test case #

Total comments: 1

Patch Set 8 : Corrected function name #

Patch Set 9 : fixed lint warnings #

Patch Set 10 : Renames file #

Patch Set 11 : Made private function public. #

Patch Set 12 : gclient sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+156 lines, -40 lines) Patch
M PRESUBMIT.py View 1 2 3 4 5 6 7 8 9 10 11 22 chunks +67 lines, -40 lines 0 comments Download
A presubmit_test.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +39 lines, -0 lines 0 comments Download
A presubmit_test_mocks.py View 1 2 3 4 5 6 7 8 1 chunk +50 lines, -0 lines 0 comments Download

Messages

Total messages: 46 (21 generated)
charujain
I don't see test file for presubmit. Should we add one for this particular case?
3 years, 3 months ago (2017-09-05 11:11:14 UTC) #3
ehmaldonado_webrtc
On 2017/09/05 11:11:14, charujain wrote: > I don't see test file for presubmit. Should we ...
3 years, 3 months ago (2017-09-05 11:42:44 UTC) #4
ehmaldonado_webrtc
https://codereview.webrtc.org/3010153002/diff/1/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.webrtc.org/3010153002/diff/1/PRESUBMIT.py#newcode434 PRESUBMIT.py:434: if 'none'.startswith(bug.lower()): Why not bug.lower() == 'none'?
3 years, 3 months ago (2017-09-05 11:43:04 UTC) #6
kjellander_webrtc
Good template for test: https://cs.chromium.org/chromium/src/PRESUBMIT_test.py https://codereview.webrtc.org/3010153002/diff/1/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.webrtc.org/3010153002/diff/1/PRESUBMIT.py#newcode434 PRESUBMIT.py:434: if 'none'.startswith(bug.lower()): On 2017/09/05 ...
3 years, 3 months ago (2017-09-05 14:37:53 UTC) #7
charujain
On 2017/09/05 14:37:53, kjellander_webrtc wrote: > Good template for test: https://cs.chromium.org/chromium/src/PRESUBMIT_test.py > > https://codereview.webrtc.org/3010153002/diff/1/PRESUBMIT.py > ...
3 years, 3 months ago (2017-09-06 17:54:52 UTC) #8
kjellander_webrtc
Nice with proper tests. Can you please ensure it's also running? See comment https://codereview.webrtc.org/3010153002/diff/60001/PRESUBMIT.py File ...
3 years, 3 months ago (2017-09-06 18:42:09 UTC) #9
ehmaldonado_webrtc
https://codereview.webrtc.org/3010153002/diff/60001/PRESUBMIT_test.py File PRESUBMIT_test.py (right): https://codereview.webrtc.org/3010153002/diff/60001/PRESUBMIT_test.py#newcode8 PRESUBMIT_test.py:8: def testCommitMessageBugEntryWithNoError(self): Check that BUG=None works https://codereview.webrtc.org/3010153002/diff/60001/PRESUBMIT_test_mocks.py File PRESUBMIT_test_mocks.py ...
3 years, 3 months ago (2017-09-06 18:50:55 UTC) #10
charujain1
On 2017/09/06 18:50:55, ehmaldonado_webrtc wrote: > https://codereview.webrtc.org/3010153002/diff/60001/PRESUBMIT_test.py > File PRESUBMIT_test.py (right): > > https://codereview.webrtc.org/3010153002/diff/60001/PRESUBMIT_test.py#newcode8 > ...
3 years, 3 months ago (2017-09-07 08:03:47 UTC) #11
charujain1
On 2017/09/07 08:03:47, charujain1 wrote: > On 2017/09/06 18:50:55, ehmaldonado_webrtc wrote: > > https://codereview.webrtc.org/3010153002/diff/60001/PRESUBMIT_test.py > ...
3 years, 3 months ago (2017-09-07 08:16:18 UTC) #12
kjellander_webrtc
On 2017/09/07 08:16:18, charujain1 wrote: > On 2017/09/07 08:03:47, charujain1 wrote: > > On 2017/09/06 ...
3 years, 3 months ago (2017-09-07 08:24:57 UTC) #13
kjellander_webrtc
I added NOTRY=True for you as well, since only the presubmit trybot makes sense for ...
3 years, 3 months ago (2017-09-07 08:28:15 UTC) #15
charujain
On 2017/09/07 08:24:57, kjellander_webrtc wrote: > On 2017/09/07 08:16:18, charujain1 wrote: > > On 2017/09/07 ...
3 years, 3 months ago (2017-09-08 09:56:47 UTC) #16
charujain
https://codereview.webrtc.org/3010153002/diff/100001/PRESUBMIT_test.py File PRESUBMIT_test.py (right): https://codereview.webrtc.org/3010153002/diff/100001/PRESUBMIT_test.py#newcode34 PRESUBMIT_test.py:34: self.assertEqual(1, len(errors)) On 2017/09/07 08:28:15, kjellander_webrtc wrote: > This ...
3 years, 3 months ago (2017-09-08 09:57:05 UTC) #17
kjellander_webrtc
The code was handling it well, yes. Just rename the test method now as it's ...
3 years, 3 months ago (2017-09-08 13:07:32 UTC) #18
charujain
On 2017/09/08 13:07:32, kjellander_webrtc wrote: > The code was handling it well, yes. Just rename ...
3 years, 3 months ago (2017-09-11 13:07:19 UTC) #19
kjellander_webrtc
lgtm
3 years, 3 months ago (2017-09-11 19:00:40 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/3010153002/140001
3 years, 3 months ago (2017-09-12 13:28:53 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/21499)
3 years, 3 months ago (2017-09-12 13:33:43 UTC) #24
charujain1
Patrik, The presubmit check fails with following error: "W: 12,13: Access to a protected member ...
3 years, 3 months ago (2017-09-13 08:24:20 UTC) #26
charujain
On 2017/09/13 08:24:20, charujain1 wrote: > Patrik, The presubmit check fails with following error: "W: ...
3 years, 3 months ago (2017-09-14 08:39:31 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/3010153002/200001
3 years, 3 months ago (2017-09-14 09:06:52 UTC) #31
commit-bot: I haz the power
Failed to commit the patch.
3 years, 3 months ago (2017-09-14 09:10:09 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/3010153002/220001
3 years, 3 months ago (2017-09-14 09:14:22 UTC) #39
commit-bot: I haz the power
Failed to commit the patch.
3 years, 3 months ago (2017-09-14 09:18:07 UTC) #44
charujain
3 years, 3 months ago (2017-09-14 11:33:28 UTC) #46
Message was sent while issue was closed.
Committed patchset #12 (id:220001) manually as
9893e253f95b2583ae5af3126c68ab52830b7a00.

Powered by Google App Engine
This is Rietveld 408576698