Package: cvs-autoreleasedeb
Version: 0.12-1
Severity: normal
Tags: patch

Hello,

I've found 2 problems with handling of CVS tags by
cvs-autoreleasedeb. One is related to validating "tag"
property in .cvs-autoreleasedeb/conf, it's quite
obvious and the patch for fixing it is attached.

Another problem is that cvs-autoreleasedeb doesn't
provide a way to pass custom tags down to the
cvs-buildpackage's options -T and -U. If I find some
seemingly fine method to solve this, I'll comment
further to the bug.

-- 
WBR,
xrgtn

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'oldstable'), (500, 'unstable'), (500, 
'stable'), (100, 'edgy'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-grsec
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages cvs-autoreleasedeb depends on:
ii  adduser                      3.101       Add and remove users and groups
ii  cvs                          1:1.12.13-6 Concurrent Versions System
ii  cvs-buildpackage             5.20        A set of Debian package scripts fo
ii  dpkg-dev                     1.13.25     package building tools for Debian
ii  dupload                      2.6.3.3     utility to upload Debian packages
ii  fakeroot                     1.5.10      Gives a fake root environment
ii  libapt-pkg-perl              0.1.13      Perl interface to libapt-pkg
ii  libxml-parser-perl           2.34-4.2    Perl module for parsing XML files
ii  perl                         5.8.8-7     Larry Wall's Practical Extraction 

cvs-autoreleasedeb recommends no packages.

-- no debconf information
--- /usr/bin/cvs-autoreleasedeb	2006-08-16 13:40:59.000000000 +0300
+++ /usr/local/bin/cvs-autoreleasedeb	2007-01-21 19:17:10.000000000 +0200
@@ -202,7 +202,7 @@
 		chdir($::CVSDIR.$s);
 		$cmd = "$::CVS -d ".$conf_struct->{$s}{$p}{cvsroot}." checkout ";
 		# If the user sets a tag, use it instead of HEAD.
-		if ($conf_struct->{$s}{$p}{tag} =~ /S+/) {
+		if ($conf_struct->{$s}{$p}{tag} =~ /\S+/) {
 			$cmd .= " -r ".$conf_struct->{$s}{$p}{tag}." ";
 		} else {
 			$cmd .= " -A ";

Reply via email to