_docs.eo.po 414 KB
Newer Older
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1 2 3 4 5 6
# SOME DESCRIPTIVE TITLE
# Copyright (C) YEAR Free Software Foundation, Inc.
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
7 8 9
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: team@f-droid.org\n"
10
"POT-Creation-Date: 2018-05-18 12:44+0200\n"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
11
"PO-Revision-Date: 2018-05-14 20:36+0000\n"
12 13 14 15 16 17 18
"Last-Translator: Verdulo <tomek@disroot.org>\n"
"Language-Team: Esperanto <https://hosted.weblate.org/projects/f-droid/website-docs/eo/>\n"
"Language: eo\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
19
"X-Generator: Weblate 3.0-dev\n"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
20 21 22 23 24

#. type: Title #
#: build/_docs/md/All_About_Descriptions_Graphics_and_Screenshots.md
#, no-wrap
msgid "All About Descriptions, Graphics, and Screenshots"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
25
msgstr "Ĉio pri priskriboj, grafikaĵoj kaj ekranokopioj"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
26 27 28

#. type: Plain text
#: build/_docs/md/All_About_Descriptions_Graphics_and_Screenshots.md
29
msgid "Each app can have complete app store content, including localized descriptions, feature graphics, and screenshots (as of v0.103 of the F-Droid client app and v0.8 of _fdroidserver_).  This is possible both when apps are added via [build metadata](../Build_Metadata_Reference) as well as when including pre-built files in a simple repository.  There are three paths to including app store content for apps (in order of preference):"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
30
msgstr "Ĉiu aplikaĵo povas havi kompletan priaplikaĵan enhavon, ampleksante tradukitajn priskribojn, grafikaĵojn kaj ekranokopiojn (ĉe v0.103 de klienta aplikaĵo F-Droid kaj v0.8 de _fdroidserver_). Tio ĉi eblas kaj kiam aplikaĵoj estas aldonitaj kun [kompilaj metadatumoj](../Build_Metadata_Reference) kaj kiam aldonitaj kun antaŭkompilitaj dosieroj en deponejo. Estas tri manieroj por ampleksi aplikaĵ-vendejan enhavon por aplikaĵoj (plej preferataj unue):"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
31 32 33 34 35 36 37 38 39 40 41 42

#. type: Plain text
#: build/_docs/md/All_About_Descriptions_Graphics_and_Screenshots.md
#: build/_docs/md/Build_Server_Setup.md build/_docs/md/FAQ_-_App_Developers.md
#: build/_docs/md/FAQ_-_Client.md build/_docs/md/FAQ_-_General.md
#: build/_docs/md/Installing_the_Server_and_Repo_Tools.md
#: build/_docs/md/Setup_an_F-Droid_App_Repo.md
#, no-wrap
msgid ""
"* Do not remove this line (it will not be displayed)\n"
"{:toc}\n"
msgstr ""
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
43 44
"* Do not remove this line (it will not be displayed)\n"
"{:toc}\n"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
45 46 47 48

#. type: Plain text
#: build/_docs/md/All_About_Descriptions_Graphics_and_Screenshots.md
msgid "There are two data formats:"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
49
msgstr "Estas du formoj de datumoj:"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
50 51 52 53

#. type: Bullet: '* '
#: build/_docs/md/All_About_Descriptions_Graphics_and_Screenshots.md
msgid "descriptive materials in plain text or HTML"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
54
msgstr "priskribantaj datumoj en platteksto aŭ HTML"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
55 56 57 58

#. type: Bullet: '* '
#: build/_docs/md/All_About_Descriptions_Graphics_and_Screenshots.md
msgid "graphics and screenshots as PNG or JPEG files"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
59
msgstr "grafikaĵoj kaj ekranokopioj kiel dosieroj PNG aŭ JPEG"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
60

61 62
#. type: Plain text
#: build/_docs/md/All_About_Descriptions_Graphics_and_Screenshots.md
63 64
msgid "One important detail: dangerous and unneeded metadata is stripped from image files before they are included in the repo.  For example, JPEG EXIF data has [security issues](https://threatpost.com/google-shuts-down-potentially-massive-android-bug/120393/), and it is not needed to display images.  This can also mean that the images are recompressed."
msgstr "Unu grava rimarko: danĝeraj kaj sennecesaj metadatumoj estas senigataj el bild-dosieroj antaŭ ili estas enmetataj en la deponejon. Ekzemple JPEG-EXIF-metadatumoj enhavas [sekurecajn problemojn](https://threatpost.com/google-shuts-down-potentially-massive-android-bug/120393/) kaj ne estas bezonataj por vidigi bildojn. Tio ĉi signifas, ke bildoj estas kompaktigataj."
65

Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
66 67 68 69
#. type: Title ##
#: build/_docs/md/All_About_Descriptions_Graphics_and_Screenshots.md
#, no-wrap
msgid "In the app's source repository"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
70
msgstr "En la fontkod-deponejo de la aplikaĵo"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
71 72 73

#. type: Plain text
#: build/_docs/md/All_About_Descriptions_Graphics_and_Screenshots.md
74
msgid "There are two options for including the app store materials in an app's source repository: [fastlane supply](https://github.com/fastlane/fastlane/blob/2.28.7/supply/README.md#images-and-screenshots)  and [Triple-T Gradle Play Publisher](https://github.com/Triple-T/gradle-play-publisher#play-store-metadata).  Both of these are free software tools that integrate into an Android developer's workflow.  Once the files are included in the app's source repo, and those files are included in a tagged release of the app, F-Droid will include all those files."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
75
msgstr "Estas du manieroj por enmeti aplikaĵ-vendejajn datumojn en fontkod-deponejon de aplikaĵo: [fastlane supply](https://github.com/fastlane/fastlane/blob/2.28.7/supply/README.md#images-and-screenshots)  kaj [Triple-T Gradle Play Publisher](https://github.com/Triple-T/gradle-play-publisher#play-store-metadata). Ambaŭ estas senpagaj/liberaj iloj, kiuj integriĝas al laborfluo de Androida programisto. Kiam tiuj ĉi iloj estas enmetitaj en la fontkod-deponejon de la aplikaĵo kaj troviĝas en etikedita eldono de la aplikaĵo, F-Droid inkluzivos ĉiujn tiujn dosierojn."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
76 77 78

#. type: Plain text
#: build/_docs/md/All_About_Descriptions_Graphics_and_Screenshots.md
79
msgid "In the end, it is not actually necessary to actually install or use either _fastlane supply_ nor _Gradle Play Publisher_.  F-Droid includes these files purely based on the standard file layout that those tools use."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
80
msgstr "Eĉ ne estas necese instali aŭ uzi aŭ _fastlane supply_ aŭ _Gradle Play Publisher_. F-Droid ampleksas tiujn ĉi dosierojn surbaze de la norma dosier-aranĝo, kiun tiuj ĉi iloj uzas."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
81 82 83

#. type: Plain text
#: build/_docs/md/All_About_Descriptions_Graphics_and_Screenshots.md
84
msgid "All the localized descriptions and graphics will automatically show up in the F-Droid repo once they are available in the source repo of a release that the repo builds.  For example, if these files are included in a _git_ repo's _master_ branch but not yet in a tagged release, they will not be included."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
85
msgstr "Ĉiuj tradukitaj priskriboj kaj grafikaĵoj aŭtomate montriĝos en la deponejo F-Droid kiam ili estos disponeblaj en la fontkod-deponejo je eldono de kompilaĵo. Do ekzemple kiam tiuj ĉi dosieroj troviĝas en branĉo _master_ de _git_ deponejo, sed ne estas etikedita kiel eldono _(release)_, ili ne estas inkluzivitaj."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
86 87 88

#. type: Plain text
#: build/_docs/md/All_About_Descriptions_Graphics_and_Screenshots.md
89
msgid "The last important detail is that the texts in the app's metadata file will override all other descriptive texts from _Fastlane_/_Triple-T_. That is specifically [Name](../Build_Metadata_Reference/#Name)/[AutoName](../Build_Metadata_Reference/#AutoName), [Summary](../Build_Metadata_Reference/#Summary), and [Description](../Build_Metadata_Reference/#Description).  Once an app's descriptive texts have been moved into the source repo, then file a [merge request](https://gitlab.com/fdroid/fdroiddata/merge_requests)  or [issue](https://gitlab.com/fdroid/fdroiddata/issues) to remove _Summary_ and _Description_ from the app's metadata file."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
90
msgstr "Alia grava rimarko estas, ke tekstoj en la dosiero de aplikaĵaj metadatumoj superskribos ĉiujn aliajn priskribojn el _Fastlane_/_Triple-T_. Ekzakte la kampoj: [Name](../Build_Metadata_Reference/#Name)/[AutoName](../Build_Metadata_Reference/#AutoName), [Summary](../Build_Metadata_Reference/#Summary) kaj [Description](../Build_Metadata_Reference/#Description). Kiam priskribantaj kampoj de aplikaĵo estas movitaj al fontkoda deponejo, tiam plenumu [kunfand-peton](https://gitlab.com/fdroid/fdroiddata/merge_requests) aŭ [erar-raporton](https://gitlab.com/fdroid/fdroiddata/issues) por forigi la kampojn _Summary_ kaj _Description_ el metadatum-dosiero de la aplikaĵo."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
91 92 93 94 95

#. type: Title ##
#: build/_docs/md/All_About_Descriptions_Graphics_and_Screenshots.md
#, no-wrap
msgid "In the app's build metadata in an _fdroiddata_ collection"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
96
msgstr "En kompilaj metadatumoj de la aplikaĵo en kolekto _fdroiddata_"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
97 98 99

#. type: Plain text
#: build/_docs/md/All_About_Descriptions_Graphics_and_Screenshots.md
100
msgid "All the app store materials can also be added to any _fdroiddata_ repository of build metadata.  This follows a file layout modeled after [fastlane supply](https://github.com/fastlane/fastlane/blob/2.28.7/supply/README.md#images-and-screenshots), modified to fit into the _fdroiddata_ workflow.  Any files in this layout will be copied into the repo and added to the repo's index file by `fdroid update`."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
101
msgstr "Ĉiu priaplikaĵa enhavo povas esti aldonita al ĉiu deponejo _fdroiddata_ de kompilaj metadatumoj. Laŭ dosier-aranĝo de [fastlane supply](https://github.com/fastlane/fastlane/blob/2.28.7/supply/README.md#images-and-screenshots) modifita por kongrui al la laborfluo de _fdroiddata_. Ĉiuj dosieroj en tiu ĉi dosier-aranĝo estos kopiitaj al la deponejo kaj aldonitaj al indeks-dosiero de la deponejo per `fdroid update`."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135

