[pkg-go] gbp: how to import upstream tarball without tag?

Alexandre Viau alexandre at alexandreviau.net
Wed Sep 2 15:00:16 UTC 2015


Just like Martin, my prefered setup is to follow upstream on a
separate branch and tag it.

This is currently not how dh-make-golang works. So you are not able to
pull form upstream/master on the upstream branch generated by
dh-make-golang.

In some cases, you can just download the tarball from github:

> wget -O ../golang-github-gogo-protobuf_0.0~git20150902.0.932b70a.orig.tar.gz https://github.com/gogo/protobuf/archive/932b70afa8b0bf4a8e167fdf0c3367cebba45903.tar.gz
> gbp import-orig ../golang-github-gogo-protobuf_0.0~git20150902.0.932b70a.orig.tar.gz

However, dh-make-golang does more than that. It excludes vendored
dependencies, for example.

--
Alexandre Viau
alexandre at alexandreviau.net



More information about the Pkg-go-maintainers mailing list