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

Bug#523671: qa.debian.org: wrong policy version

+ Jan Hauke Rahm (Sun, 12 Apr 2009 13:12:26 +0200):

> On Sun, Apr 12, 2009 at 11:29:35AM +0200, Raphael Hertzog wrote:
> > On Sat, 11 Apr 2009, Adeodato Simó wrote:
> > > The PTS should enhance the check to do, if possible, a version

> > We lack the version comparison code in XSLT unfortunately. So it's not
> > feasible right now.

> > It's a simple string comparison and we rely on having the latest version
> > in the stylesheet.

> And if a proper string comparison will pe possible some time it should
> still warn about a policy version which is too high. If I upload a
> package now with standards-version 4.0.0 the PTS should definitely warn
> about it, too, imho (and not simply suggest a downgrade of course :)).

That’s a fair observation, though I’m expecting lintian will surely warn
in that case. If the PTS starts making checks rather than mentioning
simple TODO actions...

OTOH, it is also true that if the PTS is going to be always using the
latest Policy version number available without need for manual updates
(see #522434), improving the comparison code becomes somewhat less
relevant, I’ll reckon.

Thanks for bringing that up.

- Are you sure we're good?
- Always.
        -- Rory and Lorelai

Reply to: