Skip to content
Jun Matsushita edited this page Jan 5, 2016 · 3 revisions

Welcome to the openmentoring-mobile wiki!

Install Fdroid Server

(tested on OSX)

git clone https://gitlab.com/fdroid/fdroidserver.git
cd fdroidserver
virtualenv env/
source env/bin/activate
pip install -e .
python2 setup.py install

Source

Configure local fdroiddata repo with upstream

Add to .git/config

[remote "upstream"]
        url = https://gitlab.com/fdroid/fdroiddata.git
        fetch = +refs/heads/*:refs/remotes/upstream/*

Locally test Fdroid build

git pull upstream master
source ../fdroidserver/env/bin/activate
fdroid readmeta
fdroid rewritemeta org.iilab.openmentoring
fdroid checkupdates org.iilab.openmentoring (or edit metadata/org.iilab.opementoring.txt if auto update don't work)
fdroid lint org.iilab.openmentoring
fdroid build -v -l org.iilab.openmentoring (or fdroid build -v -l org.iilab.openmentoring:VERSIONCODE)

Source

Update App

Locally build and commit generated code in platform/android to openmentoring-mobile repo. Edit metadata/org.iilab.opementoring.txt Follow local fdroid build instruction above to test.

Clone this wiki locally