#. type: Plain text
#: build/_docs/md/All_About_Descriptions_Graphics_and_Screenshots.md
#, no-wrap
msgid ""
"```\n"
"- <fdroiddata>/\n"
"  └── metadata/\n"
"      └── <package-id>/\n"
"          └── <locale>/\n"
"              ├── full_description.txt\n"
"              ├── short_description.txt\n"
"              ├── title.txt\n"
"              ├── video.txt\n"
"              ├── images/\n"
"              │   ├── featureGraphic.png\n"
"              │   ├── icon.png\n"
"              │   ├── promoGraphic.png\n"
"              │   └── tvBanner.png\n"
"              ├── changelogs/\n"
"              │   ├── <version-code>.txt\n"
"              │   └── <version-code>.txt\n"
"              ├── phoneScreenshots/\n"
"              │   └── *.png\n"
"              ├── sevenInchScreenshots/\n"
"              │   └── *.png\n"
"              ├── tenInchScreenshots/\n"
"              │   └── *.png\n"
"              ├── tvScreenshots/\n"
"              │   └── *.png\n"
"              └── wearScreenshots/\n"
"                  └── *.png\n"
"```\n"
msgstr ""
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163
"```\n"
"- <fdroiddata>/\n"
"  └── metadata/\n"
"      └── <identigilo de pakaĵo>/\n"
"          └── <kodo de lingvo>/\n"
"              ├── full_description.txt\n"
"              ├── short_description.txt\n"
"              ├── title.txt\n"
"              ├── video.txt\n"
"              ├── images/\n"
"              │   ├── featureGraphic.png\n"
"              │   ├── icon.png\n"
"              │   ├── promoGraphic.png\n"
"              │   └── tvBanner.png\n"
"              ├── changelogs/\n"
"              │   ├── <kod-versio>.txt\n"
"              │   └── <kod-versio>.txt\n"
"              ├── phoneScreenshots/\n"
"              │   └── *.png\n"
"              ├── sevenInchScreenshots/\n"
"              │   └── *.png\n"
"              ├── tenInchScreenshots/\n"
"              │   └── *.png\n"
"              ├── tvScreenshots/\n"
"              │   └── *.png\n"
"              └── wearScreenshots/\n"
"                  └── *.png\n"
"```\n"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
164

165 166 167
#. type: Plain text
#: build/_docs/md/All_About_Descriptions_Graphics_and_Screenshots.md
msgid "Example:"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
168
msgstr "Ekzemplo:"
169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187

#. type: Plain text
#: build/_docs/md/All_About_Descriptions_Graphics_and_Screenshots.md
#, no-wrap
msgid ""
"* .../ToGoZip/app/...\n"
"  * the sourcecode for the android app ToGoZip\n"
"* [.../ToGoZip/fastlane/metadata/android/en-US/full_description.txt](https://github.com/k3b/ToGoZip/blob/master/fastlane/metadata/android/en-US/full_description.txt)\n"
"  * contains the (us-) english description of the app ToGoZip.\n"
"* [.../ToGoZip/fastlane/metadata/android/de-DE/full_description.txt](https://github.com/k3b/ToGoZip/blob/master/fastlane/metadata/android/de-DE/full_description.txt)\n"
"  * contains the german description of the app ToGoZip.\n"
"* [.../ToGoZip/fastlane/metadata/android/en-US/changelogs/9.txt](https://github.com/k3b/ToGoZip/blob/master/fastlane/metadata/android/en-US/changelogs/9.txt)\n"
"  * contains description of the changes made in versionCode **9**\n"
"  * in fdroid app this will be shown above the app description\n"
"* .../ToGoZip/fastlane/metadata/android/en-US/images/featureGraphic.png \n"
"  * this image will be shown on top of the fdroid-s app description\n"
"* .../ToGoZip/fastlane/metadata/android/en-US/images/phoneScreenshots/....\n"
"  * images in this folder will be shown below the fdroid-s app description\n"
msgstr ""
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
188 189 190 191 192 193 194 195 196 197 198 199 200
"* .../ToGoZip/app/...\n"
"  * la fontkodo por la aplikaĵo ToGoZip\n"
"* [.../ToGoZip/fastlane/metadata/android/en-US/full_description.txt](https://github.com/k3b/ToGoZip/blob/master/fastlane/metadata/android/en-US/full_description.txt)\n"
"  * enhavas (US)-anglan priskribon de la aplikaĵo ToGoZip.\n"
"* [.../ToGoZip/fastlane/metadata/android/de-DE/full_description.txt](https://github.com/k3b/ToGoZip/blob/master/fastlane/metadata/android/de-DE/full_description.txt)\n"
"  * enhavas germanan priskribon de la aplikaĵo ToGoZip.\n"
"* [.../ToGoZip/fastlane/metadata/android/en-US/changelogs/9.txt](https://github.com/k3b/ToGoZip/blob/master/fastlane/metadata/android/en-US/changelogs/9.txt)\n"
"  * enhavas ŝanĝoprotokolon pri kod-versio **9**\n"
"  * in fdroid app this will be shown above the app description\n"
"* .../ToGoZip/fastlane/metadata/android/en-US/images/featureGraphic.png \n"
"  * bildo por montri supre de priskribo en la klienta aplikaĵo F-Droid\n"
"* .../ToGoZip/fastlane/metadata/android/en-US/images/phoneScreenshots/....\n"
"  * bildoj en tiu ĉi dosierujo estos montritaj malsupre de priskribo en F-Droid\n"
201

Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
202 203 204 205
#. type: Title ##
#: build/_docs/md/All_About_Descriptions_Graphics_and_Screenshots.md
#, no-wrap
msgid "Directly in the F-Droid repo"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
206
msgstr "Senpere en la deponejo F-Droid"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
207 208 209

#. type: Plain text
#: build/_docs/md/All_About_Descriptions_Graphics_and_Screenshots.md
210
msgid "The ultimate destination for files from the app's source repo and _fdroiddata_ metadata sub-directories is in the F-Droid repo.  The text all gets included into the index file (aka _index-v1.json_).  All of the graphics files can be directly included in the repo.  If graphics files are also in the app's source or _fdroiddata_, then the files directly in the repo will be overwritten.  The text files from the _fastlane_ layout are ignored if they are in the repo."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
211
msgstr "La fina celo por dosieroj de la fonkod-deponejo de la aplikaĵo kaj de metadataj subdosierujoj _fdroiddata_ estas la deponejo F-Droid. Ĉiu teksto estas ampleksata en la indeks-dosiero (_index-v1.json_). Ĉiuj grafikaĵoj povas esti senpere enmetitaj en la deponejon. Se grafikaĵoj ankaŭ troviĝas en la aplikaĵa fontkodo aŭ en _fdroiddata_, tiam dosieroj en la deponejo mem estos superskribitaj. Tekstaj dosieroj de dosierujo _fastlane_ estas ignorataj se ili troviĝas en la deponejo."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237

#. type: Plain text
#: build/_docs/md/All_About_Descriptions_Graphics_and_Screenshots.md
#, no-wrap
msgid ""
"```\n"
"- fdroid/\n"
"  └── repo/\n"
"      └── <package-id>/\n"
"          └── <locale>/\n"
"              ├── featureGraphic.png\n"
"              ├── icon.png\n"
"              ├── promoGraphic.png\n"
"              ├── tvBanner.png\n"
"              ├── phoneScreenshots/\n"
"              │   └── *.png\n"
"              ├── sevenInchScreenshots/\n"
"              │   └── *.png\n"
"              ├── tenInchScreenshots/\n"
"              │   └── *.png\n"
"              ├── tvScreenshots/\n"
"              │   └── *.png\n"
"              └── wearScreenshots/\n"
"                  └── *.png\n"
"```\n"
msgstr ""
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257
"```\n"
"- fdroid/\n"
"  └── repo/\n"
"      └── <identigilo de pakaĵo>/\n"
"          └── <kodo de lingvo>/\n"
"              ├── featureGraphic.png\n"
"              ├── icon.png\n"
"              ├── promoGraphic.png\n"
"              ├── tvBanner.png\n"
"              ├── phoneScreenshots/\n"
"              │   └── *.png\n"
"              ├── sevenInchScreenshots/\n"
"              │   └── *.png\n"
"              ├── tenInchScreenshots/\n"
"              │   └── *.png\n"
"              ├── tvScreenshots/\n"
"              │   └── *.png\n"
"              └── wearScreenshots/\n"
"                  └── *.png\n"
"```\n"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
258 259 260

#. type: Plain text
#: build/_docs/md/All_About_Descriptions_Graphics_and_Screenshots.md
261
msgid "`fdroid update` adds all the graphics files it finds in the repo to the index.  `fdroid server update` will sync all of the files in the repo to the various locations where the repo is actually hosted."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
262
msgstr ""
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
263 264
"Per `fdroid update` oni aldonas ĉiujn grafikajn dosierojn troviĝantajn en la deponejo al la indekso.\n"
"Per `fdroid server update` oni samtempigas ĉiujn dosierojn en la deponejo al diversaj lokoj, kie la deponejo estas alcele gastigata."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
265 266 267 268 269 270 271 272 273

#. type: Title #
#: build/_docs/md/Building_Applications.md
#, no-wrap
msgid "Building Applications"
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
274
msgid "Instead of (or as well as) including binary APKs from external sources in a repository, you can build them directly from the source code."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
275 276 277 278
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
279
msgid "Using this method, it is is possible to verify that the application builds correctly, corresponds to the source code, and contains only free software. Unfortunately, in the Android world, it seems to be very common for an application supplied as a binary APK to present itself as Free Software when in fact some if not all of the following is true:"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
280 281 282 283
msgstr ""

#. type: Bullet: '1.  '
#: build/_docs/md/Building_Applications.md
284
msgid "The source code (either for a particular version, or even all versions!) is unavailable or incomplete."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
285 286 287 288 289 290 291 292 293
msgstr ""

#. type: Bullet: '2.  '
#: build/_docs/md/Building_Applications.md
msgid "The source code is not capable of producing the actual binary supplied."
msgstr ""

#. type: Bullet: '3.  '
#: build/_docs/md/Building_Applications.md
294
msgid "The ’source code’ contains binary files of unknown origin, or with proprietary licenses."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
295 296 297 298
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
299
msgid "For this reason, source-built applications are the preferred method for the main F-Droid repository, although occasionally for technical or historical reasons, exceptions are made to this policy."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
300 301 302 303
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
304
msgid "When building applications from source, it should be noted that you will be signing them (all APK files must be signed to be installable on Android) with your own key. When an application is already installed on a device, it is not possible to upgrade it in place to a new version signed with a different key without first uninstalling the original.  This may present an inconvenience to users, as the process of uninstalling loses any data associated with the previous installation."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
305 306 307 308
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
309
msgid "The process for managing a repository for built-from-source applications is very similar to that described in the Simple Binary Repository chapter, except now you need to:"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
310 311 312 313 314 315 316 317 318
msgstr ""

