On Tue, Jul 16, 2024 at 12:16:44PM +0200, Gioele Barabucci wrote:
On 16/07/24 11:36, Daniel Gröber wrote:
since this came up in #d-mentors recently: is anyone working on nicer tooling in the vein of gbp-import-ref but with the ability to handle Files-Excluded like mk-origtargz?
Because having DFSG-clean "debian" branches is (at the moment) a
nice-to-have feature, but creating DFSG-clean origtgz files is a must, perhaps the first step should be to teach gbp-export-orig to respect Files-Excluded, see <https://bugs.debian.org/1069324>.
Right, thanks for the link. That certainly is one angle of attack and I
hope someone does tackle it given how popular gbp is, but it's not the only game in town.
Personally I'm moving away from gbp toward the dgit patches-applied
workflows so I'd be interested in something that can work there (too?).
A quick chat with Ian on IRC illuminates the situation: git-deborig
(dgit/t2u's equivalent of gbp-export-orig) can't directly do this as it
would break dgit's "tarball equals git exactly" invariant.
This needs do be done as a seperate tool that commits the removals into
git. I think the same tool could also work for the gbp case unless I'm
missing something.
If nobody has a tool like that in the works yet I may have a stab at it.
If anyone has any spare cycles I'd also like us think about how a
full-blown git-filter-branch/-repo invocation would fit into the picture so perhaps the interface could handle those in the future.
--Daniel
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEV6G/FbT2+ZuJ7bKf05SBrh55rPcFAmaWdY8ACgkQ05SBrh55 rPdvmQ//efeY/InWCGoku+EYTeIPTdLsAAJN7FjhggODhIy47QZKMkO50pFM4pB8 3Z+Z4vsPOumwUCBLNFk9w/77coUJKmIYMqQKxQfCCM2Z0MZgFe6eByEBLzRSRYia Cfgx4nLb9e4kHP0CQ8h2C7h1pzkvY+yuvG5NRBTI8lyagZlGi0gJoktFiHEWS7jc pJL9DA3qlpwlDby0FzkeVI7SLEY61XipDCsDzSvZM8jUmk6ihtr8sK6pqpvaJSHr g71v+wVLrsDuf8/UVGYaLNf67PMXPI0N90NEBhk7FjdVntSkJqfD6KH/7al7iz2J aSnSNchMr2av8qskgcVW4/7SdmkppKmqcKjc7e2U4lwRTk2gRzxC5tdXLGB8P/WH iJGwRk1H3lz4vJM4qpc3/LcRF718X3pmOtkl5pHjDT3xrJ7LbyKjUi+YHBzWkN20 wiqdDAUPXrGoCb4PJLcJNVeZ6wNbmsynLVxwjin8v2lMRJX5CwYX5WBQEEPkBgw8 ABWbwFI3wGbZjJowUPLfs6X5QpzsrEFIwudYSyz79CR4LmLJ16wDz/NgkmZyVri6 nSM6AoC0DgBpeO5HCowr6S9H7VInPtkdLC3dMKx7nMcLMFrkAF63IjJlIIzt4eIn KCrpr7HwXElN7e4dB1mB5mmagMJTk00Ed4kzO8eyRAf8rFxXyGY=
=PblT
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)