2016-01-04 16:33:20 +01:00
|
|
|
#!/usr/bin/env python3
|
2013-12-30 17:11:52 +01:00
|
|
|
|
2013-08-29 20:21:40 +02:00
|
|
|
# Copy this file to config.py, then amend the settings below according to
|
|
|
|
# your system configuration.
|
2010-10-22 00:26:38 +02:00
|
|
|
|
2015-07-25 01:27:45 +02:00
|
|
|
# Custom path to the Android SDK, defaults to $ANDROID_HOME
|
2015-11-03 10:53:03 +01:00
|
|
|
# sdk_path = "$ANDROID_HOME"
|
2015-07-25 01:27:45 +02:00
|
|
|
|
2016-08-12 20:24:54 +02:00
|
|
|
# Custom paths to various versions of the Android NDK, defaults to 'r12b' set
|
2015-09-04 07:06:43 +02:00
|
|
|
# to $ANDROID_NDK. Most users will have the latest at $ANDROID_NDK, which is
|
|
|
|
# used by default. If a version is missing or assigned to None, it is assumed
|
2015-07-25 01:27:45 +02:00
|
|
|
# not installed.
|
|
|
|
# ndk_paths = {
|
2016-08-02 11:09:32 +02:00
|
|
|
# 'r10e': None,
|
2016-08-12 20:24:54 +02:00
|
|
|
# 'r11c': None,
|
2016-08-02 11:09:32 +02:00
|
|
|
# 'r12b': "$ANDROID_NDK",
|
2016-11-25 21:10:44 +01:00
|
|
|
# 'r13b': None,
|
2017-07-04 09:46:52 +02:00
|
|
|
# 'r14b': None,
|
2017-08-11 09:19:40 +02:00
|
|
|
# 'r15c': None,
|
2018-02-11 08:20:42 +01:00
|
|
|
# 'r16b': None,
|
2019-03-30 22:10:21 +01:00
|
|
|
# 'r17c': None,
|
2018-10-22 18:31:57 +02:00
|
|
|
# 'r18b': None,
|
2019-03-30 22:10:21 +01:00
|
|
|
# 'r19c': None,
|
2019-12-16 01:07:03 +01:00
|
|
|
# 'r20b': None,
|
2020-06-10 21:55:53 +02:00
|
|
|
# 'r21d': None,
|
2015-07-25 01:27:45 +02:00
|
|
|
# }
|
2013-08-29 20:21:40 +02:00
|
|
|
|
2018-07-08 17:34:17 +02:00
|
|
|
# Directory to store downloaded tools in (i.e. gradle versions)
|
|
|
|
# By default, these are stored in ~/.cache/fdroidserver
|
|
|
|
# cachedir = cache
|
|
|
|
|
2015-09-04 06:44:59 +02:00
|
|
|
# java_paths = {
|
2018-03-12 12:01:16 +01:00
|
|
|
# '8': "/usr/lib/jvm/java-8-openjdk",
|
2015-09-04 06:44:59 +02:00
|
|
|
# }
|
|
|
|
|
2013-08-08 12:55:48 +02:00
|
|
|
# Build tools version to be used
|
2019-03-30 22:10:21 +01:00
|
|
|
# build_tools = "28.0.3"
|
2013-08-08 12:55:48 +02:00
|
|
|
|
2016-06-20 20:00:59 +02:00
|
|
|
# Force all build to use the above version of build -tools, good for testing
|
|
|
|
# builds without having all of the possible build-tools installed.
|
|
|
|
# force_build_tools = True
|
|
|
|
|
2015-01-03 00:02:54 +01:00
|
|
|
# Command or path to binary for running Ant
|
2015-08-27 19:34:37 +02:00
|
|
|
# ant = "ant"
|
2012-09-13 09:23:12 +02:00
|
|
|
|
2015-01-03 00:02:54 +01:00
|
|
|
# Command or path to binary for running maven 3
|
2015-08-27 19:34:37 +02:00
|
|
|
# mvn3 = "mvn"
|
2014-01-26 21:39:30 +01:00
|
|
|
|
2015-01-03 00:02:54 +01:00
|
|
|
# Command or path to binary for running Gradle
|
2018-07-08 17:34:17 +02:00
|
|
|
# Defaults to using an internal gradle wrapper (gradlew-fdroid).
|
2015-08-27 19:34:37 +02:00
|
|
|
# gradle = "gradle"
|
2013-08-08 12:55:48 +02:00
|
|
|
|
2020-06-15 20:03:19 +02:00
|
|
|
# Always scan the APKs produced by `fdroid build` for known non-free classes
|
|
|
|
# scan_binary = True
|
|
|
|
|
2013-11-26 23:07:47 +01:00
|
|
|
# Set the maximum age (in days) of an index that a client should accept from
|
|
|
|
# this repo. Setting it to 0 or not setting it at all disables this
|
|
|
|
# functionality. If you do set this to a non-zero value, you need to ensure
|
|
|
|
# that your index is updated much more frequently than the specified interval.
|
|
|
|
# The same policy is applied to the archive repo, if there is one.
|
2015-08-27 19:34:37 +02:00
|
|
|
# repo_maxage = 0
|
2013-11-26 23:07:47 +01:00
|
|
|
|
2014-06-04 21:47:54 +02:00
|
|
|
repo_url = "https://MyFirstFDroidRepo.org/fdroid/repo"
|
2015-06-21 13:51:23 +02:00
|
|
|
repo_name = "My First F-Droid Repo Demo"
|
2010-12-17 13:31:04 +01:00
|
|
|
repo_icon = "fdroid-icon.png"
|
2014-07-03 02:57:47 +02:00
|
|
|
repo_description = """
|
2015-06-21 13:51:23 +02:00
|
|
|
This is a repository of apps to be used with F-Droid. Applications in this
|
2014-07-03 02:57:47 +02:00
|
|
|
repository are either official binaries built by the original application
|
|
|
|
developers, or are binaries built from source by the admin of f-droid.org
|
|
|
|
using the tools on https://gitlab.com/u/fdroid.
|
|
|
|
"""
|
2010-12-17 13:31:04 +01:00
|
|
|
|
2013-05-09 21:09:17 +02:00
|
|
|
# As above, but for the archive repo.
|
|
|
|
# archive_older sets the number of versions kept in the main repo, with all
|
|
|
|
# older ones going to the archive. Set it to 0, and there will be no archive
|
|
|
|
# repository, and no need to define the other archive_ values.
|
|
|
|
archive_older = 3
|
|
|
|
archive_url = "https://f-droid.org/archive"
|
2015-06-21 13:51:23 +02:00
|
|
|
archive_name = "My First F-Droid Archive Demo"
|
2013-05-09 21:09:17 +02:00
|
|
|
archive_icon = "fdroid-icon.png"
|
2014-07-03 02:57:47 +02:00
|
|
|
archive_description = """
|
|
|
|
The repository of older versions of applications from the main demo repository.
|
|
|
|
"""
|
2013-05-09 21:09:17 +02:00
|
|
|
|
2017-06-27 21:40:39 +02:00
|
|
|
# This allows a specific kind of insecure APK to be included in the
|
|
|
|
# 'repo' section. Since April 2017, APK signatures that use MD5 are
|
|
|
|
# no longer considered valid, jarsigner and apksigner will return an
|
|
|
|
# error when verifying. `fdroid update` will move APKs with these
|
|
|
|
# disabled signatures to the archive. This option stops that
|
|
|
|
# behavior, and lets those APKs stay part of 'repo'.
|
|
|
|
#
|
|
|
|
# allow_disabled_algorithms = True
|
|
|
|
|
2015-08-20 17:40:18 +02:00
|
|
|
# Normally, all apps are collected into a single app repository, like on
|
2015-09-04 07:06:43 +02:00
|
|
|
# https://f-droid.org. For certain situations, it is better to make a repo
|
|
|
|
# that is made up of APKs only from a single app. For example, an automated
|
2015-08-20 17:40:18 +02:00
|
|
|
# build server that publishes nightly builds.
|
|
|
|
# per_app_repos = True
|
|
|
|
|
static URLs to "Current Version" of each app
I wrote up the feature to automatically generate symlinks with a constant name
that points to the current release version. I have it on by default, with a
*config.py* option to turn it off. There is also an option to set where the
symlink name comes from which defaults to app['Name'] i.e. F-Droid.apk, but
can easily be set to app['id'], i.e. _org.fdroid.fdroid.apk_. I think the best
place for the symlinks is in the root of the repo, so like
https://f-droid.org/F-Droid.apk or https://guardianproject.info/fdroid/ChatSecure.apk
For the case of the current FDroid static link https://f-droid.org/FDroid.apk
it can just be a symlink to the generated one (https://f-droid.org/F-Droid.apk
or https://f-droid.org/org.fdroid.fdroid.apk). Right now, this feature is all
or nothing, meaning it generates symlinks for all apps in the repo, or none. I
can’t think of any problems that this might cause since its only symlinks, so
the amount of disk space is tiny. Also, I think it would be useful for having
an easy “Download this app” button on each app’s page on the “Browse” view. As
long as this button is less prominent than the “Download F-Droid” button, and
it is clear that it is better to use the FDroid app than doing direct
downloads. For the f-droid.org repo, the symlinks should probably be based on
app['id'] to prevent name conflicts.
more info here:
https://f-droid.org/forums/topic/static-urls-to-current-version-of-each-app/
2014-10-11 02:47:21 +02:00
|
|
|
# `fdroid update` will create a link to the current version of a given app.
|
2015-09-04 07:06:43 +02:00
|
|
|
# This provides a static path to the current APK. To disable the creation of
|
static URLs to "Current Version" of each app
I wrote up the feature to automatically generate symlinks with a constant name
that points to the current release version. I have it on by default, with a
*config.py* option to turn it off. There is also an option to set where the
symlink name comes from which defaults to app['Name'] i.e. F-Droid.apk, but
can easily be set to app['id'], i.e. _org.fdroid.fdroid.apk_. I think the best
place for the symlinks is in the root of the repo, so like
https://f-droid.org/F-Droid.apk or https://guardianproject.info/fdroid/ChatSecure.apk
For the case of the current FDroid static link https://f-droid.org/FDroid.apk
it can just be a symlink to the generated one (https://f-droid.org/F-Droid.apk
or https://f-droid.org/org.fdroid.fdroid.apk). Right now, this feature is all
or nothing, meaning it generates symlinks for all apps in the repo, or none. I
can’t think of any problems that this might cause since its only symlinks, so
the amount of disk space is tiny. Also, I think it would be useful for having
an easy “Download this app” button on each app’s page on the “Browse” view. As
long as this button is less prominent than the “Download F-Droid” button, and
it is clear that it is better to use the FDroid app than doing direct
downloads. For the f-droid.org repo, the symlinks should probably be based on
app['id'] to prevent name conflicts.
more info here:
https://f-droid.org/forums/topic/static-urls-to-current-version-of-each-app/
2014-10-11 02:47:21 +02:00
|
|
|
# this link, uncomment this:
|
|
|
|
# make_current_version_link = False
|
|
|
|
|
|
|
|
# By default, the "current version" link will be based on the "Name" of the
|
2015-09-04 07:06:43 +02:00
|
|
|
# app from the metadata. You can change it to use a different field from the
|
static URLs to "Current Version" of each app
I wrote up the feature to automatically generate symlinks with a constant name
that points to the current release version. I have it on by default, with a
*config.py* option to turn it off. There is also an option to set where the
symlink name comes from which defaults to app['Name'] i.e. F-Droid.apk, but
can easily be set to app['id'], i.e. _org.fdroid.fdroid.apk_. I think the best
place for the symlinks is in the root of the repo, so like
https://f-droid.org/F-Droid.apk or https://guardianproject.info/fdroid/ChatSecure.apk
For the case of the current FDroid static link https://f-droid.org/FDroid.apk
it can just be a symlink to the generated one (https://f-droid.org/F-Droid.apk
or https://f-droid.org/org.fdroid.fdroid.apk). Right now, this feature is all
or nothing, meaning it generates symlinks for all apps in the repo, or none. I
can’t think of any problems that this might cause since its only symlinks, so
the amount of disk space is tiny. Also, I think it would be useful for having
an easy “Download this app” button on each app’s page on the “Browse” view. As
long as this button is less prominent than the “Download F-Droid” button, and
it is clear that it is better to use the FDroid app than doing direct
downloads. For the f-droid.org repo, the symlinks should probably be based on
app['id'] to prevent name conflicts.
more info here:
https://f-droid.org/forums/topic/static-urls-to-current-version-of-each-app/
2014-10-11 02:47:21 +02:00
|
|
|
# metadata here:
|
2016-11-29 13:40:21 +01:00
|
|
|
# current_version_name_source = 'packageName'
|
2013-05-09 21:09:17 +02:00
|
|
|
|
2015-06-02 10:16:29 +02:00
|
|
|
# Optionally, override home directory for gpg
|
2016-11-03 10:26:38 +01:00
|
|
|
# gpghome = '/home/fdroid/somewhere/else/.gnupg'
|
2015-06-02 10:16:29 +02:00
|
|
|
|
2014-04-28 22:32:00 +02:00
|
|
|
# The ID of a GPG key for making detached signatures for apks. Optional.
|
2014-05-28 09:30:55 +02:00
|
|
|
# gpgkey = '1DBA2E89'
|
2014-04-28 22:32:00 +02:00
|
|
|
|
2014-04-04 03:44:40 +02:00
|
|
|
# The key (from the keystore defined below) to be used for signing the
|
2015-09-04 07:06:43 +02:00
|
|
|
# repository itself. This is the same name you would give to keytool or
|
|
|
|
# jarsigner using -alias. (Not needed in an unsigned repository).
|
2014-05-28 09:30:55 +02:00
|
|
|
# repo_keyalias = "fdroidrepo"
|
2011-01-29 10:32:21 +01:00
|
|
|
|
2015-01-10 16:44:16 +01:00
|
|
|
# Optionally, the public key for the key defined by repo_keyalias above can
|
|
|
|
# be specified here. There is no need to do this, as the public key can and
|
|
|
|
# will be retrieved from the keystore when needed. However, specifying it
|
|
|
|
# manually can allow some processing to take place without access to the
|
|
|
|
# keystore.
|
|
|
|
# repo_pubkey = "..."
|
|
|
|
|
2014-04-04 04:07:45 +02:00
|
|
|
# The keystore to use for release keys when building. This needs to be
|
|
|
|
# somewhere safe and secure, and backed up! The best way to manage these
|
|
|
|
# sensitive keys is to use a "smartcard" (aka Hardware Security Module). To
|
2015-06-21 13:51:23 +02:00
|
|
|
# configure F-Droid to use a smartcard, set the keystore file using the keyword
|
2015-09-04 07:06:43 +02:00
|
|
|
# "NONE" (i.e. keystore = "NONE"). That makes Java find the keystore on the
|
2014-04-04 04:07:45 +02:00
|
|
|
# smartcard based on 'smartcardoptions' below.
|
2014-05-28 09:30:55 +02:00
|
|
|
# keystore = "~/.local/share/fdroidserver/keystore.jks"
|
2014-04-04 04:07:45 +02:00
|
|
|
|
|
|
|
# You should not need to change these at all, unless you have a very
|
|
|
|
# customized setup for using smartcards in Java with keytool/jarsigner
|
2020-09-09 18:57:34 +02:00
|
|
|
# smartcardoptions = "-storetype PKCS11 \
|
2014-04-04 04:07:45 +02:00
|
|
|
# -providerClass sun.security.pkcs11.SunPKCS11 \
|
|
|
|
# -providerArg opensc-fdroid.cfg"
|
2011-01-04 22:44:14 +01:00
|
|
|
|
2015-09-04 07:06:43 +02:00
|
|
|
# The password for the keystore (at least 6 characters). If this password is
|
2014-04-01 03:02:42 +02:00
|
|
|
# different than the keypass below, it can be OK to store the password in this
|
2015-09-04 07:06:43 +02:00
|
|
|
# file for real use. But in general, sensitive passwords should not be stored
|
2014-04-01 03:02:42 +02:00
|
|
|
# in text files!
|
2014-05-28 09:30:55 +02:00
|
|
|
# keystorepass = "password1"
|
2014-04-01 03:02:42 +02:00
|
|
|
|
|
|
|
# The password for keys - the same is used for each auto-generated key as well
|
2015-09-04 07:06:43 +02:00
|
|
|
# as for the repository key. You should not normally store this password in a
|
2014-04-01 03:02:42 +02:00
|
|
|
# file since it is a sensitive password.
|
2014-05-28 09:30:55 +02:00
|
|
|
# keypass = "password2"
|
2011-01-04 22:44:14 +01:00
|
|
|
|
2014-05-28 09:30:55 +02:00
|
|
|
# The distinguished name used for all keys.
|
2015-08-27 19:34:37 +02:00
|
|
|
# keydname = "CN=Birdman, OU=Cell, O=Alcatraz, L=Alcatraz, S=California, C=US"
|
2011-01-04 23:45:38 +01:00
|
|
|
|
2014-05-28 09:30:55 +02:00
|
|
|
# Use this to override the auto-generated key aliases with specific ones
|
|
|
|
# for particular applications. Normally, just leave it empty.
|
2015-08-27 19:34:37 +02:00
|
|
|
# keyaliases = {}
|
|
|
|
# keyaliases['com.example.app'] = 'example'
|
2014-05-28 09:30:55 +02:00
|
|
|
# You can also force an app to use the same key alias as another one, using
|
|
|
|
# the @ prefix.
|
2015-08-27 19:34:37 +02:00
|
|
|
# keyaliases['com.example.another.plugin'] = '@com.example.another'
|
2011-01-04 23:45:38 +01:00
|
|
|
|
2014-06-26 17:57:40 +02:00
|
|
|
|
2015-09-04 07:06:43 +02:00
|
|
|
# The full path to the root of the repository. It must be specified in
|
2013-12-04 21:28:41 +01:00
|
|
|
# rsync/ssh format for a remote host/path. This is used for syncing a locally
|
2015-09-04 07:06:43 +02:00
|
|
|
# generated repo to the server that is it hosted on. It must end in the
|
2013-12-04 21:28:41 +01:00
|
|
|
# standard public repo name of "/fdroid", but can be in up to three levels of
|
2015-09-04 07:06:43 +02:00
|
|
|
# sub-directories (i.e. /var/www/packagerepos/fdroid). You can include
|
2014-07-14 21:03:58 +02:00
|
|
|
# multiple servers to sync to by wrapping the whole thing in {} or [], and
|
|
|
|
# including the serverwebroot strings in a comma-separated list.
|
2014-06-26 17:57:40 +02:00
|
|
|
#
|
2014-05-28 09:30:55 +02:00
|
|
|
# serverwebroot = 'user@example:/var/www/fdroid'
|
2014-07-14 21:03:58 +02:00
|
|
|
# serverwebroot = {
|
|
|
|
# 'foo.com:/usr/share/nginx/www/fdroid',
|
|
|
|
# 'bar.info:/var/www/fdroid',
|
|
|
|
# }
|
2013-12-04 21:28:41 +01:00
|
|
|
|
2020-02-18 15:21:52 +01:00
|
|
|
# When running fdroid processes on a remote server, it is possible to
|
|
|
|
# publish extra information about the status. Each fdroid sub-command
|
|
|
|
# can create repo/status/running.json when it starts, then a
|
|
|
|
# repo/status/<sub-command>.json when it completes. The builds logs
|
|
|
|
# and other processes will also get published, if they are running in
|
|
|
|
# a buildserver VM. The build logs name scheme is:
|
|
|
|
# .../repo/$APPID_$VERCODE.log.gz. These files are also pushed to all
|
|
|
|
# servers configured in 'serverwebroot'.
|
2018-06-10 23:23:43 +02:00
|
|
|
#
|
2018-06-19 15:18:13 +02:00
|
|
|
# deploy_process_logs = True
|
2018-06-10 23:23:43 +02:00
|
|
|
|
2017-02-10 18:38:25 +01:00
|
|
|
# The full URL to a git remote repository. You can include
|
|
|
|
# multiple servers to mirror to by wrapping the whole thing in {} or [], and
|
|
|
|
# including the servergitmirrors strings in a comma-separated list.
|
|
|
|
# Servers listed here will also be automatically inserted in the mirrors list.
|
|
|
|
#
|
|
|
|
# servergitmirrors = 'https://github.com/user/repo'
|
|
|
|
# servergitmirrors = {
|
|
|
|
# 'https://github.com/user/repo',
|
|
|
|
# 'https://gitlab.com/user/repo',
|
|
|
|
# }
|
|
|
|
|
2020-01-13 11:48:23 +01:00
|
|
|
# Most git hosting services have hard size limits for each git repo.
|
|
|
|
# `fdroid deploy` will delete the git history when the git mirror repo
|
|
|
|
# approaches this limit to ensure that the repo will still fit when
|
|
|
|
# pushed. GitHub recommends 1GB, gitlab.com recommends 10GB.
|
|
|
|
#
|
|
|
|
# git_mirror_size_limit = '10GB'
|
|
|
|
|
2016-02-16 23:43:23 +01:00
|
|
|
# Any mirrors of this repo, for example all of the servers declared in
|
2017-02-10 18:38:25 +01:00
|
|
|
# serverwebroot and all the servers declared in servergitmirrors,
|
|
|
|
# will automatically be used by the client. If one
|
2016-02-16 23:43:23 +01:00
|
|
|
# mirror is not working, then the client will try another. If the
|
|
|
|
# client has Tor enabled, then the client will prefer mirrors with
|
|
|
|
# .onion addresses. This base URL will be used for both the main repo
|
|
|
|
# and the archive, if it is enabled. So these URLs should end in the
|
|
|
|
# 'fdroid' base of the F-Droid part of the web server like serverwebroot.
|
|
|
|
#
|
2017-02-23 21:23:45 +01:00
|
|
|
# mirrors = (
|
2016-02-16 23:43:23 +01:00
|
|
|
# 'https://foo.bar/fdroid',
|
|
|
|
# 'http://foobarfoobarfoobar.onion/fdroid',
|
2017-02-23 21:23:45 +01:00
|
|
|
# )
|
2014-06-26 17:57:40 +02:00
|
|
|
|
2017-04-24 21:22:33 +02:00
|
|
|
# optionally specify which identity file to use when using rsync or git over SSH
|
2014-06-26 17:57:40 +02:00
|
|
|
#
|
2014-06-05 22:21:12 +02:00
|
|
|
# identity_file = '~/.ssh/fdroid_id_rsa'
|
|
|
|
|
2014-06-26 17:57:40 +02:00
|
|
|
|
|
|
|
# If you are running the repo signing process on a completely offline machine,
|
|
|
|
# which provides the best security, then you can specify a folder to sync the
|
2015-09-04 07:06:43 +02:00
|
|
|
# repo to when running `fdroid server update`. This is most likely going to
|
|
|
|
# be a USB thumb drive, SD Card, or some other kind of removable media. Make
|
|
|
|
# sure it is mounted before running `fdroid server update`. Using the
|
2014-06-26 17:57:40 +02:00
|
|
|
# standard folder called 'fdroid' as the specified folder is recommended, like
|
|
|
|
# with serverwebroot.
|
|
|
|
#
|
|
|
|
# local_copy_dir = '/media/MyUSBThumbDrive/fdroid'
|
|
|
|
|
|
|
|
|
2014-06-26 20:18:29 +02:00
|
|
|
# If you are using local_copy_dir on an offline build/signing server, once the
|
|
|
|
# thumb drive has been plugged into the online machine, it will need to be
|
2015-09-04 07:06:43 +02:00
|
|
|
# synced to the copy on the online machine. To make that happen
|
2014-06-26 20:18:29 +02:00
|
|
|
# automatically, set sync_from_local_copy_dir to True:
|
|
|
|
#
|
|
|
|
# sync_from_local_copy_dir = True
|
|
|
|
|
|
|
|
|
2017-11-28 12:07:51 +01:00
|
|
|
# To upload the repo to an Amazon S3 bucket using `fdroid server
|
|
|
|
# update`. Warning, this deletes and recreates the whole fdroid/
|
|
|
|
# directory each time. This prefers s3cmd, but can also use
|
|
|
|
# apache-libcloud. To customize how s3cmd interacts with the cloud
|
|
|
|
# provider, create a 's3cfg' file next to this file (config.py), and
|
|
|
|
# those settings will be used instead of any 'aws' variable below.
|
2014-06-26 17:57:40 +02:00
|
|
|
#
|
2014-05-28 09:30:55 +02:00
|
|
|
# awsbucket = 'myawsfdroid'
|
|
|
|
# awsaccesskeyid = 'SEE0CHAITHEIMAUR2USA'
|
|
|
|
# awssecretkey = 'yourverysecretkeywordpassphraserighthere'
|
2014-04-16 04:41:28 +02:00
|
|
|
|
2014-06-26 17:57:40 +02:00
|
|
|
|
2018-06-26 11:31:52 +02:00
|
|
|
# If you want to force 'fdroid server' to use a non-standard serverwebroot.
|
|
|
|
# This will allow you to have 'serverwebroot' entries which do not end in
|
|
|
|
# '/fdroid'. (Please note that some client features expect repository URLs
|
|
|
|
# to end in '/fdroid/repo'.)
|
2014-06-26 17:57:40 +02:00
|
|
|
#
|
2014-05-28 09:30:55 +02:00
|
|
|
# nonstandardwebroot = False
|
2011-01-04 22:44:14 +01:00
|
|
|
|
2014-06-26 17:57:40 +02:00
|
|
|
|
2017-03-01 22:34:55 +01:00
|
|
|
# If you want to upload the release apk file to androidobservatory.org
|
|
|
|
#
|
2017-04-10 20:14:18 +02:00
|
|
|
# androidobservatory = False
|
2017-03-01 22:34:55 +01:00
|
|
|
|
|
|
|
|
2017-03-03 13:44:55 +01:00
|
|
|
# If you want to upload the release apk file to virustotal.com
|
|
|
|
# You have to enter your profile apikey to enable the upload.
|
|
|
|
#
|
|
|
|
# virustotal_apikey = "virustotal_apikey"
|
|
|
|
|
|
|
|
|
2015-08-27 19:34:37 +02:00
|
|
|
# The build logs can be posted to a mediawiki instance, like on f-droid.org.
|
|
|
|
# wiki_protocol = "http"
|
|
|
|
# wiki_server = "server"
|
|
|
|
# wiki_path = "/wiki/"
|
|
|
|
# wiki_user = "login"
|
|
|
|
# wiki_password = "1234"
|
2012-08-22 18:24:33 +02:00
|
|
|
|
2016-12-16 12:19:07 +01:00
|
|
|
# Keep a log of all generated index files in a git repo to provide a
|
|
|
|
# "binary transparency" log for anyone to check the history of the
|
|
|
|
# binaries that are published. This is in the form of a "git remote",
|
|
|
|
# which this machine where `fdroid update` is run has already been
|
|
|
|
# configured to allow push access (e.g. ssh key, username/password, etc)
|
|
|
|
# binary_transparency_remote = "git@gitlab.com:fdroid/binary-transparency-log.git"
|
|
|
|
|
2014-05-28 09:30:55 +02:00
|
|
|
# Only set this to true when running a repository where you want to generate
|
|
|
|
# stats, and only then on the master build servers, not a development
|
2016-11-28 21:10:58 +01:00
|
|
|
# machine. If you want to keep the "added" and "last updated" dates for each
|
|
|
|
# app and APK in your repo, then you should enable this.
|
2015-08-27 19:34:37 +02:00
|
|
|
# update_stats = True
|
2012-08-31 19:17:38 +02:00
|
|
|
|
2014-08-22 22:18:55 +02:00
|
|
|
# When used with stats, this is a list of IP addresses that are ignored for
|
|
|
|
# calculation purposes.
|
2015-08-27 19:34:37 +02:00
|
|
|
# stats_ignore = []
|
2014-08-22 22:18:55 +02:00
|
|
|
|
2014-09-02 19:53:22 +02:00
|
|
|
# Server stats logs are retrieved from. Required when update_stats is True.
|
2015-08-27 19:34:37 +02:00
|
|
|
# stats_server = "example.com"
|
2014-09-02 19:53:22 +02:00
|
|
|
|
|
|
|
# User stats logs are retrieved from. Required when update_stats is True.
|
2015-08-27 19:34:37 +02:00
|
|
|
# stats_user = "bob"
|
2014-09-02 19:53:22 +02:00
|
|
|
|
2014-05-28 09:30:55 +02:00
|
|
|
# Use the following to push stats to a Carbon instance:
|
2015-08-27 19:34:37 +02:00
|
|
|
# stats_to_carbon = False
|
|
|
|
# carbon_host = '0.0.0.0'
|
|
|
|
# carbon_port = 2003
|
2013-05-23 12:04:57 +02:00
|
|
|
|
2014-05-28 09:30:55 +02:00
|
|
|
# Set this to true to always use a build server. This saves specifying the
|
|
|
|
# --server option on dedicated secure build server hosts.
|
2015-08-27 19:34:37 +02:00
|
|
|
# build_server_always = True
|
2014-01-02 19:28:55 +01:00
|
|
|
|
2016-06-20 20:00:59 +02:00
|
|
|
# By default, fdroid will use YAML .yml and the custom .txt metadata formats. It
|
2016-11-23 15:01:23 +01:00
|
|
|
# is also possible to have metadata in JSON by adding 'json'.
|
2017-02-23 21:23:45 +01:00
|
|
|
# accepted_formats = ('txt', 'yml')
|
2015-08-27 11:43:17 +02:00
|
|
|
|
2014-01-02 19:28:55 +01:00
|
|
|
# Limit in number of characters that fields can take up
|
|
|
|
# Only the fields listed here are supported, defaults shown
|
2015-08-27 19:34:37 +02:00
|
|
|
# char_limits = {
|
2018-08-12 18:09:46 +02:00
|
|
|
# 'author': 256,
|
2020-01-08 14:20:18 +01:00
|
|
|
# 'name': 50,
|
2018-08-12 18:09:46 +02:00
|
|
|
# 'summary': 80,
|
|
|
|
# 'description': 4000,
|
|
|
|
# 'video': 256,
|
|
|
|
# 'whatsNew': 500,
|
2015-08-27 19:34:37 +02:00
|
|
|
# }
|
2016-08-16 21:02:15 +02:00
|
|
|
|
|
|
|
# It is possible for the server operator to specify lists of apps that
|
2016-08-23 20:30:27 +02:00
|
|
|
# must be installed or uninstalled on the client (aka "push installs).
|
|
|
|
# If the user has opted in, or the device is already setup to respond
|
|
|
|
# to these requests, then F-Droid will automatically install/uninstall
|
2016-08-16 21:02:15 +02:00
|
|
|
# the packageNames listed. This is protected by the same signing key
|
|
|
|
# as the app index metadata.
|
|
|
|
#
|
2017-02-23 21:23:45 +01:00
|
|
|
# install_list = (
|
2016-08-16 21:02:15 +02:00
|
|
|
# 'at.bitfire.davdroid',
|
|
|
|
# 'com.fsck.k9',
|
|
|
|
# 'us.replicant',
|
2017-02-23 21:23:45 +01:00
|
|
|
# )
|
2016-08-16 21:02:15 +02:00
|
|
|
#
|
2017-02-23 21:23:45 +01:00
|
|
|
# uninstall_list = (
|
2016-08-16 21:02:15 +02:00
|
|
|
# 'com.facebook.orca',
|
|
|
|
# 'com.android.vending',
|
2017-02-23 21:23:45 +01:00
|
|
|
# )
|
2019-10-02 22:14:09 +02:00
|
|
|
|
|
|
|
# `fdroid lint` checks licenses in metadata against a built white list. By
|
|
|
|
# default we will require license metadata to be present and only allow
|
|
|
|
# licenses approved either by FSF or OSI. We're using the standardized SPDX
|
|
|
|
# license IDs. (https://spdx.org/licenses/)
|
|
|
|
#
|
|
|
|
# We use `python3 -m spdx-license-list print --filter-fsf-or-osi` for
|
|
|
|
# generating our default list. (https://pypi.org/project/spdx-license-list)
|
|
|
|
#
|
|
|
|
# You can override our default list of allowed licenes by setting this option.
|
|
|
|
# Just supply a custom list of licene names you would like to allow. Setting
|
|
|
|
# this to `None` disables this lint check.
|
|
|
|
#
|
|
|
|
# lint_licenses = (
|
|
|
|
# 'Custom-License-A',
|
|
|
|
# 'Another-License',
|
|
|
|
# )
|