2013-12-30 17:11:52 +01:00
|
|
|
#!/usr/bin/env python2
|
|
|
|
|
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
|
|
|
|
2014-02-17 20:01:55 +01:00
|
|
|
# Override the path to the Android SDK, $ANDROID_HOME by default
|
2014-05-28 09:30:55 +02:00
|
|
|
# sdk_path = "/path/to/android-sdk"
|
2013-08-29 20:21:40 +02:00
|
|
|
|
2014-02-17 20:01:55 +01:00
|
|
|
# Override the path to the Android NDK, $ANDROID_NDK by default
|
2014-05-28 09:30:55 +02:00
|
|
|
# ndk_path = "/path/to/android-ndk"
|
2013-08-08 12:55:48 +02:00
|
|
|
# Build tools version to be used
|
2014-02-23 12:21:28 +01:00
|
|
|
build_tools = "19.0.2"
|
2013-08-08 12:55:48 +02:00
|
|
|
|
2014-01-26 21:39:30 +01:00
|
|
|
# Command for running Ant
|
2014-05-28 09:30:55 +02:00
|
|
|
# ant = "/path/to/ant"
|
2014-01-26 21:39:30 +01:00
|
|
|
ant = "ant"
|
2012-09-13 09:23:12 +02:00
|
|
|
|
2014-01-26 21:39:30 +01:00
|
|
|
# Command for running maven 3
|
2014-05-28 09:30:55 +02:00
|
|
|
# mvn3 = "/path/to/mvn"
|
2014-01-26 21:39:30 +01:00
|
|
|
mvn3 = "mvn"
|
|
|
|
|
|
|
|
# Command for running Gradle
|
2014-05-28 09:30:55 +02:00
|
|
|
# gradle = "/path/to/gradle"
|
2013-08-08 12:55:48 +02:00
|
|
|
gradle = "gradle"
|
|
|
|
|
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.
|
|
|
|
repo_maxage = 0
|
|
|
|
|
2014-06-04 21:47:54 +02:00
|
|
|
repo_url = "https://MyFirstFDroidRepo.org/fdroid/repo"
|
|
|
|
repo_name = "My First FDroid Repo Demo"
|
2010-12-17 13:31:04 +01:00
|
|
|
repo_icon = "fdroid-icon.png"
|
|
|
|
repo_description = """
|
2014-06-04 21:47:54 +02:00
|
|
|
This is a repository of apps to be used with FDroid. Applications in this
|
|
|
|
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"
|
2014-06-04 21:47:54 +02:00
|
|
|
archive_name = "My First FDroid Archive Demo"
|
2013-05-09 21:09:17 +02:00
|
|
|
archive_icon = "fdroid-icon.png"
|
|
|
|
archive_description = """
|
2014-06-04 21:47:54 +02:00
|
|
|
The repository of older versions of applications from the main demo
|
|
|
|
repository.
|
2013-05-09 21:09:17 +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
|
|
|
|
# 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
|
|
|
|
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
|
|
|
|
# configure FDroid to use a smartcard, set the keystore file using the keyword
|
|
|
|
# "NONE" (i.e. keystore = "NONE"). That makes Java find the keystore on the
|
|
|
|
# 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
|
2014-05-28 09:30:55 +02:00
|
|
|
# smartcardoptions = "-storetype PKCS11 -providerName SunPKCS11-OpenSC \
|
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
|
|
|
|
2014-04-01 03:02:42 +02:00
|
|
|
# The password for the keystore (at least 6 characters). If this password is
|
|
|
|
# different than the keypass below, it can be OK to store the password in this
|
|
|
|
# file for real use. But in general, sensitive passwords should not be stored
|
|
|
|
# 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
|
|
|
|
# as for the repository key. You should not normally store this password in a
|
|
|
|
# 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.
|
2011-01-04 22:44:14 +01: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.
|
2011-01-04 23:45:38 +01: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.
|
2013-04-05 18:02:02 +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
|
|
|
|
2013-12-04 21:28:41 +01:00
|
|
|
# The full path to the root of the repository. It must be specified in
|
|
|
|
# rsync/ssh format for a remote host/path. This is used for syncing a locally
|
|
|
|
# generated repo to the server that is it hosted on. It must end in the
|
|
|
|
# standard public repo name of "/fdroid", but can be in up to three levels of
|
|
|
|
# sub-directories (i.e. /var/www/packagerepos/fdroid).
|
2014-06-26 17:57:40 +02:00
|
|
|
#
|
2014-05-28 09:30:55 +02:00
|
|
|
# serverwebroot = 'user@example:/var/www/fdroid'
|
2013-12-04 21:28:41 +01:00
|
|
|
|
2014-06-26 17:57:40 +02:00
|
|
|
|
2014-06-05 22:21:12 +02:00
|
|
|
# optionally specific which identity file to use when using rsync 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
|
|
|
|
# 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
|
|
|
|
# standard folder called 'fdroid' as the specified folder is recommended, like
|
|
|
|
# with serverwebroot.
|
|
|
|
#
|
|
|
|
# local_copy_dir = '/media/MyUSBThumbDrive/fdroid'
|
|
|
|
|
|
|
|
|
2014-04-16 04:41:28 +02: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 is based on apache-libcloud, which supports basically all cloud
|
|
|
|
# storage services, so it should be easy to port the fdroid server tools to
|
|
|
|
# any of them.
|
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
|
|
|
|
2013-12-04 21:28:41 +01:00
|
|
|
# If you want to force 'fdroid server' to use a non-standard serverwebroot
|
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
|
|
|
|
2014-05-28 09:30:55 +02:00
|
|
|
# Wiki details
|
2013-07-09 09:59:58 +02:00
|
|
|
wiki_protocol = "http"
|
2012-08-22 18:24:33 +02:00
|
|
|
wiki_server = "server"
|
|
|
|
wiki_path = "/wiki/"
|
|
|
|
wiki_user = "login"
|
|
|
|
wiki_password = "1234"
|
|
|
|
|
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
|
|
|
|
# machine.
|
2012-08-31 19:17:38 +02:00
|
|
|
update_stats = False
|
|
|
|
|
2014-05-28 09:30:55 +02:00
|
|
|
# Use the following to push stats to a Carbon instance:
|
2013-05-23 12:04:57 +02:00
|
|
|
stats_to_carbon = False
|
|
|
|
carbon_host = '0.0.0.0'
|
|
|
|
carbon_port = 2003
|
|
|
|
|
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.
|
2012-09-03 12:48:47 +02:00
|
|
|
build_server_always = False
|
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
|
2014-01-08 13:19:57 +01:00
|
|
|
char_limits = {
|
2014-05-02 04:06:59 +02:00
|
|
|
'Summary': 50,
|
|
|
|
'Description': 1500
|
2014-01-02 19:28:55 +01:00
|
|
|
}
|