Control: tags -1 + patch

On Fri, 15 Jun 2012 at 16:03:57 -0700, Josh Triplett wrote:
> Having just encountered yet another package uploaded with distribution
> UNRELEASED in the changelog, I'd like to request that the archive
> automatically reject packages with this problem.

With current lintian, this is straightforward to do by autorejecting on
the following Lintian errors:

- distribution-and-experimental-mismatch
  (First line of Changes: says experimental, Distribution: says unstable,
  maintainer probably intended to upload to experimental and will now
  need an epoch or +really versioning to recover)
  https://lintian.debian.org/tags/distribution-and-experimental-mismatch.html

- unreleased-changes
  (first line of Changes: says UNRELEASED, maintainer probably intended
  to `dch -r` before uploading - but we don't know for sure that they
  weren't intending to upload to experimental)
  https://lintian.debian.org/tags/unreleased-changes.html

and optionally this warning, although this one should probably be
overridable because I'm told there are use-cases for doing this (although
I don't know what they are):

- distribution-and-changes-mismatch
  (first line of Changes: mentions a known suite, Distribution: is a
  different known suite, maintainer probably intended to upload to
  the one in Changes and might now need an epoch or +really versioning
  to recover)
  https://lintian.debian.org/tags/distribution-and-changes-mismatch.html

No current packages in unstable report these tags, but the same mistakes
happen reasonably frequently, the disruption when they do can be
significant, and it would now be very easy to prevent them.

Thanks,
    smcv

Reply via email to