deltachat/docs/f-droid.md
2019-02-11 16:30:16 +01:00

56 lines
1.9 KiB
Markdown

# F-Droid - Overview
- https://gitlab.com/fdroid/fdroiddata/blob/master/metadata/com.b44t.messenger.yml
contains the descripion and all meta data shown for Delta Chat on F-Droid
- when a new tag in the form `v1.2.3` is added to the deltachat-android repo,
F-Droid will pick up this version and distribute it -
this may take some days or even weeks.
before creating a new version, please have a look at docs/release-checklist.md
# F-Droid Build status
- <https://f-droid.org/wiki/page/com.b44t.messenger/lastbuild>
shows the last build attempt
- <https://f-droid.org/repo/com.b44t.messenger_VERSIONCODE.apk>
(with VERSIONCODE = 537 or so) links to successfully built apk
even if it is not yet in the index (which may take some more time).
# Use F-Droid-tools locally
$ git clone https://gitlab.com/fdroid/fdroiddata
$ git clone https://gitlab.com/fdroid/fdroidserver
$ cd fdroiddata
now, metadata/com.b44t.messenger.txt can be modified.
for testing, one can change the repo to a branch
by adding the line `Update Check Mode:RepoManifest/BRANCH` to the file.
set some path to ndk etc:
$ cp ../fdroidserver/examples/config.py . # adapt file as needed
checkout repo as f-droid would do:
$ ../fdroidserver/fdroid checkupdates -v com.b44t.messenger
(for testing with uncommited changes, add --allow-dirty)
build repo as f-droid would do:
$ ../froidserver/fdroid build -v com.b44t.messenger:<versionCode>
(via https://f-droid.org/docs/Installing_the_Server_and_Repo_Tools/
and https://f-droid.org/docs/Building_Applications/ -
might require `pip install pyasn1 pyasn1_modules pyaml requests`)
# Changing the Description on F-Droid
- the description can be changed via a PR to the file above
- make sure there is a "newline" at the end of the description
(see https://gitlab.com/fdroid/fdroiddata/merge_requests/3580)
- reformat the metadata using
$ ../fdroidserver/fdroid rewritemeta com.b44t.messenger # called from fdroiddata dir