Quoting Simon Josefsson (2024-11-22 12:18:36)
> > I like to read of other people's workflows but then I often do not see how
> > their workflows can possibly fit my packages. There seem to be many people
> > who have the upstream git as part of their packaging git. I'm happy that
> > works for them but I don't see how I can leave my tarball-centered
> > workflows (even though all my upstream work in git) if all my upstreams
> > ship DFSG non-free material which I have to remove from their tarballs
> > first.
> This works fairly well these days: use Files-Excluded: in d/copyright and
> "dversionmangle=s/\+ds\d*$//,repacksuffix=+ds" in d/watch.  Tools like gbp,
> uscan, origtargz seems to do the right thing automatically.

That's what I'm doing. But that works with tarballs not with upstream as git.
If upstream (deliberately, so this will not change) has DSFG-non-free content
in it, then I should not copy that into a git packaging repo that is targeting
main. Removing the problematic parts from the upstream git repos would rewrite
their history, invalidate tags etc, so the result would not be very useful
anymore. Thus, I usually have one directory on my PC with the upstream git and
another with my Debian packaging git. The packaging git does not have the
upstream git with non-free content int it. Instead my packaging git regularly
imports new upstream releases as tarballs and removes the non-free content via
Files-Excluded and dversionmangle/repacksuffix in d/watch. I don't see how I
can get rid of the tarballs here but instead embrace the (non-free) upstream
git. Maybe I'm missing something?

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to