Your message dated Tue, 14 Feb 2017 19:10:27 +0000
with message-id <[email protected]>
and subject line Bug#854748: Removed package(s) from unstable
has caused the Debian Bug report #565584,
regarding vn-autoreleasedeb improvement(4): Safer changelog parsing
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.)
--
565584: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565584
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cvs-autoreleasedeb
Version: 0.12-1
Attached patch number 4:
Safer changelog parsing:
- Look only at the first line.
- Do not depend on the exact package name (svn package name
may be different than what listed in changelog.)
- If version field is not parsable, use 'UNKNOWN'
- Also chomp new lines when reading state file.
--
Oron Peled Voice: +972-4-8228492
[email protected] http://users.actcom.co.il/~oron
"In theory, it's practical. In practice - it's only a theory".
Index: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog (revision 299)
+++ trunk/debian/changelog (revision 300)
@@ -1,3 +1,15 @@
+cvs-autoreleasedeb (0.12-1.4) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Safer changelog parsing:
+ - Look only at the first line.
+ - Do not depend on the exact package name (svn package name
+ may be different than what listed in changelog. E.g: kernel)
+ - If version field is not parsable, use 'UNKNOWN'
+ * Also chomp new lines when reading state file.
+
+ -- Oron Peled <[email protected]> Tue, 15 Dec 2009 19:34:01 +0200
+
cvs-autoreleasedeb (0.12-1.3) unstable; urgency=low
* Non-maintainer upload.
Index: trunk/svn-autoreleasedeb
===================================================================
--- trunk/svn-autoreleasedeb (revision 299)
+++ trunk/svn-autoreleasedeb (revision 300)
@@ -347,6 +347,7 @@
_exit 3;
}
while (<STATE>) {
+ chomp;
my ($s,$p,$v,$buildstate) = split(/;/, $_);
$state_struct->{$s}{$p} = $v;
$prev_build_state{$s}{$p} = (defined $buildstate) ? $buildstate : 'UNKONWN';
@@ -408,7 +409,14 @@
print $cmd."\n";
my $changelog = `$cmd`;
my $version;
- ($version = $changelog) =~ s/^$p \((.+?)\).+$/$1/s;
+ my $pkgname;
+ ($changelog) = split(/\n/, $changelog);
+ ($pkgname, $version, undef) = split(/\s+/, $changelog);
+ if(defined($version) && $version =~ /^\((.*)\)$/) {
+ $version = $1;
+ } else {
+ $version = 'UNKNOWN';
+ }
my $prev_build_state = $prev_build_state{$s}{$p};
print "Package $p in version $version (prev_build=$prev_build_state)\n";
$newstate_struct->{$s}{$p} = $version;
--- End Message ---
--- Begin Message ---
Version: 0.12-1+rm
Dear submitter,
as the package cvs-autoreleasedeb has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/854748
The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].
Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---