<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Oct 30, 2014 at 10:34 PM, Eric Snow <span dir="ltr"><<a href="mailto:eric.snow@canonical.com" target="_blank">eric.snow@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Oct 30, 2014 at 4:40 AM, roger peppe <<a href="mailto:roger.peppe@canonical.com">roger.peppe@canonical.com</a>> wrote:<br>
> It's a pity then that if you "go get" a package, origin is the repo<br>
> you've branched from. There is always one of those, but you<br>
> don't necessary have a fork of the repo yourself.<br>
<br>
</span>Why wouldn't you want go get to fetch from your clone by default?<br>
Naturally master on origin should be match upstream, which may require<br>
you to pull-upstream-push-origin.</blockquote><div><br></div><div>Why naturally? I don't use "master" in my fork of juju, I just use feature/bug branches.</div><div>The "master" branch in my repo tracks upstream/master.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For local clones in my $GOPATH<br>
where I'm not doing development (i.e. ones created by go get), I don't<br>
have upstream set and origin still points to github (or wherever).  So<br>
the behavior of go get works fine for me.<br>
<br>
As to making godeps honor the "upstream" remote, the focus for godeps<br>
should be on what's in each official repo.  The revisions in our<br>
dependencies.tsv should be coming only from there.  If it's<br>
conventional to use "upstream" for those official remotes (it *is* our<br>
recommended convention in {juju}/CONTRIBUTING), then it would be nice<br>
for godeps to try it first.  The alternative is that folks be more<br>
diligent about making sure their "origin" clones are up-to-date with<br>
upstream, which is sometimes easy to do before running godeps.<br>
<span class="HOEnZb"><font color="#888888"><br>
-eric<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
--<br>
Juju-dev mailing list<br>
<a href="mailto:Juju-dev@lists.ubuntu.com">Juju-dev@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju-dev" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju-dev</a><br>
</div></div></blockquote></div><br></div></div>