chiark / gitweb /
Update gendocs from 2011-04 to 2013-02
[fdroidserver.git] / config.sample.py
1 # Copy this file to config.py, then amend the settings below according to
2 # your system configuration.
3
4 # Path to the Android SDK, $ANDROID_HOME already set on most systems
5 #sdk_path = "/path/to/android-sdk"
6 sdk_path = "$ANDROID_HOME"
7
8 # Path to the Android NDK, $ANDROID_NDK already set on most systems
9 # Legacy toolchains are only needed by some apps
10 #ndk_path = "/path/to/android-ndk"
11 ndk_path = "$ANDROID_NDK"
12
13 # Build tools version to be used
14 build_tools = "19.0.1"
15
16 # Command for running maven 3 (command or full path)
17 mvn3 = "mvn3"
18
19 # Command for running Gradle (command or full path)
20 gradle = "gradle"
21
22 # Android gradle plugin version
23 # "0.5.+" -> gradle 1.7
24 # "0.6.+" -> gradle 1.8
25 # "0.7.+" -> gradle 1.9
26 gradle_plugin = "0.7.+"
27
28 # Max height and width (in pixels) for the icons in the repo
29 # This corresponds to 72x72 pixels, i.e. mdpi
30 icon_max_size = 72
31
32 # Set the maximum age (in days) of an index that a client should accept from
33 # this repo. Setting it to 0 or not setting it at all disables this
34 # functionality. If you do set this to a non-zero value, you need to ensure
35 # that your index is updated much more frequently than the specified interval.
36 # The same policy is applied to the archive repo, if there is one.
37 repo_maxage = 0
38
39 repo_url = "https://f-droid.org/repo"
40 repo_name = "F-Droid"
41 repo_icon = "fdroid-icon.png"
42 repo_description = """
43 The official repository of the F-Droid client. Applications in this repository 
44 are either official binaries built by the original application developers, or
45 are binaries built from source by the admin of f-droid.org using the tools on
46 https://gitorious.org/f-droid.
47 """
48
49 # As above, but for the archive repo.
50 # archive_older sets the number of versions kept in the main repo, with all
51 # older ones going to the archive. Set it to 0, and there will be no archive
52 # repository, and no need to define the other archive_ values.
53 archive_older = 3
54 archive_url = "https://f-droid.org/archive"
55 archive_name = "F-Droid Archive"
56 archive_icon = "fdroid-icon.png"
57 archive_description = """
58 The archive repository of the F-Droid client. This contains older versions
59 of applications from the main repository.
60 """
61
62
63 #The key (from the keystore defined below) to be used for signing the
64 #repository itself. Can be None for an unsigned repository.
65 repo_keyalias = None
66
67 #The keystore to use for release keys when building. This needs to be
68 #somewhere safe and secure, and backed up!
69 keystore = "/home/me/somewhere/my.keystore"
70
71 #The password for the keystore (at least 6 characters).
72 keystorepass = "password1"
73
74 #The password for keys - the same is used for each auto-generated key
75 #as well as for the repository key.
76 keypass = "password2"
77
78 #The distinguished name used for all keys.
79 keydname = "CN=Birdman, OU=Cell, O=Alcatraz, L=Alcatraz, S=California, C=US"
80
81 #Use this to override the auto-generated key aliases with specific ones
82 #for particular applications. Normally, just leave it empty.
83 keyaliases = {}
84 keyaliases['com.example.app'] = 'example'
85 #You can also force an app to use the same key alias as another one, using
86 #the @ prefix.
87 keyaliases['com.example.another.plugin'] = '@com.example.another'
88
89 # The full path to the root of the repository.  It must be specified in
90 # rsync/ssh format for a remote host/path. This is used for syncing a locally
91 # generated repo to the server that is it hosted on.  It must end in the
92 # standard public repo name of "/fdroid", but can be in up to three levels of
93 # sub-directories (i.e. /var/www/packagerepos/fdroid).
94 serverwebroot = 'user@example:/var/www/fdroid'
95
96 # If you want to force 'fdroid server' to use a non-standard serverwebroot
97 #nonstandardwebroot = True
98
99 #Wiki details
100 wiki_protocol = "http"
101 wiki_server = "server"
102 wiki_path = "/wiki/"
103 wiki_user = "login"
104 wiki_password = "1234"
105
106 #Only set this to true when running a repository where you want to generate
107 #stats, and only then on the master build servers, not a development
108 #machine.
109 update_stats = False
110
111 #Use the following to push stats to a Carbon instance:
112 stats_to_carbon = False
113 carbon_host = '0.0.0.0'
114 carbon_port = 2003
115
116 #Set this to true to always use a build server. This saves specifying the
117 #--server option on dedicated secure build server hosts.
118 build_server_always = False