deltachat/docs/f-droid.md
2024-06-17 17:07:04 +02:00

3.2 KiB

F-Droid - Overview

F-Droid Build status

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.yml 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 uncommitted changes, add --allow-dirty)

Build repo as F-Droid would do:
$ ../froidserver/fdroid build -v com.b44t.messenger:

(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

Changing F-Droid metadata

  • The file com.b44t.messenger.yml can be changed via a PR to the https://gitlab.com/fdroid/fdroiddata/ repository.

  • Reformat the metadata using
    $ ../fdroidserver/fdroid rewritemeta com.b44t.messenger # called from fdroiddata dir