chiark / gitweb /
switch serverwebroot rsync to --archive for guaranteed full sync
authorHans-Christoph Steiner <hans@eds.org>
Thu, 26 Jun 2014 17:05:24 +0000 (13:05 -0400)
committerHans-Christoph Steiner <hans@eds.org>
Fri, 27 Jun 2014 00:47:36 +0000 (20:47 -0400)
commitfd24416f4e8fa679929f278234d12841bb70a899
tree6f2314443c8d08a119d9525c00dc39862fbf196a
parentd73b43c5fc99a4aaf3444f0c2f7628f71e333915
switch serverwebroot rsync to --archive for guaranteed full sync

In `fdroid server update`, the rsync command used --update, which
`man rsync` says: "skip files that are newer on the receiver".  That could
cause issues of the public repo getting out of sync with the private,
master repo.  --archive is a better sync method since it aims to exactly
reproduce the sending dir to the receiving dir.
fdroidserver/server.py