TJ- | Is there a packaging guide for NEW packages that a) have an upstream repository-only publishing scheme (no tarballs), b) doesn't assume upstream does tagged releases (got to pick HEAD at a point in time), and c) using git tooling (not bzr). I've looked at Ubu Packaging Guide which assumes tarball or bzr, and the Debian guide that assume tarballs | 15:35 |
---|---|---|
TJ- | What I need is an example, or confirmation, that it is OK to start from an already git clone X working directory) | 15:35 |
TJ- | Or whether the debian/rules needs to do a source git clone operation itself | 15:36 |
valorie | TJ-: acheronuk could give you some good tips | 20:38 |
acheronuk | TJ- valorie all I can mostly do is point at http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.import.upstream-git.html#gbp.import.upstream.git.notarball | 21:13 |
TJ- | valorie: I thnk I've almost got there but still struggling with precise instructions. Been trying to use gbp-buildpackage but I think that's the wrong one | 21:14 |
TJ- | I've got an sbuild env set up but struggling to figure out how to generate the orig.tar source package from the git; gbp-buildpackage --git-pristine-tar also seems to want to build the binaries, which is not what I want | 21:15 |
TJ- | acheronuk: Yes, been reading that but seems to miss out things that for regular Debian devs are obvious :) | 21:15 |
TJ- | hmmm, found somewhere else that recommends "git archive master | gzip > ../${package}_${version}.tar.gz" | 21:18 |
valorie | well, I've built stuff from source, but never packaged | 21:19 |
valorie | although I think I could manage to make a tarball | 21:20 |
valorie | perhaps | 21:20 |
TJ- | it's a very confusing mess of changing processes tools and methods unfortunately. 10 years ago I found it easy, now I get lost just trying to figure out which instructions are the correct ones! | 21:22 |
acheronuk | the trick is reliably automating that with packaging and tags | 21:24 |
TJ- | I'd settle for just having the Ubuntu docs kept current; so much is about bzr or working with tarballs | 21:26 |
TJ- | e.g the Getting Set Up page still tells us to install pbuilder | 21:27 |
acheronuk | TJ-: kubuntu's old tooling used to use: https://paste.ubuntu.com/p/PskbkKKdGQ/ | 21:33 |
TJ- | acheronuk: did that default to using sbuild? | 21:47 |
TJ- | hmm, am I correct setting source/format to "3.0 (git)" if upstream + packaging is all using git ? | 21:49 |
acheronuk | that just built the source package for upload. no sbuild | 21:53 |
TJ- | oh?is the final -S being passed to dpkg-buildpackage then? | 21:57 |
TJ- | I didn't spot that initially | 21:57 |
TJ- | looks like I may have gbp buildpackage working; now I've got to solve why there are loads of mounts inder /run/schroot/mount and the build now runs out of memory! | 22:21 |
TJ- | hmm, that needed "schroot --all-sessions --end-session" to close them all | 22:23 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!