changeset 424:a2ba58ffbfbe treepkg-status

run rsync only an arch dirs that are present in the current treepkg
author Bjoern Ricks <bricks@intevation.de>
date Wed, 28 Jul 2010 07:35:21 +0000
parents 855829a4a2db
children b0179962ce26
files bin/publishdebianpackages.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bin/publishdebianpackages.py	Tue Jul 27 16:28:22 2010 +0000
+++ b/bin/publishdebianpackages.py	Wed Jul 28 07:35:21 2010 +0000
@@ -219,6 +219,7 @@
             newpackages.append(newpackage)
     copy_packages_to_destdir(cachedb, cachedir, newpackages, variables, quiet)
     remove_old_packages(cachedb, newpackages, quiet)
+    return binallarchs
 
 def publish_packages(config_filename, track, revision, dist, section, quiet):
     config = read_config(config_filename)
@@ -229,8 +230,9 @@
         section = config["section"]
 
     architectures = config["architectures"]
-    copy_to_cachedir(config, track, revision, quiet, architectures)
-    copy_to_publishdir(config, dist, section, None, quiet)
+    allarchs = opy_to_cachedir(config, track, revision, quiet, architectures)
+    for arch in allarchs:
+        copy_to_publishdir(config, dist, section, arch, quiet)
 
     # update apt archive
     if not EMPTY.match(config["after_upload_hook"]):
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)