#. type: Bullet: '1.  '
#: build/_docs/md/Building_Applications.md
msgid "Include Build entries in the metadata files."
msgstr ""

#. type: Bullet: '2.  '
#: build/_docs/md/Building_Applications.md
319
msgid "Run `fdroid build` to build any applications that are not already built."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
320 321 322 323
msgstr ""

#. type: Bullet: '3.  '
#: build/_docs/md/Building_Applications.md
324
msgid "Run `fdroid publish` to finalise packaging and sign any APKs that have been built."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
325 326 327 328 329 330 331 332 333 334
msgstr ""

#. type: Title ###
#: build/_docs/md/Building_Applications.md
#, no-wrap
msgid "App data directory aka _fdroiddata_"
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
335
msgid "To do anything, you’ll need at least one repository data directory. It’s from this directory that you run the `fdroid` command to perform all repository management tasks. You can either create a brand new one, or grab a copy of the data used by the main F-Droid repository:"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
336 337 338 339 340 341 342 343 344
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
msgid "```bash git clone https://gitlab.com/fdroid/fdroiddata.git ```"
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
345
msgid "Regardless of the intended usage of the tools, you will always need to set up some basic configuration details. This is done by creating a file called `config.py` in the data directory. You should do this by copying the example file (`./examples/config.py`) from the fdroidserver project to your data directory and then editing according to the instructions within."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
346 347 348 349
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
350
msgid "Once configured in this way, all the functionality of the tools is accessed by running the `fdroid` command. Run it on its own to get a list of the available sub-commands."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
351 352 353 354
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
355
msgid "You can follow any command with `--help` to get a list of additional options available for that command."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
356 357 358 359 360 361 362 363 364 365 366 367 368 369 370
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
msgid "```bash fdroid update --help ```"
msgstr ""

#. type: Title ###
#: build/_docs/md/Building_Applications.md
#, no-wrap
msgid "More about `fdroid build`"
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
371
msgid "When run without any parameters, `fdroid build` will build any and all versions of applications that you don’t already have in the `repo` directory (or more accurately, the `unsigned` directory). There are various other things you can do. As with all the tools, the `--help` option is your friend, but a few annotated examples and discussion of the more common usage modes follows:"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
372 373 374 375
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
376
msgid "To build a single version of a single application, you could run the following:"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
377 378 379 380 381 382 383 384 385
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
msgid "```bash fdroid build org.fdroid.fdroid:16 ```"
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
386
msgid "This attempts to build version code 16 (which is version 0.25) of the F-Droid client. Many of the tools recognise arguments as packages, allowing their activity to be limited to just a limited set of packages."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
387 388 389 390
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
391
msgid "If the build above was successful, two files will have been placed in the `unsigned` directory:"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
392 393 394 395 396 397 398 399 400
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
msgid "``` org.fdroid.fdroid_16.apk org.fdroid.fdroid_16_src.tar.gz ```"
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
401
msgid "The first is the (unsigned) APK. You could sign this with a debug key and push it direct to your device or an emulator for testing. The second is a source tarball containing exactly the source that was used to generate the binary."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
402 403 404 405 406 407 408 409 410 411 412 413 414 415
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
msgid "If you were intending to publish these files, you could then run:"
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
msgid "```bash fdroid publish ```"
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
416
msgid "The source tarball would move to the `repo` directory (which is the directory you would push to your web server). A signed and zipaligned version of the APK would also appear there, and both files would be removed from the `unsigned` directory."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
417 418 419 420
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
421
msgid "If you’re building purely for the purposes of testing, and not intending to push the results to a repository, at least yet, the `--test` option can be used to direct output to the `tmp` directory instead of `unsigned`. A similar effect could by achieved by simply deleting the output files from `unsigned` after the build, but with the risk of forgetting to do so!"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
422 423 424 425
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
426
msgid "Along similar lines (and only in conjunction with `--test`, you can use `--force` to force a build of a Disabled application, where normally it would be completely ignored. Similarly a version that was found to contain ELFs or known non-free libraries can be forced to build. See also — `scanignore=` and `scandelete=` in the `Build:` section."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
427 428 429 430
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
431
msgid "If the build was unsuccessful, you can find out why by looking at the output in the logs/ directory. If that isn’t illuminating, try building the app the regular way, step by step: android update project, ndk-build, ant debug."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
432 433 434 435
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
436
msgid "Note that source code repositories often contain prebuilt libraries. If the app is being considered for the main F-Droid repository, it is important that all such prebuilts are built either via the metadata or by a reputable third party."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
437 438 439 440 441 442 443 444 445 446
msgstr ""

#. type: Title ###
#: build/_docs/md/Building_Applications.md
#, no-wrap
msgid "Running `fdroid build` in your app’s source"
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
447
msgid "Another option for using `fdroid build` is to use a metadata file that is included in the app’s source itself, rather than in a `metadata/` folder with lots of other apps. This metadata file should be in the root of your source repo, and be called `.fdroid.json`, `.fdroid.xml`, `.fdroid.yaml`, or `.fdroid.txt`, depending on your preferred data format: JSON, XML, YAML, or F-Droid’s `.txt` format."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
448 449 450 451
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
452
msgid "Once you have that setup, you can build the most recent version of the app using the whole F-Droid stack by running:"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
msgid "```bash fdroid build ```"
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
msgid "If you want to build every single version, then specify `--all`."
msgstr ""

#. type: Title ###
#: build/_docs/md/Building_Applications.md
#, no-wrap
msgid "Direct Installation"
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_Applications.md
473
msgid "You can also build and install directly to a connected device or emulator using the `fdroid install` command. If you do this without passing packages as arguments then all the latest built and signed version available of each package will be installed . In most cases, this will not be what you want to do, so execution will stop straight away. However, you can override this if you’re sure that’s what you want, by using `--all`. Note that currently, no sanity checks are performed with this mode, so if the files in the signed output directory were modified, you won’t be notified."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
474 475
msgstr ""

476 477 478 479 480 481 482 483
#. type: Title #
#: build/_docs/md/Building_a_Signing_Server.md
#, no-wrap
msgid "Building a Signing Server"
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_a_Signing_Server.md
484
msgid "The Android APK signing model sets the expectation that the signing key will be the same for the entire lifetime of the app.  That can be seen in the recommended lifetype of an Android signing key: [20+ years](https://developer.android.com/studio/publish/app-signing.html#considerations).  On top of that, it is difficult to [migrate an app to a new key](https://guardianproject.info/2015/12/29/how-to-migrate-your-android-apps-signing-key/).  Since the signing key is an essential part to preventing APKs from impersonating another, Android signing keys must be kept safe for the entire life of the app."
485 486 487 488
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_a_Signing_Server.md
489
msgid "The F-Droid repo signing keys follow a very similar model: the signing key is the essential way to safely identify an F-Droid repo. So the same considerations apply to F-Droid repo signing keys as to APK signing keys.  This also provides some really useful benefits.  Since the integrity of the repo index file and the APKs are guaranteed by the repo signature, the files can be delivered via whatever method is most convenient, and their integrity will be automatically verified by the F-Droid client app, the _f-droid.org_ deploy process, and Repomaker."
490 491 492 493
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_a_Signing_Server.md
494
msgid "This means the security burden is shifted from the online, public webserver to a private signing machine.  Just keeping that machine out of the public eye goes a long way towards improving security.  There are a number of additional measures that can be taken to further improve the security of the signing process.  Here are some approaches, starting with the easiest and least security, and going on to more secure setups that require more work to setup and run.  Signing is not an resource intensive process, so any machine will work, even a 10 year old, basic laptop.  We recommend using a minimal [Debian](https://www.debian.org) install, and rebuilding the machine from scratch."
495 496 497 498 499 500 501 502 503 504
msgstr ""

#. type: Title ###
#: build/_docs/md/Building_a_Signing_Server.md
#, no-wrap
msgid "Automated Signing Server with with HSM"
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_a_Signing_Server.md
505
msgid "For a fully automated signing setup, the machine running the signing needs to be online and running. Ideally this machine would have no remote access, at the very least remote access should be very carefully controlled and monitored.  A laptop makes it easy to work with even when remote access is disabled, since it provides a built-in keyboard and monitor.  If remote access is required, then any basic PC will work fine.  Using a Hardware Security Module (HSM) to store the keys prevents them from being stolen if the server is broken into.  An attacker could only run the signing process on that server."
506 507 508 509
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_a_Signing_Server.md
510
msgid "Ideally, this machine would only be accessible via Tor.  That hides the physical location of the server, and hides the traffic from network.  This makes it much harder attackers to find the actual machine to attack."
511 512 513 514
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_a_Signing_Server.md
515
msgid "For the HSM, we recommend using [Nitrokey](https://www.nitrokey.com/)  hardware, since they are free software/hardware, and provide a wide range of options.  Use a separate machine to put the signing keys on HSM.  A good HSM will keep an audit trail of how many signatures have been made, so that information could be used to create an automatic auditing process to raise alarms if too many signatures have been made.  That could mean that this server was breached and used to sign unauthorized packages."
516 517 518 519
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_a_Signing_Server.md
520
msgid "Other possibility it to use a setup like [Fedora](https://pagure.io/sigul)'s [Sigul](http://www.devops-blog.net/koji/gpg-signing-rpms-with-sigul-signing-server-koji-integration)  that involves three machines."
521 522 523 524 525 526 527 528 529 530
msgstr ""

#. type: Title ###
#: build/_docs/md/Building_a_Signing_Server.md
#, no-wrap
msgid "Basic laptop dedicated to signing"
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_a_Signing_Server.md
531
msgid "Start with a laptop that can be wiped clean and rebuilt from scratch.  What is most important is that only the essential software is installed on it, and nothing else.  Do not include any browser at all, for example, since that is the most common vector of attack.  No remote access setup (e.g. SSH or VNC) should be installed or configured.  To sign apps and repos, someone would take out this laptop, connect it to the network, and run the signing process.  The signed results can then be published via the network connection.  When the signing is complete, the machine can be turned off and disconnected and kept in a safe place."
532 533 534 535
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_a_Signing_Server.md
536
msgid "This could be made quite automatic with some custom scripts.  The person running the process would only need to take out the machine, connect it, turn it on, wait until the process completes, then put it all away again."
537 538 539 540 541 542 543 544 545 546
msgstr ""

