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

Bug#886036: Improve changelog version parsing



Hi Chris,

There were two separate errors. Versions with "0" in any component
were not evaluated correctly. (The Perl string "0" is logically false
even though it has non-zero length.) A second problem was that
versions with "+bzr" triggered false positives for
'debian-changelog-version-requires-debian-revision'. That was solved
by restricting binary NMUs (which probably should not appear in source
changelogs anyway) to one or more digits. Both errors were fixed in
this merge request. Thank you!

https://salsa.debian.org/lintian/lintian/merge_requests/20

Best regards,
Felix> found 886036 2.5.97
> thanks
>
> Hi Felix,
>
> >  * checks/source-changelog.{desc.pm}:
> >    + [FL] Rework, centralise and improve version parsing.
> >      (Closes: #886036)
>
> I'm seeing some false-positives here:
>
>   https://lintian.debian.org/tags/malformed-debian-changelog-version.html
>
> Could you take a look?
>
>
> Regards,
>
> --
>       ,''`.
>      : :'  :     Chris Lamb
>      `. `'`      lamby@debian.org / chris-lamb.co.uk
>        `-


Reply to: