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

Issue 2129733002: Add get_issue_number function to webkitpy/common/checkout/scm/git.py (Closed)

Created:
4 years, 5 months ago by dcampb
Modified:
4 years, 5 months ago
CC:
blink-reviews, cbentzel+watch_chromium.org, chromium-reviews, raikiri
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add get_issue_number function to webkitpy/common/checkout/scm/git.py This CL adds a "git cl issue" function that returns the issue number if one is associated with a branch and "None" otherwise. Also adds unit test located in webkitpy/common/checkout/scm/scm_unittest.py BUG=625254 Committed: https://crrev.com/56797ef5d98f8aaebe5c534ad760b4ad9befb194 Cr-Commit-Position: refs/heads/master@{#404065}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Adds function to git.py and adds unittest to scm_unittest.py #

Patch Set 3 : semantic error fix #

Patch Set 4 : adds another testcase for test_get_issue_number in scm_unittest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -1 line) Patch
M third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git.py View 1 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/scm_unittest.py View 1 2 3 2 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 26 (11 generated)
dcampb
4 years, 5 months ago (2016-07-06 19:38:39 UTC) #3
Dirk Pranke
https://codereview.chromium.org/2129733002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/net/rietveld.py File third_party/WebKit/Tools/Scripts/webkitpy/common/net/rietveld.py (right): https://codereview.chromium.org/2129733002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/net/rietveld.py#newcode78 third_party/WebKit/Tools/Scripts/webkitpy/common/net/rietveld.py:78: else: I would enforce that the issue_number is legit ...
4 years, 5 months ago (2016-07-06 21:22:38 UTC) #7
qyearsley
Additional comments about the CL description: 1. The verb in the CL title is usually ...
4 years, 5 months ago (2016-07-06 21:38:56 UTC) #8
dcampb
On 2016/07/06 at 21:22:38, dpranke wrote: > https://codereview.chromium.org/2129733002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/net/rietveld.py > File third_party/WebKit/Tools/Scripts/webkitpy/common/net/rietveld.py (right): > > https://codereview.chromium.org/2129733002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/net/rietveld.py#newcode78 ...
4 years, 5 months ago (2016-07-06 21:42:06 UTC) #9
Dirk Pranke
On 2016/07/06 21:42:06, dcampb wrote: > On 2016/07/06 at 21:22:38, dpranke wrote: > > > ...
4 years, 5 months ago (2016-07-06 21:53:01 UTC) #11
qyearsley
On 2016/07/06 21:42:06, dcampb wrote: > On 2016/07/06 at 21:22:38, dpranke wrote: > > > ...
4 years, 5 months ago (2016-07-06 21:59:23 UTC) #12
dcampb
https://codereview.chromium.org/2129733002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/net/rietveld.py File third_party/WebKit/Tools/Scripts/webkitpy/common/net/rietveld.py (right): https://codereview.chromium.org/2129733002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/net/rietveld.py#newcode94 third_party/WebKit/Tools/Scripts/webkitpy/common/net/rietveld.py:94: def get_cl_issue_number(): On 2016/07/06 at 21:38:56, qyearsley wrote: > ...
4 years, 5 months ago (2016-07-06 22:13:07 UTC) #13
Dirk Pranke
https://codereview.chromium.org/2129733002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/net/rietveld.py File third_party/WebKit/Tools/Scripts/webkitpy/common/net/rietveld.py (right): https://codereview.chromium.org/2129733002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/net/rietveld.py#newcode94 third_party/WebKit/Tools/Scripts/webkitpy/common/net/rietveld.py:94: def get_cl_issue_number(): On 2016/07/06 22:13:06, dcampb wrote: > per ...
4 years, 5 months ago (2016-07-06 22:33:29 UTC) #14
dcampb
4 years, 5 months ago (2016-07-06 23:12:59 UTC) #15
dcampb
4 years, 5 months ago (2016-07-06 23:31:10 UTC) #17
Dirk Pranke
lgtm. Bonus points for adding the test anyway ;).
4 years, 5 months ago (2016-07-07 01:10:34 UTC) #19
qyearsley
On 2016/07/07 at 01:10:34, dpranke wrote: > lgtm. Bonus points for adding the test anyway ...
4 years, 5 months ago (2016-07-07 01:18:26 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2129733002/60001
4 years, 5 months ago (2016-07-07 02:28:43 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-07 03:45:29 UTC) #24
commit-bot: I haz the power
4 years, 5 months ago (2016-07-07 03:47:45 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/56797ef5d98f8aaebe5c534ad760b4ad9befb194
Cr-Commit-Position: refs/heads/master@{#404065}

Powered by Google App Engine
This is Rietveld 408576698