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

Bug#483845: lintian: could warn about uploads to wrong targets



Package: lintian
Severity: wishlist

Some of us are not so good at remembering to set the upload target
(unstable/experimental/stable/whatever) correctly. It would be handy if
lintian could warn about this. For example (names changed):

<foo> liw: we have bar 3.0.x series in unstable and 3.2.x in
experimental
<foo> this week, I was working on 3.0.30 which I uploaded to unstable
<foo> then today I wanted to upload a new 3.2 to experimental
<foo> just before building it, I changed UNRELEASED to unstable in
debian/changelog without thinking, built...and uploaded
...
<liw> I guess one could have a heuristic like this: if changelog
indicates a new upstream version, warn if the upload target is not
experimental, but don't warn, if the changelog entry says "new upstream
version uploaded to unstable"
<liw> although I guess that would be best done by a lintian check
<liw> possibly even enabled only if there is a debian/lintian-me-harder
file in the source tree? :)





Reply to: