[pkg-go] gbp: how to import upstream tarball without tag?
Hi, Alexandre Could you please advise how can I import upstream tarball from remote repo if upstream do not tag their releases? Recently you did it somehow for "golang- gogoprotobuf" so I hope you could share the secret knowledge with me. :) Thank you. -- All the best, Dmitry Smirnov. --- Much of humankind's intellectual and emotional struggle has been not for truth, but against truth. The advance of science has been sporadically fought against for thousands of years. -- C. W. Dalton, "The Right Brain and Religion" signature.asc Description: This is a digitally signed message part. ___ Pkg-go-maintainers mailing list Pkg-go-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers
Re: [pkg-go] gbp: how to import upstream tarball without tag?
I just use dh-make-golang to produce new upstream tarballs. See also https://github.com/Debian/dh-make-golang/issues/14 On Wed, Sep 2, 2015 at 4:46 AM, Dmitry Smirnovwrote: > On Wednesday 02 September 2015 12:52:56 Martín Ferrari wrote: >> There is a very well documented and tidy process for doing all this, >> although it is probably way too complicated for most people. Still, it >> is a good read to have an idea of how to do things: >> http://blog.mycre.ws/articles/git-packaging-workflow-for-py-lmdb/ > > Thank you for detailed replay and for all your hints. Indeed I find it too > complicated. :( I merely cloned one of our packages' repository and managed > to produce a release tarball from HEAD of upstream repository by using "dh- > make-golang" which is a bit awkward yet a lot simpler than to configure git > remote and fetch history of all upstream changes since beginning of time > merely to generate tarball for "gbp import-orig"... > > >> Another read: DEP-14, which documents some best-practices for debian/git >> packaging: http://dep.debian.net/deps/dep14/ > > IMHO this is too GBP-oriented approach. My favourite layout of debian package > repositories is documented here: > > https://pkg-kde.alioth.debian.org/gitguidelines.html > > Unfortunately it does not answer the question how to easily produce orig.tar > from tagless GitHub repositories... > > -- > Regards, > Dmitry Smirnov. > > --- > > Good luck happens when preparedness meets opportunity. > > ___ > Pkg-go-maintainers mailing list > Pkg-go-maintainers@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers -- Best regards, Michael ___ Pkg-go-maintainers mailing list Pkg-go-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers
Re: [pkg-go] gbp: how to import upstream tarball without tag?
Thank you for reply, Martín. On Wednesday 02 September 2015 11:22:46 Martín Ferrari wrote: > On 02/09/15 10:54, Dmitry Smirnov wrote: > > Could you please advise how can I import upstream tarball from remote > > repo if upstream do not tag their releases? Recently you did it somehow > > for "golang- gogoprotobuf" so I hope you could share the secret > > knowledge with me. :) > If upstream does not tag their releases, you will need to find the > commit manually and tag it (if you want to keep git history in sync). Sorry, I'm not quite sure how exactly can I do that... You mean I should configure a remote (git remote add github https://github.com/repo/repo) then git fetch github git rebase github/master then what? Merge to "upstream" branch and tag there manually? > Otherwise you can just use gbp import-orig and ignore upstream's git > history, but I prefer the other approach when possible. I couldn't care less about upstream history and actually for the sake of importing mock-up tarball I want to entirely ignore upstream history. But how can I do "gbp import-orig" without tarball? Sorry, I'm still very confused... -- Cheers, Dmitry Smirnov. --- A creative man is motivated by the desire to achieve, not by the desire to beat others. -- Ayn Rand signature.asc Description: This is a digitally signed message part. ___ Pkg-go-maintainers mailing list Pkg-go-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers
Re: [pkg-go] gbp: how to import upstream tarball without tag?
On Wednesday 02 September 2015 04:56:30 Michael Stapelberg wrote: > I just use dh-make-golang to produce new upstream tarballs. See also > https://github.com/Debian/dh-make-golang/issues/14 That's how I generated upstream tarball in the end. :) But it would be much nicer to be able to do that using `uscan`. -- Best wishes, Dmitry Smirnov. signature.asc Description: This is a digitally signed message part. ___ Pkg-go-maintainers mailing list Pkg-go-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers