1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-10 17:30:11 +01:00

Drop --reset-server

This commit is contained in:
g0t mi1k 2024-08-12 09:17:00 +01:00 committed by Hans-Christoph Steiner
parent 1ebf32321f
commit 19aef075b4
2 changed files with 1 additions and 5 deletions

View File

@ -83,7 +83,7 @@ __complete_options() {
__complete_build() { __complete_build() {
opts="-v -q -l -s -t -f -a" opts="-v -q -l -s -t -f -a"
lopts="--verbose --quiet --latest --stop --test --server --reset-server --skip-scan --scan-binary --no-tarball --force --all --no-refresh" lopts="--verbose --quiet --latest --stop --test --server --skip-scan --scan-binary --no-tarball --force --all --no-refresh"
case "${prev}" in case "${prev}" in
:) :)
__vercode __vercode

View File

@ -989,8 +989,6 @@ def parse_commandline():
help=_("Test mode - put output in the tmp directory only, and always build, even if the output already exists.")) help=_("Test mode - put output in the tmp directory only, and always build, even if the output already exists."))
parser.add_argument("--server", action="store_true", default=False, parser.add_argument("--server", action="store_true", default=False,
help=_("Use build server")) help=_("Use build server"))
parser.add_argument("--reset-server", action="store_true", default=False,
help=_("Reset and create a brand new build server, even if the existing one appears to be ok."))
# this option is internal API for telling fdroid that # this option is internal API for telling fdroid that
# it's running inside a buildserver vm. # it's running inside a buildserver vm.
parser.add_argument("--on-server", dest="onserver", action="store_true", default=False, parser.add_argument("--on-server", dest="onserver", action="store_true", default=False,
@ -1080,8 +1078,6 @@ def main():
if config['build_server_always']: if config['build_server_always']:
options.server = True options.server = True
if options.reset_server and not options.server:
parser.error("option %s: Using --reset-server without --server makes no sense" % "reset-server")
log_dir = 'logs' log_dir = 'logs'
if not os.path.isdir(log_dir): if not os.path.isdir(log_dir):