Problem

Upstream includes non-dfsg compliant files in their tarball / upstream git branch. The cleanup work should also be represented in the packaging git repo.

Environment

Solution

Use 3 branches:

upstream merges into dfsg-clean. dfsg-clean merges into master.

The uscan man page contains information on how to use the 'Files-Excluded' stanza to exclude files when creating an orig tarball.

kb/git_packaging_dfsg_clean_branch (last modified 2020-08-16 09:10:15)