Hi,
Would it make sense to have a common "convert git tree to orig archive(s)" tool that is used by both uscan and tag2upload?
On 1/12/26 9:38 PM, Ian Jackson wrote:
Do you mean git-deborig, which already exists?
Possibly. My point is that we currently have two implementations for this functionality, with diverging feature sets, and I wonder if this will become a problem as well if they produce different output, which is likely, given that uscan parses a bunch of files below debian/, and we might not want a trusted transformation step like tag2upload to have such a big parameter space.
It's entirely possible that the answer is "no, because anyone using tag2upload will never use uscan." If it is, I won't bother trying to unify them, because that feels like it's going to be a lot of work followed by long discussions if we should really be calcifying these interfaces already.
However, if there is a desire or need for uscan and tag2upload to produce consistent results, then we either need to delegate one to the other or write a common implementation that both delegate to and harmonize their feature sets.
I'm trying to find out if that is necessary. Simon

