[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: +dfsg extension with Files-Excluded: in d/copyright



On 01-09-15 14:22, Ole Streicher wrote:
> Sebastiaan Couwenberg <sebastic@xs4all.nl> writes:
>> On 01-09-15 11:51, Ole Streicher wrote:
>>> What is recommended way for the watch file that it automatically
>>> generated to correct version number for a newly created orig.tar file?
>> Add the repacksuffix option
> 
> Is the empty default value for repacksuffix a good choice here? I cannot
> imagine a case where one removes something from the upstream tarball and
> does not add a suffix to the version. Specifically, I had the case that
> I first (last year) added a few Files-Excluded and created a "+dfsg"
> tarball, and when I later update with the new devscripts version, I
> forgot to check the suffix and accidently created a package without the
> suffix. This could be avoided if either the suffix defaults to +dfsg if
> files are excluded, or if uscan fails with some error in this case. Or
> Lintian would report this.

An empty value for the repacksuffix is not a good idea, in your case
repacksuffix=+dfsg is appropriate. When only auto cleaned build
artifacts are excluded for example, repacksuffix=+ds is more appropriate.

uscan will only apped the repacksuffix if it actually excluded files
from the repacked upstream tarball. uscan reports the number of files
it excluded, if that's 0 the repacksuffix isn't used.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1


Reply to: