1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-05 18:50:09 +02:00
Tools for managing builds, indexes, updates, and deployments for F-Droid repositories.
Go to file
Hans-Christoph Steiner 69c81c3817 use jarsigner and keytool from same JDK as is being set in JAVA7_HOME
Using the same JDK throughout should prevent weird bugs where a setup might
use Java8's jarsigner and Java7's keytool.  This also allows the user to
set java_paths and have jarsigner and keytool used from that specified JDK.

This incorporates almost all of the patch that is in the Debian package
that forces fdroidserver to use the default JDK on that Debian release.

closes #93 https://gitlab.com/fdroid/fdroidserver/issues/93
2016-02-11 21:17:23 +01:00
.pylint-plugins jenkins-build: make pylint handle the hashlib hash classes properly 2014-04-03 12:33:22 -04:00
buildserver makebuildserver: add workaround to Ubuntu/trusty's old paramiko 2016-02-11 20:27:30 +01:00
completion bash-completion: add appid support for all formats 2015-10-04 07:55:55 -07:00
docs Tidy up/fix some vagrant issues 2016-01-26 22:05:31 +00:00
examples makebuildserver: default memory to 1024MB, so it runs on normal machines 2016-02-03 14:54:14 +01:00
fdroidserver use jarsigner and keytool from same JDK as is being set in JAVA7_HOME 2016-02-11 21:17:23 +01:00
hooks make git pre-commit hook only test files to be committed 2016-02-03 14:54:14 +01:00
tests use jarsigner and keytool from same JDK as is being set in JAVA7_HOME 2016-02-11 21:17:23 +01:00
wp-fdroid wp-fdroid: Linkify more licenses 2016-01-24 13:27:15 +01:00
.gitignore build: improve regsub pattern for setting buildToolsVersion 2015-08-19 17:55:17 +02:00
.gitlab-ci.yml Bump build-tools to 23.0.2 2015-11-05 11:56:13 +01:00
fd-commit Apparently Python cannot handle Unicode 2016-01-14 23:15:05 +01:00
fdroid Apparently Python cannot handle Unicode 2016-01-14 23:15:05 +01:00
jenkins-build move tests into common script for jenkins and gitlab-ci 2015-09-01 19:52:37 +02:00
jenkins-build-makebuildserver test ./makebuildserver by running a build in jenkins 2016-02-04 20:18:03 +01:00
LICENSE Rename COPYING to LICENSE 2015-08-24 10:54:20 -07:00
makebuildserver makebuildserver: add workaround to Ubuntu/trusty's old paramiko 2016-02-11 20:27:30 +01:00
MANIFEST.in name makebuildserver config the same as the script 2016-01-21 15:34:55 +01:00
README.md README: Note that Python 2.7.7+ is supported 2015-12-31 10:11:41 +01:00
setup.cfg Add configuration for pypi 2015-08-07 11:41:38 +02:00
setup.py name makebuildserver config the same as the script 2016-01-21 15:34:55 +01:00

F-Droid Server

build status

Server for F-Droid, the Free Software repository system for Android.

The F-Droid server tools provide various scripts and tools that are used to maintain the main F-Droid application repository. You can use these same tools to create your own additional or alternative repository for publishing, or to assist in creating, testing and submitting metadata to the main repository.

For documentation, please see the docs directory.

Alternatively, visit https://f-droid.org/manual/.

What is F-Droid?

F-Droid is an installable catalogue of FOSS (Free and Open Source Software) applications for the Android platform. The client makes it easy to browse, install, and keep track of updates on your device.

Installing

Note that only Python 2 is supported. We recommend version 2.7.7 or later.

The easiest way to install the fdroidserver tools is on Ubuntu, Mint or other Ubuntu based distributions, you can install using:

sudo apt-get install fdroidserver

For older Ubuntu releases or to get the latest version, you can get fdroidserver from the Guardian Project PPA (the signing key fingerprint is 6B80 A842 07B3 0AC9 DEE2 35FE F50E ADDD 2234 F563)

sudo add-apt-repository ppa:guardianproject/ppa
sudo apt-get update
sudo apt-get install fdroidserver

On OSX, fdroidserver is available from third party package managers, like Homebrew, MacPorts, and Fink:

brew install fdroidserver

For Arch-Linux is a package in the AUR available. If you have installed yaourt or something similiar, you can do:

yaourt -S fdroidserver

For any platform where Python's easy_install is an option (e.g. OSX or Cygwin, you can use it:

sudo easy_install fdroidserver

Python's pip also works:

sudo pip install fdroidserver

The combination of virtualenv and pip is great for testing out the latest versions of fdroidserver. Using pip, fdroidserver can even be installed straight from git. First, make sure you have installed the python header files, virtualenv and pip. They should be included in your OS's default package manager or you can install them via other mechanisms like Brew/dnf/pacman/emerge/Fink/MacPorts.

For Debian based distributions:

apt-get install python-dev python-pip python-virtualenv

Then here's how to install:

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