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

Bug#508448: DDPO: please highlight wrong version numbers



retitle 508448 DDPO: please highlight wrong version numbers
stop

On Sun, Aug 05, 2012 at 02:40:01PM +0200, Sandro Tosi wrote:
> On Sun, Aug 5, 2012 at 2:38 PM, Bart Martens <bartm@debian.org> wrote:
> > What was the "wrong NMU version" ?
> http://packages.qa.debian.org/p/python-textile/news/20080718T161753Z.html

We could update the regular expression in this part to recognize this corner
case as an NMU :

    if(preg_match("/(-[0-9]+\.|\+nmu)[0-9]+$/", $version))
        $class = "nmu";

But then we would be assuming that any upload matching the same wrong version
pattern would be an NMU which might not always be the case.

It is, in my opinion, better to introduce a new class "wrongversion" for any
version that does not match the well-known patterns.  Retitling this bug to
reflect that.

Regards,

Bart Martens


Reply to: