Hi, On Mon, Jan 25, 2016 at 09:02:50PM -0700, Sean Whitton wrote: > Package: git-buildpackage > Version: 0.7.1 > Severity: wishlist > > Dear Maintainer, > > When uscan is used to generate an upstream tarball, it filters out files > listed in the Files-Excluded: section of the debian/copyright file and > appends +dfsg to the tarball's version. This can then be imported to > the packaging repository with gbp import-orig. > > Nowadays, many upstreams do not ship tarballs. When preparing the > Debian packaging for such a project, it is convenient to simply clone > upstream's git repository and add a branch to that for Debian > packaging. > > Suppose that upstream tags a release 1.2.3 in the git repository. The > Debian package maintainer must then manually delete the files listed in > Files-Excluded: and then tag a new version 1.2.3+dfsg. gbp can then > create a tarball of this tag and commit it to the pristine-tar branch.
I would rather do this with a dfsg-clean branch. You delete once and then use git tools from there on. > It would be great if gbp could produce the 1.2.3+dfsg tag itself by > reading debian/copyright and excluding the Files-Excluded: files. If somebody comes up with a clean patch I'm happy to merge that. Cheers, -- Guido