comparison bin/publishdebianpackages.py @ 431:0953704dc49e treepkg-status

publish package must be default to get original behaviour be more verbose at publishing
author Bjoern Ricks <bricks@intevation.de>
date Thu, 29 Jul 2010 13:43:39 +0000
parents 4aaf73a6225e
children eab777e1bafd
comparison
equal deleted inserted replaced
430:4aaf73a6225e 431:0953704dc49e
31 "build_user", "build_host", "build_listpackages", 31 "build_user", "build_host", "build_listpackages",
32 "publish_user", "publish_host", 32 "publish_user", "publish_host",
33 ("architectures", shlex.split, "armel i386 source"), 33 ("architectures", shlex.split, "armel i386 source"),
34 ("after_upload_hook", shlex.split), 34 ("after_upload_hook", shlex.split),
35 ("after_copy_hook", shlex.split), 35 ("after_copy_hook", shlex.split),
36 ("publish_packages", convert_bool, "False"), 36 ("publish_packages", convert_bool, "True"),
37 ("publish_remove_old_packages", convert_bool), 37 ("publish_remove_old_packages", convert_bool),
38 ("publish_dir", remove_trailing_slashes), 38 ("publish_dir", remove_trailing_slashes),
39 ("cachedb", 39 ("cachedb",
40 lambda s: expand_filename(remove_trailing_slashes(s))), 40 lambda s: expand_filename(remove_trailing_slashes(s))),
41 ("cachedir", 41 ("cachedir",
237 print "running after copy hook" 237 print "running after copy hook"
238 call(config["after_copy_hook"]) 238 call(config["after_copy_hook"])
239 239
240 if config["publish_packages"]: 240 if config["publish_packages"]:
241 for arch in architectures: 241 for arch in architectures:
242 if not quiet:
243 print "publish packages for achtitecture %s" % arch
242 copy_arch_to_publishdir(config, dist, section, get_binary_arch(arch), 244 copy_arch_to_publishdir(config, dist, section, get_binary_arch(arch),
243 quiet) 245 quiet)
244 246
245 # update apt archive 247 # update apt archive
246 if config["after_upload_hook"] and \ 248 if config["after_upload_hook"] and \
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)