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

2009-04-12 Thread Raphael Hertzog
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.

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

2009-04-12 Thread Adeodato Simó
+ Raphael Hertzog (Sun, 12 Apr 2009 11:29:35 +0200): Hello, 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

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

2009-04-12 Thread Raphael Hertzog
On Sun, 12 Apr 2009, Adeodato Simó wrote: When you say, a “string comparison”, you mean a comparison for equality, I guess. Does XSLT offer at all the concept of strcmp()? I think that No it's simply this: xsl:if test=standards-version!='' and not(starts-with(standards-version, $lastsv)) and

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

2009-04-12 Thread Jan Hauke Rahm
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

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

2009-04-12 Thread Adeodato Simó
+ 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

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

2009-04-12 Thread Raphael Geissert
Jan Hauke Rahm wrote: [...] 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

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

2009-04-12 Thread Jan Hauke Rahm
On Sun, Apr 12, 2009 at 12:16:24PM -0500, Raphael Geissert wrote: Jan Hauke Rahm wrote: [...] 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

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

2009-04-11 Thread Thorsten Glaser
Package: qa.debian.org Severity: normal http://packages.qa.debian.org/m/mksh.html tells me to… │ Todo │ * The package should be updated to follow the last version of [29]Debian

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

2009-04-11 Thread Adeodato Simó
reopen 523671 thanks + Sandro Tosi (Sat, 11 Apr 2009 21:22:47 +0200): Hello, Sandro, Thorsten. That Policy version information on PTS was updated this morning, so it might take some time to propagate, and to show up correctly. That’s not really the point. Take a package like minirok; the PTS