Re: RFS: libpsm2
Files-Excluded is an "undocumented feature" of d/copyright and uscan.
I was going through the process of documenting my code import
procedure when I found this. At the time, I was writing some scripts
to repack the upstream tarball. The exclusion stanza does what I was
looking for, in this case.
I have reservation with putting the code exclusion in d/copyright, but
it seems like that was the decision made and accepted by deb devs.
So, is the recommendation to expect the maintainer to put flags on the
import command, which is supposed to be automated? I guess that can be
documented in d/README.source.
Brian T. Smith
System Fabric Works
Senior Technical Staff
GPG Key: B3C2C7B73BA3CD7F
On Thu, Dec 21, 2017 at 4:57 AM, Mehdi Dogguy <firstname.lastname@example.org> wrote:
> On 2017-12-21 11:10, Benjamin Drung wrote:
>> Yes, it shouldn't be there. Uscan will repack the source and exclude
>> these files from the repacked upstream tarball. What you want is just
>> to exclude the debian directory from the import to the git repository
>> which you can do with using --filter.
> If pristine-tar is used, then --filter-pristine-tar should be used as
> well. Otherwise, the committed orig will not match the content of the
> upstream branch.