comparison bin/publishpackages.py @ 320:0862a14df80b

Rsync call parameters: Using the long version with some parameters for clarity. Added --omit-dir-times - otherwise the dirs have to be owned.
author Bernhard Reiter <bernhard@intevation.de>
date Mon, 21 Dec 2009 13:21:40 +0000
parents f70cee73a7ec
children a798edae0844 25d702bb13f9
comparison
equal deleted inserted replaced
319:dba1b6b825ec 320:0862a14df80b
141 rsync_flags = [] 141 rsync_flags = []
142 if variables["publish_remove_old_packages"]: 142 if variables["publish_remove_old_packages"]:
143 rsync_flags.append("--delete") 143 rsync_flags.append("--delete")
144 if quiet: 144 if quiet:
145 rsync_flags.append("--quiet") 145 rsync_flags.append("--quiet")
146 call(cmdexpand("rsync @rsync_flags -rpt $cachedir/ $remote_destdir/", 146 call(cmdexpand("rsync @rsync_flags -r --perms --times --omit-dir-times"
147 " $cachedir/ $remote_destdir/",
147 rsync_flags=rsync_flags, remote_destdir=remote_destdir, 148 rsync_flags=rsync_flags, remote_destdir=remote_destdir,
148 **variables)) 149 **variables))
149 150
150 151
151 def publish_packages_arch(variables, track, revision, dist, section, arch, 152 def publish_packages_arch(variables, track, revision, dist, section, arch,
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)