#. type: Title ###
#: build/_docs/md/Building_a_Signing_Server.md
#, no-wrap
msgid "Fully offline signing laptop with USB thumb drives"
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_a_Signing_Server.md
547
msgid "This process is based on the same basic, stripped down laptop as the previous example.  But this time, the networking should be entirely disabled before the install process.  For example, it is easy in many laptops to physically remove the WiFi card.  Therefore, it makes sense to use a laptop that does not include an ethernet jack, which are usually not possible to remove.  Otherwise, blacklisting all kernel modules related to neworking can suffice.  Since this machine is fully offline, the extra work of using an HSM is not as important, but it can't hurt to include it."
548 549 550 551
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_a_Signing_Server.md
552
msgid "Download the full \"CD\" or \"DVD\" image of Debian to run the install.  Be sure to [verify](https://www.debian.org/CD/verify) the GPG signatures and the SHA-256 hashes.  One essential utility is _apt-offline_, which automates the process of downloading Debian packages, verifying their signatures, and copying them over to an offline machine."
553 554 555 556
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_a_Signing_Server.md
557
msgid "To be extra careful, all of the software used should be verified.  Chromebooks are nice, cheap laptops that run Linux natively.  They also use Coreboot for the BIOS."
558 559 560 561
msgstr ""

#. type: Bullet: '* '
#: build/_docs/md/Building_a_Signing_Server.md
562
msgid "Buy a computer off the shelf with cash, avoid having it shipped, especially across borders"
563 564 565 566
msgstr ""

#. type: Bullet: '* '
#: build/_docs/md/Building_a_Signing_Server.md
567
msgid "Buy a Debian-supported [Chromebook](https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/acer-c720-chromebook) with removeable WiFi hardware, and needs no binary blobs"
568 569 570 571 572 573 574 575 576
msgstr ""

#. type: Bullet: '* '
#: build/_docs/md/Building_a_Signing_Server.md
msgid "Install a reproducibly built coreboot binary"
msgstr ""

#. type: Bullet: '* '
#: build/_docs/md/Building_a_Signing_Server.md
577
msgid "Install from a reproducibly built Debian image, wiping out Chrome OS entirely"
578 579 580 581 582 583 584 585 586 587
msgstr ""

#. type: Title ##
#: build/_docs/md/Building_a_Signing_Server.md
#, no-wrap
msgid "The Physical Environment"
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_a_Signing_Server.md
588
msgid "The last thing to consider is the physical location where signatures happen, and where essential equipment is stored.  The signing environment must be physically secure. Otherwise, there is no way to prevent laptops or HSMs from being lost or used to sign inappropriate content.  For the offline machines, keeping them in a locked room is a good start.  For an online machine, forcing all network traffic and remote access over Tor hides the physical location of the machine from network observers."
589 590 591 592
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_a_Signing_Server.md
593
msgid "For high risk signing keys, using multiple layers of defense is important:"
594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622
msgstr ""

#. type: Bullet: '* '
#: build/_docs/md/Building_a_Signing_Server.md
msgid "Restricted physical access to HSMs or smart cards"
msgstr ""

#. type: Bullet: '* '
#: build/_docs/md/Building_a_Signing_Server.md
msgid "Security cameras"
msgstr ""

#. type: Bullet: '* '
#: build/_docs/md/Building_a_Signing_Server.md
msgid "Onsite security guards"
msgstr ""

#. type: Bullet: '* '
#: build/_docs/md/Building_a_Signing_Server.md
msgid "Visitor logging"
msgstr ""

#. type: Bullet: '* '
#: build/_docs/md/Building_a_Signing_Server.md
msgid "A tools-resistant server safe for online code-signing servers"
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_a_Signing_Server.md
623
msgid "The signing server should be physically separate from the rest of the infrastructure.  And the logs, machine, and network should be periodically audited."
624 625 626 627 628 629 630 631 632 633
msgstr ""

#. type: Title ##
#: build/_docs/md/Building_a_Signing_Server.md
#, no-wrap
msgid "Difficult decisions"
msgstr ""

#. type: Plain text
#: build/_docs/md/Building_a_Signing_Server.md
634
msgid "Ideally all of these practices would be put into place, but each of these security measures comes at a cost of difficulty, expense, and complexity.  They can also delay the process of getting regular updates out.  So there are risks of implementing too strict security policies, much like the risks of not implementing enough."
635 636
msgstr ""

Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
637 638 639 640 641 642 643 644
#. type: Title #
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "Build Metadata Reference"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
645
msgid "Information used by `fdroid update` to compile the public index comes from several sources:"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
646 647 648 649 650 651 652 653 654 655 656 657 658 659
msgstr ""

#. type: Bullet: '* '
#: build/_docs/md/Build_Metadata_Reference.md
msgid "APK, media, etc files in the _repo_ sub-directory"
msgstr ""

#. type: Bullet: '* '
#: build/_docs/md/Build_Metadata_Reference.md
msgid "per-package \"metadata\" files in the _metadata_ sub-directory"
msgstr ""

#. type: Bullet: '* '
#: build/_docs/md/Build_Metadata_Reference.md
660
msgid "[localizable texts and graphics](../All_About_Descriptions_Graphics_and_Screenshots#in-the-apps-build-metadata-in-an-fdroiddata-collection) in the _metadata_ subdirectory"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
661 662 663 664
msgstr ""

#. type: Bullet: '* '
#: build/_docs/md/Build_Metadata_Reference.md
665
msgid "localizable texts and graphics [embedded in an app's source code](../All_About_Descriptions_Graphics_and_Screenshots#in-the-apps-source-repository)"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
666 667 668 669
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
670
msgid "These metadata files are simple, easy to edit text files, always named as the \"package name\" with file type appended.  There are a wide range of available fields for adding information to describe packages and/or apps.  For all of the fields like `AuthorName` that apply to all releases of a package/app, the fields use CamelCase starting with an upper case letter.  All other fields use camelCase starting with a lower case letter, including per-build fields, localized fields, etc."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
671 672 673 674 675 676 677 678 679
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "There are three supported file types for metadata files:"
msgstr ""

#. type: Bullet: '* '
#: build/_docs/md/Build_Metadata_Reference.md
680
msgid "_.yml_ files in [YAML](http://www.yaml.org/start.html) format, used by f-droid.org"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
681 682 683 684 685 686 687 688 689 690 691 692 693 694
msgstr ""

#. type: Bullet: '* '
#: build/_docs/md/Build_Metadata_Reference.md
msgid "_.txt_ files in the old, custom, F-Droid text-based format"
msgstr ""

