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 #565589,
regarding svn-autoreleasedeb improvement(7): Do not remove svn and package
directories on failure.
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.)
--
565589: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565589
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cvs-autoreleasedeb
Version: 0.12-1
Attached patch number 7:
In case there was a build failure, we don't want to remove the package
directories (so we can debug the problem).
--
Oron Peled Voice: +972-4-8228492
[email protected] http://users.actcom.co.il/~oron
Hi! I'm a .signature virus! Copy me into your ~/.signature to help
me spread!
Index: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog (revision 305)
+++ trunk/debian/changelog (revision 306)
@@ -1,3 +1,9 @@
+cvs-autoreleasedeb (0.12-1.6) unstable; urgency=low
+
+ * Do not remove svn and package directories on failure.
+
+ -- Oron Peled <[email protected]> Wed, 16 Dec 2009 17:25:26 +0200
+
cvs-autoreleasedeb (0.12-1.5) unstable; urgency=low
* Non-maintainer upload.
Index: trunk/svn-autoreleasedeb
===================================================================
--- trunk/svn-autoreleasedeb (revision 305)
+++ trunk/svn-autoreleasedeb (revision 306)
@@ -205,10 +205,20 @@
$failed_packages{$s}{$p} = 'FAILED(no-tag)';
next;
}
-
+ my $prefix = $conf_struct->{$s}{$p}{prefix};
+ $prefix = '' unless defined $prefix;
+ {
+ my $cmd;
+ $cmd = "rm -rf ".$::SVNDIR.$s."/".${prefix}."/".$p;
+ print $cmd."\n";
+ system $cmd;
+ $cmd = "rm -rf ".$::PACKDIR.$s."/".$p;
+ print $cmd."\n";
+ system $cmd;
+ }
chdir($::SVNDIR.$s);
- $cmd = "$::SVN checkout ".$conf_struct->{$s}{$p}{svnserver}.q(/).$conf_struct->{$s}{$p}{prefix}.
- q(/).$p.q(/).$conf_struct->{$s}{$p}{tag}."/ ".($conf_struct->{$s}{$p}{prefix}?$conf_struct->{$s}{$p}{prefix}.q(/):'').$p;
+ $cmd = "$::SVN checkout ".$conf_struct->{$s}{$p}{svnserver}.q(/).${prefix}.
+ q(/).$p.q(/).$conf_struct->{$s}{$p}{tag}."/ ".${prefix}.$p;
print $cmd."\n";
unless (system($cmd) == 0) {
print "SVN Checkout failed. going to try again in the next run!\n";
@@ -220,7 +230,7 @@
mkdir($::PACKDIR.$s."/".$p);
my $buildopts = $conf_struct->{$s}{$p}{buildopts};
- chdir($::SVNDIR.$s."/".$conf_struct->{$s}{$p}{prefix}."/".$p);
+ chdir($::SVNDIR.$s."/".${prefix}."/".$p);
$cmd = "svn-buildpackage --svn-override=buildArea=".$::PACKDIR.$s."/".$p." $buildopts ";
unless (system($cmd) == 0) {
@@ -255,14 +265,16 @@
}
}
# Clean the directories
- my $cmd;
- chdir($oldpwd);
- $cmd = "rm -rf ".$::SVNDIR.$s;
- print $cmd."\n";
- system $cmd;
- $cmd = "rm -rf ".$::PACKDIR.$s;
- print $cmd."\n";
- system $cmd;
+ if(!defined($failed_packages{$s})) {
+ my $cmd;
+ chdir($oldpwd);
+ $cmd = "rm -rf ".$::SVNDIR.$s;
+ print $cmd."\n";
+ system $cmd;
+ $cmd = "rm -rf ".$::PACKDIR.$s;
+ print $cmd."\n";
+ system $cmd;
+ }
}
# revert to the old state the failed packages, so they
@@ -406,7 +418,9 @@
print "Skipping $p, because no tag defined.\n";
next;
}
- $cmd = "$::SVN cat ".$conf_struct->{$s}{$p}{svnserver}.q(/).$conf_struct->{$s}{$p}{prefix}.
+ my $prefix = $conf_struct->{$s}{$p}{prefix};
+ $prefix = '' unless defined $prefix;
+ $cmd = "$::SVN cat ".$conf_struct->{$s}{$p}{svnserver}.q(/).${prefix}.
q(/).$p.q(/).$conf_struct->{$s}{$p}{tag}."/debian/changelog";
print $cmd."\n";
my $changelog = `$cmd 2> /dev/null | head -1`;
--- 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 ---