chiark / gitweb /
server: --sync-from-local-copy-dir for updating from offline signing repo
authorHans-Christoph Steiner <hans@eds.org>
Thu, 26 Jun 2014 18:18:29 +0000 (14:18 -0400)
committerHans-Christoph Steiner <hans@eds.org>
Fri, 27 Jun 2014 00:47:36 +0000 (20:47 -0400)
commit25f6b0c246c43822a6aa38af958a804c3df611b4
tree79aba314815acc57667304422b65e1821c777a91
parentfd24416f4e8fa679929f278234d12841bb70a899
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.
examples/config.py
fdroidserver/common.py
fdroidserver/server.py
tests/run-tests