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

Attachment: signature.asc
Description: PGP signature

Reply via email to