2162703a1a
This creates a mirror of a full repo by downloading all files listed in the index, and the ones that are generated based on that data, e.g. icons of different resolutions. This could be useful for setting up mirrors of small repositories, instead of having to learn and manage rsync or something else for mirroring. This just needs a working repo. It uses wget in a batch mode with the aim as being as efficient as possible. wget mirroring over HTTP is always going to be less efficient than rsync, but it shouldn't be so bad since it uses --continue to check whether it has already downloaded a file. I suppose it could be extended to use ETags for a little more efficiency. I developed this creating a test mirror of f-droid.org, which is now a bit ironic, since I added a specific check to prevent people from using this on f-droid.org. |
||
---|---|---|
buildserver | ||
completion | ||
docker | ||
examples | ||
fdroidserver | ||
hooks | ||
locale | ||
tests | ||
.gitignore | ||
.gitlab-ci.yml | ||
.pylint-rcfile | ||
.travis.yml | ||
fd-commit | ||
fdroid | ||
jenkins-build-all | ||
jenkins-setup-build-environment | ||
jenkins-test | ||
LICENSE | ||
makebuildserver | ||
MANIFEST.in | ||
README.md | ||
setup.cfg | ||
setup.py |
CI Builds | fdroidserver | buildserver | fdroid build --all | publishing tools |
---|---|---|---|---|
Debian | ||||
macOS & Ubuntu/LTS |
F-Droid Server
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 https://f-droid.org/docs/, or you can find the source for the documentation in fdroid/fdroid-website.
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
There are many was to install fdroidserver, they are documented on the website: https://f-droid.org/docs/Installing_the_Server_and_Repo_Tools
All sorts of other documentation lives there as well.
Drozer Scanner
There is a new feature under development that can scan any APK in a repo, or any build, using Drozer. Drozer is a dynamic exploit scanner, it runs an app in the emulator and runs known exploits on it.
This setup requires specific versions of two Python modules: docker-py 1.9.0 and requests older than 2.11. Other versions might cause the docker-py connection to break with the containers. Newer versions of docker-py might have this fixed already.
For Debian based distributions:
apt-get install libffi-dev libssl-dev python-docker
Translation
Everything can be translated. See Translation and Localization for more info.