Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5802)

Issue 98790043: code review 98790043: cmd/go: detect which VCS to use with Bitbucket wh...

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years ago by bhcleek
Modified:
9 years, 4 months ago
Reviewers:
rh
CC:
golang-codereviews, rh, gobot, rsc, adg
Visibility:
Public.

Description

cmd/go: detect which VCS to use with Bitbucket when the API call fails. The API call will fail when Bitbucket repositories are private. In that case, probe for the repository using vcsCmd.ping. Fixes issue 5375

Patch Set 1 #

Patch Set 2 : diff -r fa39a7dac971 https://code.google.com/p/go #

Patch Set 3 : diff -r fa39a7dac971 https://code.google.com/p/go #

Total comments: 4

Patch Set 4 : diff -r fa39a7dac971 https://code.google.com/p/go #

Total comments: 1

Patch Set 5 : diff -r fa39a7dac971 https://code.google.com/p/go #

Patch Set 6 : diff -r 177c73068314 https://code.google.com/p/go #

Patch Set 7 : diff -r 177c73068314 https://code.google.com/p/go #

Patch Set 8 : diff -r 6402b5535fa87e9d119c0e1c3a8eedd2ca56fb9d https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -5 lines) Patch
M src/cmd/go/bootstrap.go View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M src/cmd/go/http.go View 1 2 3 2 chunks +13 lines, -1 line 0 comments Download
M src/cmd/go/vcs.go View 1 2 3 4 5 6 7 1 chunk +19 lines, -4 lines 0 comments Download

Messages

Total messages: 16
bhcleek
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
10 years ago (2014-04-26 14:18:36 UTC) #1
rh
Do you also happen to have a couple sample private repositories of git, hg types ...
10 years ago (2014-04-26 18:26:07 UTC) #2
rh
Thank you! I'll make a private hg one for testing, and share the URL. (If ...
10 years ago (2014-04-26 18:40:01 UTC) #3
rh
bitbucket.org/rhencke/cantcode for hg private repo
10 years ago (2014-04-26 18:53:02 UTC) #4
bhcleek
Hello golang-codereviews@googlegroups.com, robert.hencke@gmail.com (cc: golang-codereviews@googlegroups.com), Please take another look.
10 years ago (2014-04-27 23:06:38 UTC) #5
rh
Thanks for making these changes. It's more code, but errors are much clearer now when ...
10 years ago (2014-04-28 00:24:20 UTC) #6
bhcleek
I'll put in a comment explaining the fallback to discovery when there's a 403 StatusCode. ...
10 years ago (2014-04-28 00:31:23 UTC) #7
gobot
R=rsc@golang.org (assigned by robert.hencke@gmail.com)
10 years ago (2014-04-28 00:36:31 UTC) #8
bhcleek
Hello golang-codereviews@googlegroups.com, robert.hencke@gmail.com, gobot@golang.org, rsc@golang.org (cc: golang-codereviews@googlegroups.com), Please take another look.
10 years ago (2014-04-28 00:38:45 UTC) #9
rh
On 2014/04/28 00:38:45, bhcleek wrote: > Hello mailto:golang-codereviews@googlegroups.com, mailto:robert.hencke@gmail.com, > mailto:gobot@golang.org, mailto:rsc@golang.org (cc: mailto:golang-codereviews@googlegroups.com), > ...
10 years ago (2014-04-28 00:41:26 UTC) #10
adg
Please change the CL description to begin with "cmd/go: ..."
10 years ago (2014-04-29 14:19:12 UTC) #11
bhcleek
Hello golang-codereviews@googlegroups.com, robert.hencke@gmail.com, gobot@golang.org, rsc@golang.org, adg@golang.org (cc: golang-codereviews@googlegroups.com), Please take another look.
10 years ago (2014-04-29 14:27:54 UTC) #12
adg
How'd you change it? You need to write "hg change 98790043". On 29 April 2014 ...
10 years ago (2014-04-29 14:29:05 UTC) #13
bhcleek
Sorry about that. I spelled it wrong first, realized it, and corrected it; but you ...
10 years ago (2014-04-29 14:54:11 UTC) #14
bhcleek
Hello golang-codereviews@googlegroups.com, robert.hencke@gmail.com, gobot@golang.org, rsc@golang.org, adg@golang.org (cc: golang-codereviews@googlegroups.com), Please take another look.
9 years, 7 months ago (2014-09-09 16:46:10 UTC) #15
gobot
9 years, 4 months ago (2014-12-19 05:19:39 UTC) #16
R=close

To the author of this CL:

The Go project has moved to Gerrit Code Review.

If this CL should be continued, please see the latest version of
https://golang.org/doc/contribute.html for instructions on
how to set up Git and the Go project's Gerrit codereview plugin,
and then create a new change with your current code.

If there has been discussion on this CL, please give a link to it
(golang.org/cl/98790043 is best) in the description in your
new CL.

Thanks very much.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b