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

Issue 233333003: Make it possible to refer to github-style URLs. (Closed)

Created:
6 years, 8 months ago by Sheridan Rawlins
Modified:
6 years, 8 months ago
Reviewers:
bradnelson, bradn
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, M-A Ruel, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org, sriramg_yahoo-inc.com
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Visibility:
Public.

Description

Make it possible to refer to github-style URLs. BUG=362248 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=263252

Patch Set 1 #

Total comments: 8

Patch Set 2 : Handle any user for scp-like URLs #

Total comments: 6

Patch Set 3 : Fixing splitting and added unit test to prove it. #

Total comments: 3

Patch Set 4 : Added another test for the LateOverride to work correctly with scp-style urls. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -2 lines) Patch
M gclient.py View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M gclient_utils.py View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M tests/gclient_test.py View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M tests/gclient_utils_test.py View 1 2 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Sheridan Rawlins
6 years, 8 months ago (2014-04-10 20:36:08 UTC) #1
bradn
https://codereview.chromium.org/233333003/diff/1/gclient.py File gclient.py (right): https://codereview.chromium.org/233333003/diff/1/gclient.py#newcode403 gclient.py:403: if url.startswith('git@'): Move this down to where url is ...
6 years, 8 months ago (2014-04-10 22:19:27 UTC) #2
Sheridan Rawlins
https://codereview.chromium.org/233333003/diff/1/gclient.py File gclient.py (right): https://codereview.chromium.org/233333003/diff/1/gclient.py#newcode403 gclient.py:403: if url.startswith('git@'): Ah, too true - https://www.kernel.org/pub/software/scm/git/docs/git-clone.html#_git_urls_a_id_urls_a describes it ...
6 years, 8 months ago (2014-04-11 01:05:45 UTC) #3
bradn
https://codereview.chromium.org/233333003/diff/20001/gclient.py File gclient.py (right): https://codereview.chromium.org/233333003/diff/20001/gclient.py#newcode438 gclient.py:438: if not parsed_url[0] and not re.match(r'^\w+\@[\w\.-]+\:[\w\/]+', parsed_url[2]): >80 split ...
6 years, 8 months ago (2014-04-11 01:49:41 UTC) #4
Sheridan Rawlins
https://codereview.chromium.org/233333003/diff/20001/gclient.py File gclient.py (right): https://codereview.chromium.org/233333003/diff/20001/gclient.py#newcode438 gclient.py:438: if not parsed_url[0] and not re.match(r'^\w+\@[\w\.-]+\:[\w\/]+', parsed_url[2]): On 2014/04/11 ...
6 years, 8 months ago (2014-04-11 04:15:16 UTC) #5
bradn
lgtm https://codereview.chromium.org/233333003/diff/40001/gclient_utils.py File gclient_utils.py (right): https://codereview.chromium.org/233333003/diff/40001/gclient_utils.py#newcode80 gclient_utils.py:80: components = [url] ah, even better! https://codereview.chromium.org/233333003/diff/40001/tests/gclient_utils_test.py File ...
6 years, 8 months ago (2014-04-11 04:48:48 UTC) #6
Sheridan Rawlins
The CQ bit was checked by scr@chromium.org
6 years, 8 months ago (2014-04-11 15:49:02 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scr@chromium.org/233333003/60001
6 years, 8 months ago (2014-04-11 15:49:08 UTC) #8
Sheridan Rawlins
https://codereview.chromium.org/233333003/diff/40001/tests/gclient_utils_test.py File tests/gclient_utils_test.py (right): https://codereview.chromium.org/233333003/diff/40001/tests/gclient_utils_test.py#newcode127 tests/gclient_utils_test.py:127: url = "git@github.com:dart-lang/spark.git" On 2014/04/11 04:48:48, bradn wrote: > ...
6 years, 8 months ago (2014-04-11 15:49:17 UTC) #9
commit-bot: I haz the power
6 years, 8 months ago (2014-04-11 15:51:35 UTC) #10
Message was sent while issue was closed.
Change committed as 263252

Powered by Google App Engine
This is Rietveld 408576698