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

Bug#704136: lintian: treat git-dch --snapshot packages as local packages to avoid NMU warnings



On 2013-04-30 12:45, Helmut Grohne wrote:
> On 28.03.2013, at 13:31, Helmut Grohne <h.grohne@cygnusnetworks.de> wrote:
>> $package ($origversion~$unixseconds~1.gbp$abbrevcommitid) …
>>
>>  ** SNAPSHOT build @$longcommitid **
>>
>>  $origchangelog
>>
>>  -- $changedmaintainer
> 
> Unfortunately this does not work for all cases. When the distribution is UNRELEASED,
> the updates are merged into the changelog and the "SNAPSHOT" does not appear on the
> first line. The jenkins-debian-glue maintainer indicated that adding "local" to the
> version number is impossible, because that would break backwards compatibility.
> 
> $package ($origversion~$unixseconds.$buildnumber) …
> 
>  [ Orig Maintainer ]
>    $origchangelog
> 
>  [ jenkins-debian-glue Autobuilder ]
>  * SNAPSHOT autobuild for $origversion via jenkins-debian-glue.
> 
>  -- $changedmaintainer
> 
> Any ideas? Not sure whether lintian is the place to fix this anymore.
> 
> Helmut
> 

Hi,

As mentioned on IRC (a couple of days ago now), this might be a place to
use a profile or --suppress-tags (at least as a work around for now).
Personally, I would also be willing to have Lintian check for the
snapshot and regard it as a local package (but I probably won't invest
time on writing a patch for it atm).

~Niels


Reply to: