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

Bug#269493: qa.debian.org: version comparison also fails with extra dashes



Package: qa.debian.org
Followup-For: Bug #269493

The current version comparison for the watch code also fails when the
upstream version contains a dash because it terminates the Debian version
at the first dash.  See:

<http://dehs.alioth.debian.org/maintainer.php?name=libauthen-sasl-cyrus-perl>
<http://qa.debian.org/developer.php?login=rra@stanford.edu>

I think the best way to modify the code to deal with this issue would be
to have it strip off everything after the final dash first and then
continue on comparing the entire remaining version number.  Right now, it
grabs everything before the first dash, which doesn't work for this case.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)



Reply to: