On 19.06.24 23:49, Salvo Tomaselli wrote:
But if by mistake one upstream adds a proprietary file in git and then removes it… we can't distribute the whole .git directory as is.
True – but what we *can* do is to add a "debian/source/strip-blobs" file, then run "git filter-repo --strip-blobs-with-ids debian/source/strip-blobs" on a clone of the upstream repository before merging from it.
This step is deterministic, idempotent, and easily automated if necessary. -- -- regards -- -- Matthias Urlichs
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature