1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-02 09:10:11 +02:00
Tools for managing builds, indexes, updates, and deployments for F-Droid repositories.
Go to file
Hans-Christoph Steiner 7b52722d12 nightly: replace / from fingerprint in SSH key filename, fixes #423
The SSH key fingerprint is used in the filename.  The base64 used for SSH
key fingerprints includes /.  Not all keys will end up having a / in them.
For those that do, this will crash since the ssh key filename ends up being
non-existent dirs:

$ fdroid nightly
Importing keystore /home/mhoffmann/.android/debug.keystore to /tmp/.cqswaeo8/.keystore.p12...
MAC verified OK
writing RSA key
CRITICAL: Unknown exception found!
Traceback (most recent call last):
  File "/usr/lib/python3.6/shutil.py", line 544, in move
    os.rename(src, real_dst)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/.cqswaeo8/.privkey' -> '/tmp/.cqswaeo8/debug_keystore_PZtS/4Tzk4dpzKiX9AAf1GrhAVi9U7UE1aYEHr6evKo_id_rsa'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/mhoffmann/projects/oss/fdroidserver/fdroid", line 156, in <module>
    main()
  File "/home/mhoffmann/projects/oss/fdroidserver/fdroid", line 132, in main
    mod.main()
  File "/home/mhoffmann/projects/oss/fdroidserver/fdroidserver/nightly.py", line 284, in main
    privkey = _ssh_key_from_debug_keystore()
  File "/home/mhoffmann/projects/oss/fdroidserver/fdroidserver/nightly.py", line 73, in _ssh_key_from_debug_keystore
    shutil.move(privkey, ssh_private_key_file)
  File "/usr/lib/python3.6/shutil.py", line 558, in move
    copy_function(src, real_dst)
  File "/usr/lib/python3.6/shutil.py", line 257, in copy2
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/usr/lib/python3.6/shutil.py", line 121, in copyfile
    with open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/.cqswaeo8/debug_keystore_PZtS/4Tzk4dpzKiX9AAf1GrhAVi9U7UE1aYEHr6evKo_id_rsa'
2017-12-07 22:39:32 +01:00
buildserver buildserver: include all Android SDK licenses in their exact format 2017-11-29 21:06:02 +01:00
completion remove fd-commit, no active devs use it, and requires Auto Name/Name 2017-12-06 22:48:08 +01:00
docker dscanner - Drozer based post-build dynamic vulnerability scanner command 2016-12-06 14:00:44 +01:00
examples server: allow user to specify custom s3cfg file (closes #413) 2017-11-29 19:50:57 +01:00
fdroidserver nightly: replace / from fingerprint in SSH key filename, fixes #423 2017-12-07 22:39:32 +01:00
hooks remove fd-commit, no active devs use it, and requires Auto Name/Name 2017-12-06 22:48:08 +01:00
locale Weblate 2017-11-27 12:28:34 +00:00
tests gitlab-ci: move sdist test run to new fedora job 2017-12-06 20:20:17 +01:00
.gitignore include README.rst in official release source tarball 2017-10-19 23:16:58 +02:00
.gitlab-ci.yml gitlab-ci: move sdist test run to new fedora job 2017-12-06 20:20:17 +01:00
.pylint-rcfile update outdated pylint setup 2017-05-23 22:34:16 +02:00
.travis.yml choose the most recent available version of Java 2017-10-25 23:01:25 +02:00
fdroid correct "usage" output (--help; see #405) 2017-12-07 14:51:27 +01:00
jenkins-build-all build: set open file limit based on how many apps are being processed 2017-11-29 21:06:02 +01:00
jenkins-setup-build-environment jenkins-setup-build-environment: delete libvirt images before test run 2017-12-05 12:31:13 +01:00
jenkins-test jenkins-test: make new keystore on each test so the password is known 2017-11-28 12:10:13 +01:00
LICENSE Rename COPYING to LICENSE 2015-08-24 10:54:20 -07:00
makebuildserver makebuildserver: fix join() syntax error, it needs a list/tuple 2017-12-07 11:52:52 +01:00
MANIFEST.in rename test file to fit within eCryptfs filename limits (closes #416) 2017-11-22 11:40:16 +01:00
README.md README: add new jenkins.debian.net test 2017-11-09 15:02:37 +01:00
setup.cfg check git is on correct tag before making a release 2017-11-27 16:57:30 +01:00
setup.py remove fd-commit, no active devs use it, and requires Auto Name/Name 2017-12-06 22:48:08 +01:00

CI Builds fdroidserver buildserver fdroid build --all publishing tools
Debian fdroidserver status on Debian buildserver status fdroid build all status fdroid build all status
macOS & Ubuntu/LTS fdroidserver status on 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. translation status