[Treepkg-commits] r384 - branches/treepkg-status/bin
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Jul 28 09:35:22 CEST 2010
Author: bricks
Date: 2010-07-28 09:35:21 +0200 (Wed, 28 Jul 2010)
New Revision: 384
Modified:
branches/treepkg-status/bin/publishdebianpackages.py
Log:
run rsync only an arch dirs that are present in the current treepkg
Modified: branches/treepkg-status/bin/publishdebianpackages.py
===================================================================
--- branches/treepkg-status/bin/publishdebianpackages.py 2010-07-27 16:28:22 UTC (rev 383)
+++ branches/treepkg-status/bin/publishdebianpackages.py 2010-07-28 07:35:21 UTC (rev 384)
@@ -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"]):
More information about the Treepkg-commits
mailing list