mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
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.
This commit is contained in:
parent
d73b43c5fc
commit
fd24416f4e
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ def update_awsbucket(repo_section):
|
|||
|
||||
|
||||
def update_serverwebroot(repo_section):
|
||||
rsyncargs = ['rsync', '--update', '--recursive', '--delete']
|
||||
rsyncargs = ['rsync', '--archive', '--delete']
|
||||
if options.verbose:
|
||||
rsyncargs += ['--verbose']
|
||||
if options.quiet:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue