diff --git a/fdroidserver/deploy.py b/fdroidserver/deploy.py index ca7bff54..f228edb2 100644 --- a/fdroidserver/deploy.py +++ b/fdroidserver/deploy.py @@ -783,6 +783,10 @@ def main(): if config['per_app_repos']: repo_sections += common.get_per_app_repos() + if os.path.isdir('unsigned') or (local_copy_dir is not None + and os.path.isdir(os.path.join(local_copy_dir, 'unsigned'))): + repo_sections.append('unsigned') + for repo_section in repo_sections: if local_copy_dir is not None: if config['sync_from_local_copy_dir']: diff --git a/tests/run-tests b/tests/run-tests index af415243..249dbb9e 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -1181,7 +1181,7 @@ if have_git_2_3; then LOCAL_COPY_DIR=`create_test_dir`/fdroid mkdir $LOCAL_COPY_DIR ONLINE_ROOT=`create_test_dir` - SERVERWEBROOT=`create_test_dir` + SERVERWEBROOT=`create_test_dir`/fdroid # create offline binary transparency log cd $OFFLINE_ROOT @@ -1202,6 +1202,8 @@ if have_git_2_3; then fdroid_init_with_prebuilt_keystore printf '\narchive_older: 3\n' >> config.yml cp -a $WORKSPACE/tests/metadata $WORKSPACE/tests/repo $WORKSPACE/tests/stats $OFFLINE_ROOT/ + mkdir $OFFLINE_ROOT/unsigned + cp $WORKSPACE/tests/urzip-release-unsigned.apk $OFFLINE_ROOT/unsigned echo "mirrors: ['http://foo.bar/fdroid', 'http://asdflkdsfjafdsdfhkjh.onion/fdroid']" >> config.yml echo "servergitmirrors: $SERVER_GIT_MIRROR" >> config.yml @@ -1216,15 +1218,17 @@ if have_git_2_3; then [ `git rev-list --count HEAD` == "1" ] cd .. $fdroid deploy --verbose + test -e $LOCAL_COPY_DIR/unsigned/urzip-release-unsigned.apk grep -F '