Your message dated Sat, 19 Feb 2011 17:02:50 +0000
with message-id <[email protected]>
and subject line Bug#597675: fixed in devscripts 2.10.71
has caused the Debian Bug report #597675,
regarding devscripts: [debchange] --allow-lower-version needs pattern option 
argument
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
597675: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597675
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: devscripts
Version: 2.10.61ubuntu5
Severity: normal
Tags: patch


The debchange man page claims that --allow-lower-version and
DEBCHANGE_LOWER_VERSION_PATTERN are equivalent.  The difference is
that DEBCHANGE_LOWER_VERSION_PATTERN works, and --allow-lower-version
can't possibly work in the current code.

The point of these features is to allow setting a lower-comparing
version string if it matches a supplied match pattern.  Both features
set an internal variable that will be used for the pattern, but since
--allow-lower-version takes no option argument, it presumably sets the
variable to the integer 1, which is not very useful in the later match
expression.

I discovered this on Ubuntu Lucid, but the but appears to still be
present in latest git source.

Here is an incomplete patch (doesn't fix documentation) to fix the
bug:

diff --git a/scripts/debchange.pl b/scripts/debchange.pl
index 4b62eea..099cadb 100755
--- a/scripts/debchange.pl
+++ b/scripts/debchange.pl
@@ -129,7 +129,7 @@ Options:
   -b, --force-bad-version
          Force a version to be less than the current one (e.g., when
          backporting)
-  --allow-lower-version
+  --allow-lower-version=<pattern>
          Allow a version to be less than the current one (e.g., when
          backporting) if it matches a specified pattern
   --force-distribution
@@ -319,7 +319,7 @@ GetOptions("help|h" => \$opt_help,
           "package=s" => \$opt_package,
           "v|newversion=s" => \$opt_v,
           "b|force-bad-version" => \$opt_b,
-          "allow-lower-version" => \$opt_allow_lower,
+          "allow-lower-version=s" => \$opt_allow_lower,
           "force-distribution" => \$opt_force_dist,
           "d|fromdirname" => \$opt_d,
           "p" => \$opt_p,


-- Package-specific info:

--- /etc/devscripts.conf ---

--- ~/.devscripts ---
Not present

-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-24-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages devscripts depends on:
ii  dpkg-dev               1.15.5.6ubuntu4.1 Debian package development tools
ii  libc6                  2.11.1-0ubuntu7.2 Embedded GNU C Library: Shared lib
ii  perl                   5.10.1-8ubuntu2   Larry Wall's Practical Extraction

Versions of packages devscripts recommends:
ii    3.1.11-1ubuntu5                        Delayed job execution and batch pr
ii    8.1.2-0.20090911cvs-2ubuntu1           simple mail user agent
ii    1:1.12.13-12ubuntu1                    Concurrent Versions System
ii    2.14                                   Command-line tools to process Debi
ii    0.9.5.1ubuntu1                         Debian package upload tool
ii    1.14.4-1ubuntu1                        Gives a fake root environment
ii    3.6.10+build1+nobinonly-0ubuntu0.10.04 safe and easy web browser from Moz
ii    1:1.7.0.4-1                            fast, scalable, distributed revisi
ii    1.4.10-2ubuntu1                        GNU privacy guard - a free PGP rep
ii    2.13-1                                 Authen::SASL - SASL Authentication
ii    2.005-2                                Easy OO parsing of Debian control-
ii    0.2-4build3                            Perl extension for retrieving term
ii    1.1900-1                               Time and date functions for Perl
ii    1.52-1                                 module to manipulate and access UR
ii    5.834-1ubuntu0.1                       Perl HTTP/WWW client/server librar
ii    2.3.4ubuntu2                           Debian package checker
ii    4.0-0ubuntu8                           Linux Standard Base version report
ii    2.8.8dev.2-1                           Text-mode WWW Browser with NLS sup
ii    4.43-14ubuntu2                         Compression method of 7z format in
ii    2.5.7-2                                on-line manual pager
ii    1:5.3p1-3ubuntu4                       secure shell (SSH) client, for sec
ii    2.6-2ubuntu1                           Apply a diff file to an original
ii    0.3.1-2build1                          Utilities to work with patches
ii    0.0.1ubuntu3                           Utilities for sensible alternative
ii    4.5.19-2                               A system call tracer
ii    1.6.6dfsg-2ubuntu1                     Advanced version control system
ii    6.0-1build1                            De-archiver for .zip files
ii    0.5.2-2.1ubuntu1.1                     WWW browsable pager with excellent
ii    0.5-19                                 Compares two files word by word
ii    1.12-1.1ubuntu2.1                      retrieves files from the web

Versions of packages devscripts suggests:
ii  build-essential       11.4build1         Informational list of build-essent
pn  cvs-buildpackage      <none>             (no description available)
pn  debian-keyring        <none>             (no description available)
pn  debian-maintainers    <none>             (no description available)
pn  devscripts-el         <none>             (no description available)
pn  equivs                <none>             (no description available)
pn  gnuplot               <none>             (no description available)
pn  libcrypt-ssleay-perl  <none>             (no description available)
pn  libfile-desktopentry- <none>             (no description available)
pn  libnet-smtp-ssl-perl  <none>             (no description available)
pn  libsoap-lite-perl     <none>             (no description available)
ii  libyaml-syck-perl     1.07-1build1       fast, lightweight YAML loader and
pn  mutt                  <none>             (no description available)
pn  svn-buildpackage      <none>             (no description available)
pn  ubuntu-dev-tools      <none>             (no description available)
ii  w3m                   0.5.2-2.1ubuntu1.1 WWW browsable pager with excellent

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: devscripts
Source-Version: 2.10.71

We believe that the bug you reported is fixed in the latest version of
devscripts, which is due to be installed in the Debian FTP archive:

devscripts_2.10.71.dsc
  to main/d/devscripts/devscripts_2.10.71.dsc
devscripts_2.10.71.tar.gz
  to main/d/devscripts/devscripts_2.10.71.tar.gz
devscripts_2.10.71_i386.deb
  to main/d/devscripts/devscripts_2.10.71_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
James Vega <[email protected]> (supplier of updated devscripts package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Format: 1.8
Date: Sat, 19 Feb 2011 11:23:20 -0500
Source: devscripts
Binary: devscripts
Architecture: source i386
Version: 2.10.71
Distribution: unstable
Urgency: low
Maintainer: Devscripts Devel Team <[email protected]>
Changed-By: James Vega <[email protected]>
Description: 
 devscripts - scripts to make the life of a Debian Package maintainer easier
Closes: 595893 597675 599354 610072 613502 613941
Changes: 
 devscripts (2.10.71) unstable; urgency=low
 .
   [ Christoph Berg ]
   * debcommit (git): Don't treat "no files to commit" as an error when called
     with --release, otherwise it is not possible to tag after the final build.
 .
   [ James Vega ]
   * bts:
     + Use Pod::Text to remove POD markup before displaying the help.  (Closes:
       #613502)
     + Document that whitespace is required around the dot/comma separating
       command stanzas.  (Closes: #595893)
   * dget: Ignore IO::File errors from local cache when a URL is given.
     The local cache should be used when accessible, but not prevent downloads
     when it isn't.  (Closes: #599354)
   * build-rdeps: Remove hard-coded path for grep-dctrl.
   * debchange:
     + Require an argument for the --allow-lower-version option.  (Closes:
       #597675)
     + Since the entry added by --closes requires editing anyway, require the
       user to save the changelog for it update the original changelog.
 .
   [ Patrick Schoenfeld ]
   * build-rdeps: Update release_pattern for the new InRelease release files,
     which apt began downloading in newer versions instead of the Release file.
     (Closes: #613941)
 .
   [ Ron Lee ]
   * cowpoke: try to rsync source files to the build host.  (Closes: #610072)
     Thanks to Joachim Breitner for the idea and initial patch.
Checksums-Sha1: 
 aea520665854bd4e8e755ead096d0315f718ab65 1445 devscripts_2.10.71.dsc
 a2712d0b95b7590ce7b7da0a0917df12ca93c286 730845 devscripts_2.10.71.tar.gz
 0d2d660e02311d40048581e5d46848f3eee409ed 656942 devscripts_2.10.71_i386.deb
Checksums-Sha256: 
 df5e9c60a819aa27b3268f8e03351edf70b2a49d4fb9d1c88175825f83a2a479 1445 
devscripts_2.10.71.dsc
 3562eb9864d4d6fd63d4d98c2d9a3dbcbd4d5d9b093855530dec96b506ec4ffa 730845 
devscripts_2.10.71.tar.gz
 d6de5870daf96e0791ccdeb5b193a061634fd4e82be3abb62db445628a9ab8c1 656942 
devscripts_2.10.71_i386.deb
Files: 
 a82587339e71f9704bc9cca9f7a9357b 1445 devel optional devscripts_2.10.71.dsc
 4118a94dd1c0d91c74a78e86d891d87f 730845 devel optional 
devscripts_2.10.71.tar.gz
 14e7855d220bd68d436238716465381f 656942 devel optional 
devscripts_2.10.71_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEAREDAAYFAk1f8FUACgkQDb3UpmEybUByKgCdGQPqt5JAsNmysIlKkGXvlW+F
uj4An1Yx9e42s3yUliar0ItSmlmVprv6
=u+rd
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to