[Debian-salsa-ci] Repacking source package files in Salsa-CI

Otto Kekäläinen otto at debian.org
Tue Jan 6 18:01:20 GMT 2026


Hi!

> Unfortunately upstream here does not provide tagged git versions or
> tarballs - we only have the individual commits to work from.  As far
> as I am aware, gbp import-orig is not compatible with that kind of
> workflow.

In that case you can look at
https://salsa.debian.org/go-team/packages/ratt/-/tree/debian/latest/debian
for example of how I've done it. The debian/watch file simply points
to the upstream git HEAD, and the debian/gbp.conf has this note:

# Ratt has no tags or releases at https://github.com/Debian/ratt
# Instead, merge latest commit from 'master' on 'upstream' and tag it
# as the imported version
#upstream-vcs-tag = v%(version%~%-)s

If upstream does not do any releases, there are no security features
to use (detached signatures nor signed git tags) so audit trail is
inevitably going to be weak, but you should still be able to use `gbp
import-orig --uscan` that runs `uscan` and applies the
debian/copyright:Files-Excluded` automatically.

i am not sure about all the details, I haven't done a package with no
releases _and_ repacking in the same combo. In general though I
recommend sticking to a workflow where simply running `gbp import-orig
--uscan` works as the more you have manual fiddling in the import, the
less likely it will be that the next person or you yourself in a year
from now are able to keep the package uniform and repeat the exact
same way of importing.



More information about the Debian-salsa-ci mailing list