Table of Contents
1. Repacking debian tarballs debian packaging
First to repack an upstream, you have to modify the copywrite file to add an exclude the files you want. For starfetch it looks like:
Files-Excluded:
src/include
Then you can use uscan to generate the tarball
uscan --repack --force-download
Then you need to use pristine-tarball to commit to get it in the source. I don’t
understand how this fits into gbp import though…
2. Better Lintian
Andrew Bower showed me how to see all the lintian things the Debian CI systems use:
lintian -v -i -I -E --pedantic --show-overrides --profile debian ../package.deb
3. Uploading packages
First you need to build the package as a source package like so
gbp buildpackage --git-builder='sbuild -s'
Next, you need to sign. Technically dput should sign things for you, but I have middling success so I sign seperately
debsign ../starfetch_0.0.4-1_arm64.changes
the .changes file should have all six entries (obviously different hashes and what not)
5ed96c71bcb4a6dc5b21b561cde6266471d90799bbde571381ac1d133b5cf10e 1916 starfetch_0.0.4-1.dsc fa343cfc2f6220f47353a175e6bcd9ca117486123c70142e9891313089912633 118976 starfetch_0.0.4.orig.tar.xz 589e6a7b384e2c06b71c792c3159bbbeef84c03793f8e833efd6df7fb055a5d8 3244 starfetch_0.0.4-1.debian.tar.xz 69f55ec6d5ae0b582ad57011308b61683f3f081bb8541172e22ae161282e4261 1101628 starfetch-dbgsym_0.0.4-1_arm64.deb 61d00b62fa6f422ea4a00f915668ad142c8194e62a755f6e513ec87b4bfada3d 6137 starfetch_0.0.4-1_arm64.buildinfo 8d42330ea3c9e128eecfeb6a7929878cf34c059c7a98f8055c31d8ec9b8aef36 74468 starfetch_0.0.4-1_arm64.deb
Then finally, upload to mentors.debian.net
dput mentors