Re: Updating golang packages
On Sun, Mar 10, 2019 at 9:02 AM Tong Sun wrote:
> Anywhere I can read about how to update golang packages?
>
> All the docs that I read were on *creating* packages with
> dh-make-golang, and haven't got to updating them yet. please help.
Found it, at
https://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.patches.newupstream.html
However, it is previous steps that get me stumbled -- according to my
reading, to build from go projects from salsa, e.g.,
golang-github-ghodss-yaml, the steps are simply:
gbp clone --all --pristine-tar
git@salsa.debian.org:go-team/packages/golang-github-ghodss-yaml.git
cd golang-github-ghodss-yaml
gbp buildpackage -uc -us
However, I'm getting this:
$ gbp buildpackage
gbp:info: Creating
/.../golang-github-ghodss-yaml/build-area/golang-github-ghodss-yaml_1.0.0.orig.tar.gz
gbp:error: Error creating golang-github-ghodss-yaml_1.0.0.orig.tar.gz:
Pristine-tar couldn't checkout
"golang-github-ghodss-yaml_1.0.0.orig.tar.gz": execution failed:
[Errno 2] No such file or directory: 'pristine-tar': 'pristine-tar'
What I'm missing?
$ git branch -a
debian/jessie-backports
* master
pristine-tar
upstream
remotes/origin/HEAD -> origin/master
remotes/origin/debian/jessie-backports
remotes/origin/master
remotes/origin/pristine-tar
remotes/origin/upstream
Thanks
Reply to: