[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.44-690-g342f883
Holger Levsen
holger at layer-acht.org
Sun Jun 17 17:40:23 UTC 2012
The following commit has been merged in the piatti branch:
commit 342f883759ab3bef9e032c46784b26f770a10612
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 4e55dbb..2c3a85a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -94,6 +94,7 @@ piuparts (0.45) UNRELEASED; urgency=low
- Sleep until the next section can be tried, but at least 1 minute.
- Simplify and merge Section.setup() into Section.__init__().
- Generate master command: use global setting and append section.
+ - 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 bd2ced1..5606525 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