#. type: Bullet: '* '
#: build/_docs/md/Build_Metadata_Reference.md
msgid "_.json_ files in [JSON](http://json.org/) format"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
695
msgid "Note that although the metadata files are designed to be easily read and writable by humans, they are also processed and written by various scripts. They can be automatically cleaned up when necessary. The structure and comments will be preserved correctly, although the order of fields will be standardised. (In the event that the original file was in a different order, comments are considered as being attached to the field following them). In fact, you can standardise all packages in a repository using a single command, without changing the functional content, by running:"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "``` fdroid rewritemeta ```"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "Or just run it on a specific app:"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "``` fdroid rewritemeta org.adaway ```"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "The following sections describe the fields recognised within the file."
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
720
msgid "- [Categories](#Categories)  - [Author Name](#Author-Name)  - [Author Email](#Author-Email)  - [License](#License)  - [Auto Name](#Auto-Name)  - [Name](#Name)  - [Provides](#Provides)  - [Web Site](#Web-Site)  - [Source Code](#Source-Code)  - [Issue Tracker](#Issue-Tracker)  - [Changelog](#Changelog)  - [Donate](#Donate)  - [FlattrID](#FlattrID)  - [LiberapayID](#LiberapayID)  - [Bitcoin](#Bitcoin)  - [Litecoin](#Litecoin)  - [Summary](#Summary)  - [Description](#Description)  - [Maintainer Notes](#Maintainer-Notes)  - [Repo Type](#Repo-Type)  - [Repo](#Repo)  - [Binaries](#Binaries)  - [Build](#Build)  - [AntiFeatures](#AntiFeatures)  - [Disabled](#Disabled)  - [Requires Root](#Requires-Root)  - [Archive Policy](#Archive-Policy)  - [Update Check Mode](#Update-Check-Mode)  - [Update Check Ignore](#Update-Check-Ignore)  - [Vercode Operation](#Vercode-Operation)  - [Update Check Name](#Update-Check-Name)  - [Update Check Data](#Update-Check-Data)  - [Auto Update Mode](#Auto-Update-Mode)  - [Current Version](#Current-Version)  - [Current Version Code](#Current-Version-Code)  - [No Source Since](#No-Source-Since)"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
721 722 723 724 725 726 727 728 729 730
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "7.1 Categories<a name=\"Categories\"></a>"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
731
msgid "Any number of categories for the application to be placed in. There is no fixed list of categories - both the client and the web site will automatically show any categories that exist in any applications.  However, if your metadata is intended for the main F-Droid repository, you should use one of the existing categories (look at the site/client), or discuss the proposal to add a new one."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
732 733 734 735
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
736
msgid "Categories must be separated by a single comma character, ’,’. For backwards compatibility, F-Droid will use the first category given as &lt;category&gt; element for older clients to at least see one category."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "This is converted to (`<categories>`) in the XML file (_index.xml_).\n"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "7.2 Author Name<a name=\"Author-Name\"></a>"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
753
msgid "The name of the author, either full, abbreviated or pseudonym. If present, it should represent the name(s) as published by upstream, e.g.  in their copyright or authors file. This can be omitted (or left blank)."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
754 755 756 757
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
758
msgid "__Warning__: this overrides all Author Name entries [set in the app's source code](../All_About_Descriptions_Graphics_and_Screenshots)."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "This is converted to (`<author>`) in the XML file (_index.xml_).\n"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "7.3 Author Email<a name=\"Author-Email\"></a>"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
775
msgid "The e-mail address of the author(s). This can be omitted (or left blank)."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
776 777 778 779
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
780
msgid "__Warning__: this overrides all Author Email entries [set in the app's source code](../All_About_Descriptions_Graphics_and_Screenshots)."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "This is converted to (`<email>`) in the XML file (_index.xml_).\n"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "7.4 License<a name=\"License\"></a>"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
797
msgid "The overall license for the application in terms of the binary that the user can install. Values should correspond to short identifiers of the [SPDX](https://spdx.org/licenses/) license list. There can only be one license listed here. If there are multiple licenses that apply to the source code, then this field should contain the least restrictive license that the whole app can be used under.  When multiple licenses are combined, that usually means the most restrictive wins."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
798 799 800 801
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
802
msgid "This field cannot represent the complexity of licenses that apply to parts of the app, or apps that have the entire thing released under more than one license."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "This is converted to (`<license>`) in the XML file (_index.xml_).\n"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "7.5 Auto Name<a name=\"Auto-Name\"></a>"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
819
msgid "The name of the application as can best be retrieved from the source code. This is done so that the commitupdates script can put a familiar name in the description of commits created when a new update of the application is found. The Auto Name entry is generated automatically when `fdroid checkupdates` is run."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
820 821 822 823
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
824
msgid "__Warning__: this overrides all Name entries [set in the app's source code](../All_About_Descriptions_Graphics_and_Screenshots)."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "This is converted to (`<name>`) in the XML file (_index.xml_).\n"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "7.6 Name<a name=\"Name\"></a>"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
841
msgid "The name of the application. Normally, this field should not be present since the application’s correct name is retrieved from the APK file.  However, in a situation where an APK contains a bad or missing application name, it can be overridden using this. Note that this only overrides the name in the list of apps presented in the client; it doesn’t changed the name or application label in the source code."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
842 843 844 845 846 847 848 849 850 851
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "7.7 Provides<a name=\"Provides\"></a>"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
852
msgid "Comma-separated list of application IDs that this app provides. In other words, if the user has any of these apps installed, F-Droid will show this app as installed instead. It will also appear if the user clicks on urls linking to the other app IDs. Useful when an app switches package name, or when you want an app to act as multiple apps."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "Currently this functionality is a stub."
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "This is converted to (`<provides>`) in the XML file (_index.xml_).\n"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "7.8 Web Site<a name=\"Web-Site\"></a>"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
874
msgid "The URL for the application’s web site. If there is no relevant web site, this can be omitted (or left blank)."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "This is converted to (`<web>`) in the XML file (_index.xml_).\n"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "7.9 Source Code<a name=\"Source-Code\"></a>"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
891
msgid "The URL to view or obtain the application’s source code. This should be something human-friendly. Machine-readable source-code is covered in the ’Repo’ field."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "This is converted to (`<source>`) in the XML file (_index.xml_).\n"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "7.10 Issue Tracker<a name=\"Issue-Tracker\"></a>"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
908
msgid "The URL for the application’s issue tracker. Optional, since not all applications have one."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "This is converted to (`<tracker>`) in the XML file (_index.xml_).\n"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "7.11 Changelog<a name=\"Changelog\"></a>"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
925
msgid "The URL for the application’s changelog. Optional, since not all applications have one."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "This is converted to (`<changelog>`) in the XML file (_index.xml_).\n"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "7.12 Donate<a name=\"Donate\"></a>"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
942
msgid "The URL to donate to the project. This should be the project’s donate page if it has one."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
943 944 945 946
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
947
msgid "It is possible to use a direct PayPal link here, if that is all that is available. However, bear in mind that the developer may not be aware of that direct link, and if they later changed to a different PayPal account, or the PayPal link format changed, things could go wrong. It is always best to use a link that the developer explicitly makes public, rather than something that is auto-generated ’button code’."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "This is converted to (`<donate>`) in the XML file (_index.xml_).\n"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "7.13 FlattrID<a name=\"FlattrID\"></a>"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
964
msgid "The project’s Flattr (https://flattr.com) ID, if it has one. This should be a numeric ID, such that (for example) https://flattr.com/thing/xxxx leads directly to the page to donate to the project."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
965 966 967 968 969 970 971 972 973 974 975
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "This is converted to (`<flattr>`) in the XML file (_index.xml_).\n"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
976 977 978 979 980
msgid "7.14 LiberapayID<a name=\"LiberapayID\"></a>"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
981
msgid "The project’s Liberapay (https://liberapay.com) ID, if it has one. This should be a numeric ID, such that (for example) https://liberapay.com/~xxxxx which redirects to your account page. Currently the numeric ID is not displayed on Liberapay’s site, but you can add /public.json behind your team page and get the value of id field in the JSON response."
982 983 984 985 986 987 988 989 990 991 992 993
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "This is converted to (`<liberapay>`) in the XML file (_index.xml_).\n"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "7.15 Bitcoin<a name=\"Bitcoin\"></a>"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "A bitcoin address for donating to the project."
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "This is converted to (`<bitcoin>`) in the XML file (_index.xml_).\n"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
1010
msgid "7.16 Litecoin<a name=\"Litecoin\"></a>"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "A litecoin address for donating to the project."
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "This is converted to (`<litecoin>`) in the XML file (_index.xml_).\n"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
1027
msgid "7.17 Summary<a name=\"Summary\"></a>"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1028 1029 1030 1031
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
1032
msgid "A brief summary of what the application is. Since the summary is only allowed one line on the list of the F-Droid client, keeping it to within 80 characters will ensure it fits most screens."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1033 1034 1035 1036
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
1037
msgid "__Warning__: this overrides all Summary entries [set in the app's source code](../All_About_Descriptions_Graphics_and_Screenshots)."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "This is converted to (`<summary>`) in the XML file (_index.xml_).\n"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
1049
msgid "7.18 Description<a name=\"Description\"></a>"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1050 1051 1052 1053
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
1054
msgid "A full description of the application, relevant to the latest version.  This can span multiple lines (which should be kept to a maximum of 80 characters), and is terminated by a line containing a single ’.’."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1055 1056 1057 1058
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
1059
msgid "Basic MediaWiki-style formatting can be used. Leaving a blank line starts a new paragraph. Surrounding text with `''` make it italic, and with `'''` makes it bold."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1060 1061 1062 1063
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
1064
msgid "You can link to another app in the repo by using `[[app.id]]`. The link will be made appropriately whether in the Android client, the web repo browser or the wiki. The link text will be the apps name."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1065 1066 1067 1068 1069 1070 1071 1072 1073
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "Links to web addresses can be done using `[http://example.com Text]`."
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
1074
msgid "Bulletted lists are done by simply starting each item with a `*` on a new line, and numbered lists are the same but using `#`. There is currently no support for nesting lists - you can have one level only."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1075 1076 1077 1078
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
1079
msgid "It can be helpful to note information pertaining to updating from an earlier version; whether the app contains any prebuilts built by the upstream developers or whether non-free elements were removed; whether the app is in rapid development or whether the latest version lags behind the current version; whether the app supports multiple architectures or whether there is a maximum SDK specified (such info not being recorded in the index)."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1080 1081 1082 1083 1084 1085 1086 1087 1088
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "4000 char limit"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
1089
msgid "__Warning__: this overrides all Description entries [set in the app's source code](../All_About_Descriptions_Graphics_and_Screenshots)."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "This is converted to (`<desc>`) in the XML file (_index.xml_).\n"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
1101
msgid "7.19 Maintainer Notes<a name=\"Maintainer-Notes\"></a>"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1102 1103 1104 1105
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
1106
msgid "This is a multi-line field using the same rules and syntax as the description. It’s used to record notes for F-Droid maintainers to assist in maintaining and updating the application in the repository."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1107 1108 1109 1110 1111 1112 1113 1114 1115 1116
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "This information is also published to the wiki."
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
1117
msgid "7.20 Repo Type<a name=\"Repo-Type\"></a>"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1118 1119 1120 1121
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
1122
msgid "The type of repository - for automatic building from source. If this is not specified, automatic building is disabled for this application.  Possible values are:"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157
msgstr ""

#. type: Bullet: '-   '
#: build/_docs/md/Build_Metadata_Reference.md
msgid "‘git’"
msgstr ""

#. type: Bullet: '-   '
#: build/_docs/md/Build_Metadata_Reference.md
msgid "‘svn’"
msgstr ""

#. type: Bullet: '-   '
#: build/_docs/md/Build_Metadata_Reference.md
msgid "‘git-svn’"
msgstr ""

#. type: Bullet: '-   '
#: build/_docs/md/Build_Metadata_Reference.md
msgid "‘hg’"
msgstr ""

#. type: Bullet: '-   '
#: build/_docs/md/Build_Metadata_Reference.md
msgid "‘bzr’"
msgstr ""

#. type: Bullet: '-   '
#: build/_docs/md/Build_Metadata_Reference.md
msgid "‘srclib’"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
1158
msgid "7.21 Repo<a name=\"Repo\"></a>"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1159 1160 1161 1162 1163 1164 1165 1166 1167
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "The repository location. Usually a git: or svn: URL, for example."
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
1168
msgid "The git-svn option connects to an SVN repository, and you specify the URL in exactly the same way, but git is used as a back-end. This is preferable for performance reasons, and also because a local copy of the entire history is available in case the upstream repository disappears.  (It happens!). In order to use Tags as update check mode for this VCS type, the URL must have the tags= special argument set. Likewise, if you intend to use the RepoManifest/branch scheme, you would want to specify branches= as well. Finally, trunk= can also be added. All these special arguments will be passed to \"git svn\" in order, and their values must be relative paths to the svn repo root dir. Here’s an example of a complex git-svn Repo URL: http://svn.code.sf.net/p/project/code/svn;trunk=trunk;tags=tags;branches=branches"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1169 1170 1171 1172
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
1173
msgid "If the Repo Type is `srclib`, then you must specify the name of the according srclib .txt file. For example if `scrlibs/FooBar.txt` exist and you want to use this srclib, then you have to set Repo to `FooBar`."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1174 1175 1176 1177 1178
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
1179
msgid "7.22 Binaries<a name=\"Binaries\"></a>"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1180 1181 1182 1183 1184 1185 1186 1187 1188
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "The location of binaries used in verification process."
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
1189
msgid "If specified, F-Droid will verify the output apk file of a build against the one specified. You can use %v and %c to point to the version name and version code of the current build. To verify the F-Droid client itself you could use: `Binaries:https://f-droid.org/repo/org.fdroid.fdroid_%c.apk`"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1190 1191 1192 1193 1194 1195 1196 1197 1198 1199
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "F-Droid will use upstream binaries if the verification succeeded."
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
1200
msgid "7.23 Build<a name=\"Build\"></a>"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1201 1202 1203 1204
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
1205
msgid "Any number of these fields can be present, each specifying a version to automatically build from source. The value is a comma-separated list.  For example:"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1206 1207 1208 1209 1210 1211 1212 1213 1214
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "‘Build:1.2,12’"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
1215
msgid "The above specifies to build version 1.2, which has a version code of 12.  The `commit=` parameter specifies the tag, commit or revision number from which to build it in the source repository. It is the only mandatory flag, which in this case could for example be `commit=v1.2`."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1216 1217 1218 1219
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
1220
msgid "In addition to the three, always required, parameters described above, further parameters can be added (in name=value format) to apply further configuration to the build. These are (roughly in order of application):"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "`disable=<message>`\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   Disables this build, giving a reason why. (For backwards\n"
"    compatibility, this can also be achieved by starting the commit ID\n"
"    with ’!’)\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    The purpose of this feature is to allow non-buildable releases (e.g.\n"
"    the source is not published) to be flagged, so the scripts don’t\n"
"    generate repeated messages about them. (And also to record the\n"
"    information for review later). If an apk has already been built,\n"
"    disabling causes it to be deleted once `fdroid update` is run; this\n"
"    is the procedure if ever a version has to be replaced.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "`subdir=<path>`\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   Specifies to build from a subdirectory of the checked out source\n"
"    code. Normally this directory is changed to before building,\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "`submodules=yes`"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   Use if the project (git only) has submodules - causes\n"
"    `git submodule update --init --recursive` to be executed after the\n"
"    source is cloned. Submodules are reset and cleaned like the main app\n"
"    repository itself before each build.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "`sudo=xxxx`"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   Specifies a script to be run using `sudo bash -x -c \"xxxx\"` in the\n"
"    buildserver VM guest.  This script is run with full root privileges,\n"
"    but the state will be reset after each build.  The vast majority of\n"
"    apps build using the standard Debian/stable base environment. This\n"
"    is useful for setting up the buildserver for complex builds that\n"
"    need very specific things that are not appropriate to install for\n"
"    all builds, or for things that would conflict with other builds.\n"
msgstr ""

