[2018-12-28 19:42] Chris Lamb <la...@debian.org> > Dmitry, > > > As far as I know [citation needed], Debian only supports upgrades of > > consequenced releases -- it means that maintainer is not obliged to make > > sure that Debian 8 -> Debian 10 (skipping Debian 9) works smoothly. > [..] > > As of implementation side, given that Lintian by design do not use > > network, it is possible to assume that Debian release happens once a 2.5 > > year (or so), so versions older then 5.5 years (possible to lookup in > > d/changelog) are below threhold. > > Alas, unless we can think of a more-reliable way of doing this I fear this > will be far too full of false-positives or will simply not detect enough > cases to be prioritised. :(
Well, we could hardcode dates of Debian releases in Lintian. It is just 10 dates. Any reference to version, older then two releases ago would be warrant low-severity moderate-certanity notification. After all, how often do we have something like 2.76-4 in code is not version?