[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.44-755-ga3ab31d

Andreas Beckmann debian at abeckmann.de
Mon Jun 18 11:38:09 UTC 2012


The following commit has been merged in the piatti branch:
commit be9cff529906b2c406509a711f4d0f0d3f8c14bc
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Sun Jun 17 19:14:36 2012 +0200

    p-s: don't update the tarball for disabled sections
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/debian/changelog b/debian/changelog
index 02da734..0efb985 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -110,6 +110,7 @@ piuparts (0.45) UNRELEASED; urgency=low
     - Simplify and merge Section.setup() into Section.__init__().
     - Generate master command: use global setting and append section.
     - Test the 'dpkg' package for creating/updating a base_tgz.
+    - Don't update the tarball for disabled sections.
   * piuparts-report.py:
     - Remove known_circular_depends handling.
     - Exclude obsolete states from generated report.
diff --git a/piuparts-slave.py b/piuparts-slave.py
index 170d829..2257cc0 100644
--- a/piuparts-slave.py
+++ b/piuparts-slave.py
@@ -263,7 +263,8 @@ class Section:
 
         self._base_tgz_ctrl = [int(global_config["max-tgz-age"]),
                                int(global_config["min-tgz-retry-delay"])]
-        self._check_tarball()
+        if int(self._config["max-reserved"]) > 0:
+            self._check_tarball()
 
         for rdir in ["new", "pass", "fail", "untestable", "reserved"]:
             rdir = os.path.join(self._slave_directory, rdir)

-- 
piuparts git repository



More information about the Piuparts-commits mailing list