[Debian-salsa-ci] Repacking source package files in Salsa-CI
James Addison
jay at jp-hosting.net
Tue Jan 6 13:53:59 GMT 2026
Hello,
I'm using Salsa to prepare an ITP game package, quadrilateralcowboy.
Until relatively recently, I managed[1] a fork of the upstream sources
on GitHub, and used that as the origin for packaging. My
modifications there were largely the removal of embedded copies of
libraries from the game's original codebase[2] (to follow Debian
best-practice[3] to build/link against system-provided libraries
instead).
After some feedback from the Debian Mentors process, I migrated to use
the original codebase as the direct upstream -- removing my fork from
the equation. In doing so, I began using the 'Files-Excluded' clause
in the 'debian/copyright' file as a replacement mechanism to exclude
the embedded library copies (and a few binaries and irrelevant
content, too).
I've documented[4] the resulting source package build process. That
build relies on invoking both 'gbp export-orig' and then
'mk-origtargz' to repack the sources without the excluded files (NB:
'gbp export-orig' does not yet[5] support this natively).
And now to the problem / my question: I would like for the source
package that Salsa CI builds during continuous integration testing to
also repack and omit the content mentioned in Files-Excluded.
Currently it does not, and that causes some lintian warnings[6] (that
I have suppressed[7], temporarily).
I couldn't find a source repack functionality documented in the Salsa
CI pipeline readme so far, but perhaps it is already possible? Or, if
not - perhaps I should override the 'extract-sources' part of the
Salsa CI job in the package salsa-ci.yml file?
Thank you very much,
James
[1] - https://github.com/jayaddison/quadrilateralcowboy
[2] - https://github.com/blendogames/quadrilateralcowboy
[3] - https://wiki.debian.org/Packaging/EmbeddedCopies
[4] - https://salsa.debian.org/jayaddison/quadrilateralcowboy/-/blob/7215cfcabb24398d478082de7e0f4aa3527e5f4b/debian/README.source
[5] - https://bugs.debian.org/1069324
[6] - https://salsa.debian.org/jayaddison/quadrilateralcowboy/-/jobs/8849644#L44
[7] - https://salsa.debian.org/jayaddison/quadrilateralcowboy/-/commit/c3ca5a1a501c8890b94b2cd64b0e0cdf089764fb
More information about the Debian-salsa-ci
mailing list