1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319
#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "`timeout=<seconds>`\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   Time limit for this build (in seconds).  After time is up,\n"
"    buildserver VM is forcefully terminated.  The default is 7200\n"
"    (2 hours); 0 means no limit.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    Limitation is applied only in server mode, i.e. when `fdroid build`\n"
"    is invoked with the `--server` option.\n"
msgstr ""

Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575
#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "`init=xxxx`"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   Like ’prebuild’, but runs on the source code BEFORE any other\n"
"    processing takes place.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    You can use \\$\\$SDK\\$\\$, \\$\\$NDK\\$\\$, \\$\\$MVN3\\$\\$ and \\$\\$QT\\$\\$ to\n"
"    substitute the paths to the android SDK and NDK directories, maven 3\n"
"    executable, and Qt SDK directory respectively. The following\n"
"    per-build variables are available likewise: \\$\\$VERSION\\$\\$,\n"
"    \\$\\$VERCODE\\$\\$ and \\$\\$COMMIT\\$\\$.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "`oldsdkloc=yes`"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   The sdk location in the repo is in an old format, or the build.xml\n"
"    is expecting such. The ’new’ format is sdk.dir while the VERY OLD\n"
"    format is sdk-location. Typically, if you get a message along the\n"
"    lines of: \"com.android.ant.SetupTask cannot be found\" when trying to\n"
"    build, then try enabling this option.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "`target=<target>`\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   Specifies a particular SDK target for compilation, overriding the\n"
"    value defined in the code by upstream. This has different effects\n"
"    depending on what build system used — this flag currently affects\n"
"    Ant, Maven and Gradle projects only. Note that this does not change\n"
"    the target SDK in the AndroidManifest.xml, which determines the\n"
"    level of features that can be included in the build.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    In the case of an Ant project, it modifies project.properties of the\n"
"    app and possibly sub-projects. This is likely to cause the whole\n"
"    build.xml to be rewritten, which is fine if it’s a ’standard’\n"
"    android file or doesn’t already exist, but not a good idea if it’s\n"
"    heavily customised.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "`update=<auto/dirs>`\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   By default, ’android update’ is used in Ant builds to generate or\n"
"    update the project and all its referenced projects. Specifying\n"
"    update=no bypasses that. Note that this is useless in builds that\n"
"    don’t use Ant.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    Default value is ’`auto`’, which recursively uses the paths in\n"
"    project.properties to find all the subprojects to update.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    Otherwise, the value can be a comma-separated list of directories in\n"
"    which to run ’android update’ relative to the application directory.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "`encoding=xxxx`"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   Adds a java.encoding property to local.properties with the\n"
"    given value. Generally the value will be ’utf-8’. This is picked up\n"
"    by the SDK’s ant rules, and forces the Java compiler to interpret\n"
"    source files with this encoding. If you receive warnings during the\n"
"    compile about character encodings, you probably need this.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "`forceversion=yes`"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   If specified, the package version in AndroidManifest.xml is replaced\n"
"    with the version name for the build as specified in the metadata.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    This is useful for cases when upstream repo failed to update it for\n"
"    specific tag; to build an arbitrary revision; to make it apparent\n"
"    that the version differs significantly from upstream; or to make it\n"
"    apparent which architecture or platform the apk is designed to\n"
"    run on.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "`forcevercode=yes`"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   If specified, the package version code in the AndroidManifest.xml is\n"
"    replaced with the version code for the build. See also forceversion.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "`rm=<path1>[,<path2>,...]`\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   Specifies the relative paths of files or directories to delete\n"
"    before the build is done. The paths are relative to the base of the\n"
"    build directory - i.e. the root of the directory structure checked\n"
"    out from the source respository - not necessarily the directory that\n"
"    contains AndroidManifest.xml.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    Multiple files/directories can be specified by separating them with\n"
"    ’,’. Directories will be recursively deleted.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "`extlibs=<lib1>[,<lib2>,...]`\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   Comma-separated list of external libraries (jar files) from the\n"
"    `build/extlib` library, which will be placed in the `libs` directory\n"
"    of the project.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "`srclibs=[n:]a@r,[n:]b@r1,...`"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   Comma-separated list of source libraries or Android projects. Each\n"
"    item is of the form name@rev where name is the predefined source\n"
"    library name and rev is the revision or tag to use in the respective\n"
"    source control.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    For Ant projects, you can optionally append a number with a colon at\n"
"    the beginning of a srclib item to automatically place it in\n"
"    project.properties as a library under the specified number. For\n"
"    example, if you specify `1:somelib@1.0`, F-Droid will automatically\n"
"    do the equivalent of the legacy practice\n"
"    `prebuild=echo \"android.library.reference.1=$$somelib$$\" >> project.properties`.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    Each srclib has a metadata file under srclibs/ in the repository\n"
"    directory, and the source code is stored in build/srclib/. Repo\n"
"    Type: and Repo: are specified in the same way as for apps; Subdir:\n"
"    can be a comma separated list, for when directories are renamed by\n"
"    upstream; Update Project: updates the projects in the working\n"
"    directory and one level down; Prepare: can be used for any kind of\n"
"    preparation: in particular if you need to update the project with a\n"
"    particular target. You can then also use \\$\\$name\\$\\$ in the\n"
"    init/prebuild/build command to substitute the relative path to the\n"
"    library directory, but it could need tweaking if you’ve changed into\n"
"    another directory.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    Currently srclibs are necessary when upstream uses jar files or\n"
"    pulls dependencies from non-trusted repositories. While there is no\n"
"    guarantee that those binaries are free and correspondent to the\n"
"    source code, F-Droid allows the following known repositories until a\n"
"    source-built alternative is available:\n"
msgstr ""

#. type: Bullet: '    -   '
#: build/_docs/md/Build_Metadata_Reference.md
msgid "‘mavenCentral’ - the original repo, hardcoded in Maven and Gradle."
msgstr ""

#. type: Bullet: '    -   '
#: build/_docs/md/Build_Metadata_Reference.md
1576
msgid "‘jCenter’ - hardcoded in Gradle, this repo by Bintray tries to provide easier handling. It should sync with mavenCentral from time to time."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1577 1578 1579 1580
msgstr ""

#. type: Bullet: '    -   '
#: build/_docs/md/Build_Metadata_Reference.md
1581
msgid "‘OSS Sonatype’ - maintained by the people behind mavenCentral, this repository focuses on hosting services for open source project binaries."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1582 1583 1584 1585
msgstr ""

#. type: Bullet: '    -   '
#: build/_docs/md/Build_Metadata_Reference.md
1586
msgid "‘OSS JFrog’ - maintained by the people behind jCenter, this repository focuses on hosting services for open source project binaries."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1587 1588 1589 1590
msgstr ""

#. type: Bullet: '    -   '
#: build/_docs/md/Build_Metadata_Reference.md
1591
msgid "‘JitPack.io’ - builds directly from Github repositories.  However, they do not provide any option to reproduce or verify the resulting binaries. Builds pre-release versions in some cases."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950
msgstr ""

#. type: Bullet: '    -   '
#: build/_docs/md/Build_Metadata_Reference.md
msgid "‘Clojars’ - Clojure libraries repo."
msgstr ""

