Re: Packaging in git and Files-Excluded

2018-09-10 Thread Andreas Tille
Hi,

On Sun, Sep 09, 2018 at 12:09:00PM +0200, Birger Schacht wrote:
> i'm trying to package a software using git and importing upstream
> releases from git tags. There are files in the git tree that have to be
> removed to make the package dfsg compliant (what would normally happen
> through repackaging). I figured i can just create a git tag
> upstrea/0.1.2-ds which does exclude the non dfsg compliant files. But
> now i'm not sure how to create that tag- should i create a branch of the
> tag, remove the files and tag that branch? Is there a best practice how
> that branch should be called? I didn't find anything regarding this
> situation in DEP14.

As far as I know Files-Excluded is just about repackaging since it
is consumed by uscan which is downloading and optionally repackaging
a tarball.  Is there any reason not to use uscan as intended and than
use

gbp import-orig --pristine-tar downloaded_repackaged_tarball

?

Kind regards

   Andreas.

-- 
http://fam-tille.de



Re: Packaging in git and Files-Excluded

2018-09-09 Thread Paul Wise
On Sun, Sep 9, 2018 at 6:09 PM, Birger Schacht wrote:

> i'm trying to package a software using git and importing upstream
> releases from git tags. There are files in the git tree that have to be
> removed to make the package dfsg compliant (what would normally happen
> through repackaging).

The best way to deal with this is to talk upstream into removing them,
relicensing them or replacing them with free equivalents.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise