server: --sync-from-local-copy-dir for updating from offline signing repo

To support a fully offline build/signing machine, there is the "local copy
dir".  The repo is generated on the offline machine and then copied to a
local dir where a thumb drive or SD Card is mounted.  Then on the online
machine, using `fdroid server update --sync-from-local-copy-dir` allows
the whole server update process to happen in a single command:

0. read config.py on online machine's repo
1. rsync from the local_copy_dir to the current dir
2. copy to serverwebroot, awsbucket, etc.
This commit is contained in:
Hans-Christoph Steiner 2014-06-26 14:18:29 -04:00
parent fd24416f4e
commit 25f6b0c246
4 changed files with 41 additions and 7 deletions

View file

@ -47,6 +47,7 @@ def get_default_config():
'mvn3': "mvn",
'gradle': 'gradle',
'archive_older': 0,
'sync_from_local_copy_dir': False,
'update_stats': False,
'stats_to_carbon': False,
'repo_maxage': 0,