#. type: Bullet: '    -   '
#: build/_docs/md/Build_Metadata_Reference.md
msgid "‘CommonsWare’ - repo holding a collection of open-source libs."
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "`patch=x`"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   Apply patch(es). ’x’ names one (or more - comma-seperated) files\n"
"    within a directory below the metadata, with the same name as the\n"
"    metadata file but without the extension. Each of these patches is\n"
"    applied to the code in turn.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "`prebuild=xxxx`"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   Specifies a shell command (or commands - chain with &&) to run\n"
"    before the build takes place. Backslash can be used as an escape\n"
"    character to insert literal commas, or as the last character on a\n"
"    line to join that line with the next. It has no special meaning in\n"
"    other contexts; in particular, literal backslashes should not\n"
"    be escaped.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "    The command runs using bash.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    Note that nothing should be built during this prebuild phase -\n"
"    scanning of the code and building of the source tarball, for\n"
"    example, take place after this. For custom actions that actually\n"
"    build things or produce binaries, use ’build’ instead.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    You can use \\$\\$name\\$\\$ to substitute the path to a referenced\n"
"    srclib - see the `srclib` directory for details of this.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    You can use \\$\\$SDK\\$\\$, \\$\\$NDK\\$\\$ and \\$\\$MVN3\\$\\$ to substitute\n"
"    the paths to the android SDK and NDK directories, and Maven 3\n"
"    executable respectively e.g. for when you need to run\n"
"    `android update project` explicitly. The following per-build\n"
"    variables are available likewise: \\$\\$VERSION\\$\\$, \\$\\$VERCODE\\$\\$\n"
"    and \\$\\$COMMIT\\$\\$.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "`scanignore=<path1>[,<path2>,...]`\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   Enables one or more files/paths to be excluded from the scan\n"
"    process. This should only be used where there is a very good reason,\n"
"    and probably accompanied by a comment explaining why it\n"
"    is necessary.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    When scanning the source tree for problems, matching files whose\n"
"    relative paths start with any of the paths given here are ignored.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "`scandelete=<path1>[,<path2>,...]`\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   When running the scan process, any files that trigger errors - like\n"
"    binaries - will be removed. It acts just like scanignore=, but\n"
"    instead of ignoring the files, it removes them.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    Useful when a source code repository includes binaries or other\n"
"    unwanted files which are not needed for the build. Instead of\n"
"    removing them manually via rm=, using scandelete= is easier.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "`build=xxxx`"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   As for ’prebuild’, but runs during the actual build phase (but\n"
"    before the main Ant/Maven build). Use this only for actions that do\n"
"    actual building. Any prepartion of the source code should be done\n"
"    using ’init’ or ’prebuild’.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    Any building that takes place before build= will be ignored, as\n"
"    either Ant, mvn or gradle will be executed to clean the build\n"
"    environment right before build= (or the final build) is run.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    You can use \\$\\$SDK\\$\\$, \\$\\$NDK\\$\\$ and \\$\\$MVN3\\$\\$ to substitute\n"
"    the paths to the android SDK and NDK directories, and maven 3\n"
"    executable respectively. The following per-build variables are\n"
"    available likewise: \\$\\$VERSION\\$\\$, \\$\\$VERCODE\\$\\$\n"
"    and \\$\\$COMMIT\\$\\$.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "`buildjni=[yes|no|<dir list>]`\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   Enables building of native code via the ndk-build script before\n"
"    doing the main Ant build. The value may be a list of directories\n"
"    relative to the main application directory in which to run\n"
"    ndk-build, or ’yes’ which corresponds to ’.’ . Using explicit list\n"
"    may be useful to build multi-component projects.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    The build and scan processes will complain (refuse to build) if this\n"
"    parameter is not defined, but there is a `jni` directory present. If\n"
"    the native code is being built by other means like a Gradle task,\n"
"    you can specify `no` here to avoid that. However, if the native code\n"
"    is actually not required or used, remove the directory instead\n"
"    (using `rm=jni` for example). Using `buildjni=no` when the jni code\n"
"    isn’t used nor built will result in an error saying that native\n"
"    libraries were expected in the resulting package.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "`ndk=<version>`\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   Version of the NDK to use in this build. Defaults to the latest NDK\n"
"    release that included legacy toolchains, so as to not break builds\n"
"    that require toolchains no longer included in current versions of\n"
"    the NDK.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    The buildserver supports r9b with its legacy toolchains, r10e, r11c\n"
"    r12b, and the latest release as of writing this document, r13b. You may\n"
"    add support for more versions by adding them to ’ndk\\_paths’ in your\n"
"    config file.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "`gradle=<flavour1>[,<flavour2>,...]`\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   Build with Gradle instead of Ant, specifying what flavours to use.\n"
"    Flavours are case sensitive since the path to the output apk is\n"
"    as well.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    If only one flavour is given and it is ’yes’, no flavour will be\n"
"    used. Note that for projects with flavours, you must specify at\n"
"    least one valid flavour since ’yes’ will build all of\n"
"    them separately.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "`maven=yes[@<dir>]`\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   Build with Maven instead of Ant. An extra @&lt;dir&gt; tells F-Droid\n"
"    to run Maven inside that relative subdirectory. Sometimes it is\n"
"    needed to use @.. so that builds happen correctly.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "`preassemble=<task1>[,<task2>,...]`\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   List of Gradle tasks to be run before the assemble task in a Gradle\n"
"    project build.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "`gradleprops=<prop1>[,<prop2>,...]`\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   List of Gradle properties to pass via the command line to Gradle. A\n"
"    property can be of the form `foo` or of the form `key=value`.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    For example: `gradleprops=enableFoo,someSetting=bar` will result in\n"
"    `gradle -PenableFoo -PsomeSetting=bar`.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "`antcommands=<target1>[,<target2>,...]`\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   Specify an alternate set of Ant commands (target) instead of the\n"
"    default ’release’. It can’t be given any flags, such as the path to\n"
"    a build.xml.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "`output=glob/to/output.apk`"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   Specify a glob path where the resulting unsigned release apk from\n"
"    the build should be. This can be used in combination with build\n"
"    methods like `gradle=yes` or `maven=yes`, but if no build method is\n"
"    specified, the build is manual. You should run your build commands,\n"
"    such as `make`, in `build=`.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "`novcheck=yes`"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   Don’t check that the version name and code in the resulting apk are\n"
"    correct by looking at the build output - assume the metadata\n"
"    is correct. This takes away a useful level of sanity checking, and\n"
"    should only be used if the values can’t be extracted.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "`antifeatures=<antifeature1>[,<antifeature2>,...]`\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
":   List of Anti-Features for this specific build. They are described\n"
"    in [AntiFeatures](#AntiFeatures).\n"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
1951
msgid "7.24 AntiFeatures<a name=\"AntiFeatures\"></a>"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1952 1953 1954 1955
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
1956
msgid "This is optional - if present, it contains a comma-separated list of any of the following values, describing an anti-feature the application has.  It is a good idea to mention the reasons for the anti-feature(s) in the description:"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1957 1958 1959 1960 1961 1962 1963 1964 1965
msgstr ""

#. type: Bullet: '-   '
#: build/_docs/md/Build_Metadata_Reference.md
msgid "‘Ads’ - the application contains advertising."
msgstr ""

#. type: Bullet: '-   '
#: build/_docs/md/Build_Metadata_Reference.md
1966
msgid "‘Tracking’ - the application tracks and reports your activity to somewhere without your consent. It’s commonly used for when developers obtain crash logs without the user’s consent, or when an app is useless without some kind of authentication."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1967 1968 1969 1970
msgstr ""

#. type: Bullet: '-   '
#: build/_docs/md/Build_Metadata_Reference.md
1971
msgid "‘NonFreeNet’ - the application relies on computational services that are impossible to replace or that the replacement cannot be connected to without major changes to the app."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1972 1973 1974 1975
msgstr ""

#. type: Bullet: '-   '
#: build/_docs/md/Build_Metadata_Reference.md
1976
msgid "‘NonFreeAdd’ - the application promotes non-free add-ons, such that the app is effectively an advert for other non-free software."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1977 1978 1979 1980
msgstr ""

#. type: Bullet: '-   '
#: build/_docs/md/Build_Metadata_Reference.md
1981
msgid "‘NonFreeDep’ - the application depends on a non-free application (e.g. Google Maps) - i.e. it requires it to be installed on the device, but does not include it."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1982 1983 1984 1985
msgstr ""

#. type: Bullet: '-   '
#: build/_docs/md/Build_Metadata_Reference.md
1986
msgid "‘UpstreamNonFree’ - the application is or depends on non-free software. This does not mean that non-free software is included with the app: Most likely, it has been patched in some way to remove the non-free code. However, functionality may be missing."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1987 1988 1989 1990
msgstr ""

#. type: Bullet: '-   '
#: build/_docs/md/Build_Metadata_Reference.md
1991
msgid "‘NonFreeAssets’ - the application contains and makes use of non-free assets. The most common case is apps using artwork - images, sounds, music, etc - under a non-commercial license."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
1992 1993 1994 1995 1996 1997 1998 1999 2000
msgstr ""

#. type: Bullet: '-   '
#: build/_docs/md/Build_Metadata_Reference.md
msgid "‘KnownVuln’ - the application has known security vulnerabilities."
msgstr ""

#. type: Bullet: '-   '
#: build/_docs/md/Build_Metadata_Reference.md
2001
msgid "‘ApplicationDebuggable‘ - APK file is compiled for debugging (`application-debuggable`), which normally makes it unsuitable for regular users and use cases."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "This is converted to (`<antifeatures>`) in the XML file (_index.xml_).\n"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
2013
msgid "7.25 Disabled<a name=\"Disabled\"></a>"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2014 2015 2016 2017
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
2018
msgid "If this field is present, the application does not get put into the public index. This allows metadata to be retained while an application is temporarily disabled from being published. The value should be a description of why the application is disabled. No apks or source code archives are deleted: to purge an apk see the Build Version section or delete manually for developer builds. The field is therefore used when an app has outlived it’s usefulness, because the source tarball is retained."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2019 2020 2021 2022 2023
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
2024
msgid "7.26 Requires Root<a name=\"Requires-Root\"></a>"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2025 2026 2027 2028
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
2029
msgid "Set this optional field to \"Yes\" if the application requires root privileges to be usable. This lets the client filter it out if the user so desires. Whether root is required or not, it is good to give a paragraph in the description to the conditions on which root may be asked for and the reason for it."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "This is converted to (`<requirements>`) in the XML file (_index.xml_).\n"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
2041
msgid "7.27 Archive Policy<a name=\"Archive-Policy\"></a>"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2042 2043 2044 2045
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
2046
msgid "This determines the policy for moving old versions of an app to the archive repo, if one is configured. The configuration sets a default maximum number of versions kept in the main repo, after which older ones are moved to the archive. This app-specific policy setting can override that."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2047 2048 2049 2050
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
2051
msgid "Currently the only supported format is \"n versions\", where n is the number of versions to keep. Defaults to \"3 versions\"."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2052 2053 2054 2055 2056
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
2057
msgid "7.28 Update Check Mode<a name=\"Update-Check-Mode\"></a>"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2058 2059 2060 2061
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
2062
msgid "This determines the method using for determining when new releases are available - in other words, the updating of the Current Version and Current Version Code fields in the metadata by the `fdroid checkupdates` process."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2063 2064 2065 2066 2067 2068 2069 2070 2071
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "Valid modes are:"
msgstr ""

#. type: Bullet: '-   '
#: build/_docs/md/Build_Metadata_Reference.md
2072
msgid "`None` - No checking is done because there’s no appropriate automated way of doing so. Updates should be checked for manually.  Use this, for example, when deploying unstable or patched versions; when builds are done in a directory different to where the AndroidManifest.xml is; if the developers use the Gradle build system and store version info in a separate file; if the developers make a new branch for each release and don’t make tags; or if you’ve changed the package name or version code logic."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2073 2074 2075 2076
msgstr ""

#. type: Bullet: '-   '
#: build/_docs/md/Build_Metadata_Reference.md
2077
msgid "`Static` - No checking is done - either development has ceased or new versions are not desired. This method is also used when there is no other checking method available and the upstream developer keeps us posted on new versions."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2078 2079 2080 2081
msgstr ""

#. type: Bullet: '-   '
#: build/_docs/md/Build_Metadata_Reference.md
2082
msgid "`RepoManifest` - At the most recent commit, the `AndroidManifest.xml` and `build.gradle` files are looked for in the directory where they were found in the the most recent build. The appropriateness of this method depends on the development process used by the application’s developers. You should not specify this method unless you’re sure it’s appropriate. For example, some developers bump the version when commencing development instead of when publishing. It will return an error if the AndroidManifest.xml has moved to a different directory or if the package name has changed. The current version that it gives may not be accurate, since not all versions are fit to be published.  Therefore, before building, it is often necessary to check if the current version has been published somewhere by the upstream developers, either by checking for apks that they distribute or for tags in the source code repository."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    It currently works for every repository type to different extents,\n"
"    except the srclib repo type. For git, git-svn and hg repo types, you\n"
"    may use \"RepoManifest/yourbranch\" as UCM so that \"yourbranch\" would\n"
"    be the branch used in place of the default one. The default values\n"
"    are \"master\" for git, \"default\" for hg and none for git-svn (it\n"
"    stays in the same branch). On the other hand, branch support hasn’t\n"
"    been implemented yet in bzr and svn, but RepoManifest may still be\n"
"    used without it.\n"
msgstr ""

#. type: Bullet: '-   '
#: build/_docs/md/Build_Metadata_Reference.md
2101
msgid "`RepoTrunk` - For svn and git-svn repositories, especially those who don’t have a bundled AndroidManifest.xml file, the Tags and RepoManifest checks will not work, since there is no version information to obtain. But, for those apps who automate their build process with the commit ref that HEAD points to, RepoTrunk will set the Current Version and Current Version Code to that number."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2102 2103 2104 2105
msgstr ""

