Your message dated Thu, 17 May 2012 15:48:34 +0000
with message-id <[email protected]>
and subject line Bug#668863: fixed in piuparts 0.44
has caused the Debian Bug report #668863,
regarding Make piuparts-slave.py default to sid
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.)


-- 
668863: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668863
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: piuparts
Version: 0.43
Severity: minor
Tags: patch

The following branch defines a patch which will cause
piuparts-slave-py to default to 'sid' if no 'distro' is defined.

    [email protected]:davesteele/piuparts.git - branch slave-default-distro

Without the patch, Section.run() terminates with an unhandled
exception, due to a reference the unassigned variable 'distro' (line
389), if the 'distro' configuration parameter is not defined.

This matches the behavior of piuparts, which defaults to 'sid'.

---------------------------------------------------------------------------


>From a6e3195346119bb61072358fa5d46c3e99394ac2 Mon Sep 17 00:00:00 2001
From: David Steele <[email protected]>
Date: Sun, 15 Apr 2012 01:05:26 -0400
Subject: [PATCH] piuparts-slave.py defaults to 'sid' if no distro defined
 Otherwise, Section.run() will terminate on an unassigned
 variable reference for 'distro'.   This matches the
 behavior of piuparts, which defaults to sid.   The
 alternative is to make an undefined distro an explicit
 error.

---
 piuparts-slave.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/piuparts-slave.py b/piuparts-slave.py
index 75b6f76..7bb0e88 100644
--- a/piuparts-slave.py
+++ b/piuparts-slave.py
@@ -374,7 +374,7 @@ class Section:
         if self._config["distro"]:
             distros = [self._config["distro"]]
         else:
-            distros = []
+            distros = ['sid']

         if self._config["upgrade-test-distros"]:
             distros += self._config["upgrade-test-distros"].split()
-- 
1.7.9.5



--- End Message ---
--- Begin Message ---
Source: piuparts
Source-Version: 0.44

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

piuparts_0.44.dsc
  to main/p/piuparts/piuparts_0.44.dsc
piuparts_0.44.tar.gz
  to main/p/piuparts/piuparts_0.44.tar.gz
piuparts_0.44_all.deb
  to main/p/piuparts/piuparts_0.44_all.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.
Holger Levsen <[email protected]> (supplier of updated piuparts 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: SHA256

Format: 1.8
Date: Thu, 17 May 2012 14:36:53 +0200
Source: piuparts
Binary: piuparts
Architecture: source all
Version: 0.44
Distribution: unstable
Urgency: low
Maintainer: piuparts developers team <[email protected]>
Changed-By: Holger Levsen <[email protected]>
Description: 
 piuparts   - .deb package installation, upgrading, and removal testing tool
Closes: 668863
Changes: 
 piuparts (0.44) unstable; urgency=low
 .
   [ Andreas Beckmann ]
   * piuparts.py:
     - Add to self.ignored_patterns: /var/lib/ucf/.*
     - Increase output limit to 3 MB (for dist-upgrading daptup).
     - Do not miss Pre-Depends in --warn-on-others mode.
     - Remove packages and reinstall missing ones in one apt-get call.
     - Run 'apt-get dist-upgrade' (instead of upgrade) during chroot setup.
   * piupartslib/packagesdb.py:
     - Only consider the newest version of a package as test candidate.
       (Packages files may contain more than version of the same package.)
   * piuparts-master.py:
     - Implement simple section locking to allow concurrent master instances
       but allow only one instance per section.
   * piuparts-slave.py:
     - Do not leak the logfile file descriptor to piuparts.
     - Skip disabled sections (max-reserved = 0).
     - Do not abort if connection to master failed, just skip the section.
     - Do not abort if Packages file cannot be fetched, just skip the section.
     - Implement simple section locking to allow concurrent slave instances.
     - Sections wait before retry 15 minutes after error and one hour if idle.
     - Create idle.stamp files to remember idle sections for one hour and
       notify concurrent slaves about idle state.
     - Skip misconfigured sections that have neither 'distro' nor
       'upgrade-test-distros' in their config.  (Closes: #668863)
   * piuparts-report.py:
     - Add link to the list of untestable logs.
     - Add more known problem reports: forgotten alternatives, warnings in
       passed logs: leftover files and failed maintainer scripts.
     - Do not abort if logfiles disappear during copying.
   * Makefile: Install documentation with mode 0644 instead of 0755.
 .
   [ Holger Levsen ]
   * piuparts-report: don't create output for disabled sections. (Bye bye
     Lenny!)
   * Bump Standards-Version to 3.9.3, no changes necessary.
Checksums-Sha1: 
 b837a8f269fb5243e23d865feebb5caaa53f0d37 1672 piuparts_0.44.dsc
 38eadb0653d3f7029ddb298412ad005b04465cae 92335 piuparts_0.44.tar.gz
 9e90916994f1da5cb9c7fd63ab49167347deaaea 104674 piuparts_0.44_all.deb
Checksums-Sha256: 
 0e5d222097387ee81edc0f70f127389f6d362d9108c197f30366c06f811bc542 1672 
piuparts_0.44.dsc
 be614d2be1eded42615a1725be9e5c48b732dbf9ad719267ee54a372dea0062d 92335 
piuparts_0.44.tar.gz
 f8e430d2daa930b2852e0debe67d4498e060413bab6c3197ccbe30b820a99ff5 104674 
piuparts_0.44_all.deb
Files: 
 f4d94c78b76548e2a92cf2bbbd10c1c4 1672 devel extra piuparts_0.44.dsc
 5ee4f5ebf8b1962b184303579a315ce2 92335 devel extra piuparts_0.44.tar.gz
 9e982c471c916f1cd69f8a7ba82c31de 104674 devel extra piuparts_0.44_all.deb

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

iQIVAwUBT7UPtgkauFYGmqocAQhdEA/+KXZb1SgL5kdymVxG+WvKQoE8JCbKybBT
Av1wwMpZkfjwks72jiqeVKLwcPWurTwlLqi8B8U4ZveARldi2FnLU+FXR0iv5hPp
FxHeV2vNwwW41ElOps5SlRPLsAz47jnOttce75zOaC/CjT2iRqWSxf0fmN+4M6Gy
yFiwoU/0Vv9FAgeyTQ4z6sTvtOlB6kir3K2mUE9KwmZa2BVYQPculZhVUUWuSD4G
9eyCBoBTQP5H2iFFtLI13VJOxjaop4xw4EXbOjsrmwYQZK59esD2CMqTU+8BRxf8
RVMmV6bj6A+Bq7r6TmhoXPuQxXfC71L5AGsNLy7fyT/NUNP6dKk7XfAcYBZfyktg
CE4Ky/gWXL+0es5u6zuotpLA+8FJfXxXFlYmMeGoO1AfYHvpwY1beh1cRw3j8yzr
+3QrK/Es2H3KPBQl5x9p0luPmgenPpn7MY0H6oduxWioAoeZIxYO39EzaD35kAZF
ifP2ProobLduV9/fIiTMDicbuHfQqfbz/+WOXiOILgOMmFpEDR5Wx0cZz9rB4MbO
gkxpTa2/A1/cydAZQEvqu7s3OYaIFS8f8bPrnjMR0mdKebk9PVF+Qqjf+PS2K1FE
jGHIfhGIBMv36vsOaxhRftalYwZmqieCFn8wgzFfuogXO/cMchMdOj+UJcRbBazj
58Jpje5BAB4=
=4LTW
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to