Re: tag2upload, reproducible .orig and dfsg repacks
Matthias Urlichs <matthias@urlichs.de> writes:
> IMHO this is a mostly-solved problem.
>
> You can feed hashes of the offenders to "git filter-repo
> --strip-blobs-with-ids ‹filename›". This operation is idempotent and
> deterministic.
>
> If we add these hashes to a file, let's say d/source/dfsg-filtered, we
> can thus reproducibly generate a dfsg-compliant version of whichever
> upstream commit or tag we want, and of course generate a tarball from
> there if required.
Sometimes files have to be edited and/or created in order to make the
tar ball DFSG complaint and not fail build. Just deleted a list of files
is not sufficient.
For example, if an individual file contains a mixture of non-dfsg stuff
and dfsg stuff that is required for building.
For more details, see this really old discussion, from 2008.
https://lists.debian.org/debian-devel/2008/06/msg00233.html
I hope I haven't just opened a can of worms here :-)
--
Brian May @ Debian
Reply to: