multiple branches in the same repo

Domas Monkus domas.monkus at canonical.com
Wed Aug 13 09:45:53 UTC 2014


Well, iirc 'go get' looks for a branch matching the version of go (e.g.
'go1'), but there are not additional ways of specifying branches.

Domas


On Tue, Aug 12, 2014 at 12:13 PM, Nate Finch <nate.finch at canonical.com>
wrote:

> Nope, go get always gets "master" for git branches.
> On Aug 12, 2014 4:25 AM, "roger peppe" <rogpeppe at gmail.com> wrote:
>
>> Does that mean that "go get" will fetch the default branch
>> when provided with the github path? Until
>> http://golang.org/s/go14customimport
>> happens, I'm not entirely sure that's a good idea. That's the
>> reason I didn't do it in github.com/juju/charm; I'm willing
>> to be persuaded though :-)
>>
>>   cheers,
>>     rog.
>>
>> On 11 August 2014 19:44, Nate Finch <nate.finch at canonical.com> wrote:
>> > Some of our repos have multiple branches specifically for versioning via
>> > gopkg.in... it would be nice if the "default" branch in github were the
>> > "current" version, so when you go to look at the repo online, you're
>> looking
>> > at the version that should be currently used.  That way the activity etc
>> > will correctly reflect what's going on with the repo, and not some
>> branch
>> > that is effectively abandoned.
>> >
>> > To do this, just go to the settings for the repo and set the default
>> branch
>> > in the dropdown.
>> >
>> >
>> >
>> > --
>> > Juju-dev mailing list
>> > Juju-dev at lists.ubuntu.com
>> > Modify settings or unsubscribe at:
>> > https://lists.ubuntu.com/mailman/listinfo/juju-dev
>> >
>>
>
> --
> Juju-dev mailing list
> Juju-dev at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20140813/b8af8bf5/attachment.html>


More information about the Juju-dev mailing list