how to update dependencies.tsv
Eric Snow
eric.snow at canonical.com
Thu Oct 30 14:34:10 UTC 2014
On Thu, Oct 30, 2014 at 4:40 AM, roger peppe <roger.peppe at canonical.com> wrote:
> It's a pity then that if you "go get" a package, origin is the repo
> you've branched from. There is always one of those, but you
> don't necessary have a fork of the repo yourself.
Why wouldn't you want go get to fetch from your clone by default?
Naturally master on origin should be match upstream, which may require
you to pull-upstream-push-origin. For local clones in my $GOPATH
where I'm not doing development (i.e. ones created by go get), I don't
have upstream set and origin still points to github (or wherever). So
the behavior of go get works fine for me.
As to making godeps honor the "upstream" remote, the focus for godeps
should be on what's in each official repo. The revisions in our
dependencies.tsv should be coming only from there. If it's
conventional to use "upstream" for those official remotes (it *is* our
recommended convention in {juju}/CONTRIBUTING), then it would be nice
for godeps to try it first. The alternative is that folks be more
diligent about making sure their "origin" clones are up-to-date with
upstream, which is sometimes easy to do before running godeps.
-eric
More information about the Juju-dev
mailing list