Bug#940748: lintian: False positives on debug-symbol-migration-possibly-complete
Package: lintian
Version: 2.21.0
Severity: normal
Hi!
Was recently introducing an automatic debug symbol package, and got
this lintian warning, which seems just wrong. I think the correct way
to go about emitting it would be to:
- Check for the m/--(?:ddeb|dbgsym)-migration=/ and extract the
version in the argument list (if possible, probably emit if the
version cannot be extracted?).
- Lookup the closest version in the debian/changelog, and fetch the
date for that entry.
- Lookup the $name for the current $distro release.
- Lookup the initial date for the previous ($name-1) $distro release.
- Check whether the changelog entry date is earlier than $name-1 date,
and only if so, emit the tag.
Thanks,
Guillem
Reply to: