From 32b17b1444cd95759a4ef50e50e0615f6537ef43 Mon Sep 17 00:00:00 2001 Message-Id: <32b17b1444cd95759a4ef50e50e0615f6537ef43.1430832423.git.hahn@univention.de> From: Philipp Hahn Date: Tue, 5 May 2015 15:21:42 +0200 Subject: [PATCH] Bug #29633 up: Stop mirroring UCS-3.0 errata repositories Organization: Univention GmbH, Bremen, Germany Only mirror 3.0 errata repositories when needed. --- .../ucs-4.0-1/base/univention-updater/conffiles/etc/apt/mirror.list | 4 +++- branches/ucs-4.0/ucs-4.0-1/base/univention-updater/debian/changelog | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/branches/ucs-4.0/ucs-4.0-1/base/univention-updater/conffiles/etc/apt/mirror.list b/branches/ucs-4.0/ucs-4.0-1/base/univention-updater/conffiles/etc/apt/mirror.list index 3bf8320..d30ad92 100644 --- a/branches/ucs-4.0/ucs-4.0-1/base/univention-updater/conffiles/etc/apt/mirror.list +++ b/branches/ucs-4.0/ucs-4.0-1/base/univention-updater/conffiles/etc/apt/mirror.list @@ -29,7 +29,9 @@ try: end = UCS_Version( end ) print mirror.print_version_repositories( clean = True, dists = False, start = start, end = end ) print mirror.print_security_repositories( clean = True, start = start, end = end, all_security_updates = True ) - print mirror.print_errata_repositories( clean = True, start = UCS_Version('3.0-0'), end = UCS_Version('3.0-2'), all_errata_updates = True ) + ESTART, EEND = UCS_Version('3.0-0'), UCS_Version('3.0-2') + if start <= EEND and end >= ESTART: + print mirror.print_errata_repositories(clean=True, start=ESTART, end=EEND, all_errata_updates=True) print mirror.print_component_repositories(clean=True, start=start, end=end, for_mirror_list=True) except Exception: print '# An error occurred during the repository check. The error message:' diff --git a/branches/ucs-4.0/ucs-4.0-1/base/univention-updater/debian/changelog b/branches/ucs-4.0/ucs-4.0-1/base/univention-updater/debian/changelog index 0665b4b..63c26ab 100644 --- a/branches/ucs-4.0/ucs-4.0-1/base/univention-updater/debian/changelog +++ b/branches/ucs-4.0/ucs-4.0-1/base/univention-updater/debian/changelog @@ -1,3 +1,9 @@ +univention-updater (10.0.53-16) unstable; urgency=low + + * Bug #29633: Stop mirroring UCS-3.0 errata repositories + + -- Philipp Hahn Tue, 05 May 2015 15:21:28 +0200 + univention-updater (10.0.53-15) unstable; urgency=low * Bug #38248: Fix major version number printing -- 1.9.1