#. type: Bullet: '-   '
#: build/_docs/md/Build_Metadata_Reference.md
2106
msgid "`Tags` - The `AndroidManifest.xml` and `build.gradle` files in all tagged revisions in the source repository are checked, looking for the highest version code.  The appropriateness of this method depends on the development process used by the application’s developers. You should not specify this method unless you’re sure it’s appropriate. It shouldn’t be used if the developers like to tag unstable versions or are known to forget to tag releases. Like RepoManifest, it will not return the correct value if the directory containing the AndroidManifest.xml has moved. Despite these caveats, it is the often the favourite update check mode."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    It currently only works for git, hg, bzr and git-svn repositories.\n"
"    In the case of the latter, the repo URL must contain the path to the\n"
"    trunk and tags or else no tags will be found.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    Optionally append a regex pattern at the end - separated with a\n"
"    space - to only check the tags matching said pattern. Useful when\n"
"    apps tag non-release versions such as X.X-alpha, so you can filter\n"
"    them out with something like `.*[0-9]$` which requires tag names to\n"
"    end with a digit.\n"
msgstr ""

#. type: Bullet: '-   '
#: build/_docs/md/Build_Metadata_Reference.md
2131
msgid "`HTTP` - HTTP requests are used to determine the current version code and version name. This is controlled by the `Update Check Data` field, which is of the form `urlcode|excode|urlver|exver`."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    Firstly, if `urlcode` is non-empty, the document from that URL is\n"
"    retrieved, and matched against the regular expression `excode`, with\n"
"    the first group becoming the version code.\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    Secondly, if `urlver` is non-empty, the document from that URL is\n"
"    retrieved, and matched against the regular expression `exver`, with\n"
"    the first group becoming the version name. The `urlver` field can be\n"
"    set to simply ’.’ which says to use the same document returned for\n"
"    the version code again, rather than retrieving a different one.\n"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
2157
msgid "7.29 Vercode Operation<a name=\"Vercode-Operation\"></a>"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2158 2159 2160 2161
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
2162
msgid "Operation to be applied to the vercode obtained by the defined `Update Check Mode`. `%c` will be replaced by the actual vercode, and the whole string will be passed to python’s `eval` function."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2163 2164 2165 2166
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
2167
msgid "Especially useful with apps that we want to compile for different ABIs, but whose vercodes don’t always have trailing zeros. For example, with `Vercode Operation` set at something like `%c*10 + 4`, we will be able to track updates and build up to four different versions of every upstream version."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2168 2169 2170 2171 2172
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
2173
msgid "7.30 Update Check Ignore<a name=\"Update-Check-Ignore\"></a>"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2174 2175 2176 2177
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
2178
msgid "When checking for updates (via `Update Check Mode`) this can be used to specify a regex which, if matched against the version name, causes that version to be ignored. For example, ’beta’ could be specified to ignore version names that include that text."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2179 2180 2181 2182 2183
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
2184
msgid "7.31 Update Check Name<a name=\"Update-Check-Name\"></a>"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2185 2186 2187 2188
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
2189
msgid "When checking for updates (via `Update Check Mode`) this can be used to specify the package name to search for. Useful when apps have a static package name but change it programmatically in some app flavors, by e.g.  appending \".open\" or \".free\" at the end of the package name."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2190 2191 2192 2193
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
2194
msgid "You can also use `Ignore` to ignore package name searching. This should only be used in some specific cases, for example if the app’s build.gradle file does not contain the package name."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2195 2196 2197 2198 2199
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
2200
msgid "7.32 Update Check Data<a name=\"Update-Check-Data\"></a>"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2201 2202 2203 2204 2205 2206 2207 2208 2209 2210
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "Used in conjunction with `Update Check Mode` for certain modes."
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
2211
msgid "7.33 Auto Update Mode<a name=\"Auto-Update-Mode\"></a>"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2212 2213 2214 2215
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
2216
msgid "This determines the method using for auto-generating new builds when new releases are available - in other words, adding a new Build Version line to the metadata. This happens in conjunction with the ’Update Check Mode’ functionality - i.e. when an update is detected by that, it is also processed by this."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2217 2218 2219 2220 2221 2222 2223 2224 2225
msgstr ""

#. type: Bullet: '-   '
#: build/_docs/md/Build_Metadata_Reference.md
msgid "`None` - No auto-updating is done"
msgstr ""

#. type: Bullet: '-   '
#: build/_docs/md/Build_Metadata_Reference.md
2226
msgid "`Version` - Identifies the target commit (i.e. tag) for the new build based on the given version specification, which is simply text in which %v and %c are replaced with the required version name and version code respectively."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    For example, if an app always has a tag \"2.7.2\" corresponding to\n"
"    version 2.7.2, you would simply specify \"Version %v\". If an app\n"
"    always has a tag \"ver\\_1234\" for a version with version code 1234,\n"
"    you would specify \"Version ver\\_%c\".\n"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid ""
"    Additionally, a suffix can be added to the version name at this\n"
"    stage, to differentiate F-Droid’s build from the original.\n"
"    Continuing the first example above, you would specify that as\n"
"    \"Version +-fdroid %v\" - \"-fdroid\" is the suffix.\n"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
2252
msgid "7.34 Current Version<a name=\"Current-Version\"></a>"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2253 2254 2255 2256
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
2257
msgid "The [name of the version](https://developer.android.com/guide/topics/manifest/manifest-element.html#vname) that is the recommended release. There may be newer versions of the application than this (e.g. unstable versions), and there will almost certainly be older ones. This should be the one that is recommended for general use. In the event that there is no source code for the current version, or that non-free libraries are being used, this would ideally be the latest version that is still free, though it may still be expedient to retain the automatic update check — see No Source Since."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
msgid "This field is normally automatically updated - see Update Check Mode."
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "This is converted to (`<marketversion>`) in the XML file (_index.xml_).\n"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
2274
msgid "7.35 Current Version Code<a name=\"Current-Version-Code\"></a>"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2275 2276 2277 2278
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
2279
msgid "The [version code](https://developer.android.com/guide/topics/manifest/manifest-element.html#vcode) corresponding to the [Current Version](#Current-Version) field. Both these fields must be correct and matching although it’s the current version code that’s used by Android to determine version order and by F-Droid client to determine which version should be recommended."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2280 2281 2282 2283
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
2284
msgid "This field is normally automatically updated - see [Update Check Mode](#Update-Check-Mode)."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2285 2286 2287 2288
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
2289
msgid "If not set or set to `0`, clients will recommend the highest version they can, as if the `Current Version Code` was infinite."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
msgid "This is converted to (`<marketvercode>`) in the XML file (_index.xml_).\n"
msgstr ""

#. type: Title ###
#: build/_docs/md/Build_Metadata_Reference.md
#, no-wrap
2301
msgid "7.36 No Source Since<a name=\"No-Source-Since\"></a>"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2302 2303 2304 2305
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Metadata_Reference.md
2306
msgid "In case we are missing the source code for the Current Version reported by Upstream, or that non-free elements have been introduced, this defines the first version that began to miss source code. Apps that are missing source code for just one or a few versions, but provide source code for newer ones are not to be considered here - this field is intended to illustrate which apps do not currently distribute source code, and since when have they been doing so."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2307 2308 2309 2310 2311 2312 2313 2314 2315 2316
msgstr ""

#. type: Title #
#: build/_docs/md/Build_Server_Setup.md
#, no-wrap
msgid "Build Server Setup"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Server_Setup.md
2317
msgid "The F-Droid build server isolates the builds for each package within a clean, isolated and secure throwaway virtual machine environment. Building thousands of apps, especially with automated and/or unattended processes, could be considered a dangerous pastime from a security perspective. This is even more the case when the products of the build are also distributed widely and in a semi-automated (\"you have updates available\") fashion."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2318 2319 2320 2321
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Server_Setup.md
2322
msgid "Assume that an upstream source repository is compromised. A small selection of things that an attacker could do in such a situation:"
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2323 2324 2325 2326
msgstr ""

#. type: Bullet: '1.  '
#: build/_docs/md/Build_Server_Setup.md
2327
msgid "Use custom build steps to execute virtually anything as the user doing the build."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2328 2329 2330 2331 2332 2333 2334 2335 2336
msgstr ""

#. type: Bullet: '2.  '
#: build/_docs/md/Build_Server_Setup.md
msgid "Access the keystore."
msgstr ""

#. type: Bullet: '3.  '
#: build/_docs/md/Build_Server_Setup.md
2337
msgid "Modify the built APK files or source tarballs for other applications in the repository."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2338 2339 2340 2341
msgstr ""

#. type: Bullet: '4.  '
#: build/_docs/md/Build_Server_Setup.md
2342
msgid "Modify the metadata (which includes build scripts, which again, also includes the ability to execute anything) for other applications in the repository."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2343 2344 2345 2346
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Server_Setup.md
2347
msgid "Through complete isolation, the repurcussions are at least limited to the application in question. Not only is the build environment fresh for each build, and thrown away afterwards, but it is also totally isolated from the signing environment."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2348 2349 2350 2351
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Server_Setup.md
2352
msgid "Aside from security issues, there are some applications which have strange requirements such as old versions of the NDK. It would be impractical (or at least extremely messy) to start modifying and restoring the SDK on a multi-purpose system, but within the confines of a throwaway single-use virtual machine, anything is possible."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2353 2354 2355 2356
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Server_Setup.md
2357
msgid "All this is in addition to the obvious advantage of having a standardised and completely reproducible environment in which builds are made. Additionally, it allows for specialised custom build environments for particular applications."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2358 2359 2360 2361 2362 2363 2364 2365 2366 2367
msgstr ""

#. type: Title ##
#: build/_docs/md/Build_Server_Setup.md
#, no-wrap
msgid "Overview of the setup"
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Server_Setup.md
2368
msgid "This is how to set up a working build server, starting from a completely clean minimal Debian/stable install.  This HOWTO assumes you have already [setup _fdroidserver_](../Installing_the_Server_and_Repo_Tools). Running the _fdroidserver_ tools directly out of [git](https://gitlab.com/fdroid/fdroidserver)  (e.g. `~/fdroidserver/fdroid build org.adaway`), will likely be the easiest for now since the build server setup scripts are not really ready for proper packaging. Also, it will likely only work on Debian, Ubuntu and other Debian-derivatives since F-Droid only uses Debian in its infrastructure (we welcome porting contributions!)."
Hans-Christoph Steiner's avatar
Hans-Christoph Steiner committed
2369 2370 2371 2372
msgstr ""

#. type: Plain text
#: build/_docs/md/Build_Server_Setup.md