Go to file
Hans-Christoph Steiner 3f99397053 set supported versions for django tinymce, use embedded tinymce 2020-10-08 11:46:26 +02:00
.idea Organize Python imports 2017-04-13 13:02:33 -03:00
debian set supported versions for django tinymce, use embedded tinymce 2020-10-08 11:46:26 +02:00
doc Point to GitHub's deploy keys docs and add info on server SSH keys 2017-09-18 10:04:33 -03:00
docker document auth requirement for postgres in docker setup, closes #239 2020-10-07 14:52:20 +02:00
repomaker release v1.0.0b2 (#223) 2020-10-07 20:59:38 +02:00
tests support running tests with Debian's coverage, or other installs 2020-10-07 10:34:50 +02:00
.dockerignore Add README for Docker deployment 2018-02-21 17:45:21 -03:00
.gitignore Add prototype docker container 2017-10-03 13:22:54 -03:00
.gitlab-ci.yml port to Debian/buster 2020-10-08 11:46:26 +02:00
.pylintrc pylint: ignore W0707: Consider explicitly re-raising using the 'from' keyword 2020-10-07 10:34:50 +02:00
.travis.yml purge all references to aapt and a specific JDK version 2020-10-08 10:51:38 +02:00
.weblate add .weblate to setup wlc 2020-10-07 10:34:50 +02:00
CHANGELOG.md release v1.0.0b2 (#223) 2020-10-07 20:59:38 +02:00
Dockerfile port to Debian/buster 2020-10-08 11:46:26 +02:00
LICENSE First working prototype 2017-03-21 12:44:44 -03:00
MANIFEST.in Include tests in source distribution and use new website 2018-01-18 12:26:46 -02:00
README.md purge all references to aapt and a specific JDK version 2020-10-08 10:51:38 +02:00
manage.py Make repomaker installable 2017-07-24 15:41:22 -03:00
package.json set supported versions for django tinymce, use embedded tinymce 2020-10-08 11:46:26 +02:00
pre-release.sh Don't delete fonts on release 2018-11-28 21:02:13 +01:00
purge.sh Add pre-release script and move stuff to data directory 2017-07-27 18:29:13 -03:00
requirements-dev.txt [#142] Gallery screen: add clear filter button 2018-05-31 14:08:45 +02:00
requirements-gui.txt confirm_quit renamed to confirm_close in webview.create_window 2020-10-07 11:04:56 +02:00
requirements.txt port to Debian/buster 2020-10-08 11:46:26 +02:00
run-tests.sh Parallelize tests 2017-08-01 09:43:47 +02:00
run.sh Download remote app icons in dedicated tasks 2017-08-07 10:06:41 -03:00
setup.cfg Improve installation instructions 2018-09-02 18:13:59 -03:00
setup.py set supported versions for django tinymce, use embedded tinymce 2020-10-08 11:46:26 +02:00
setup.sh Provide more information in readme 2018-11-02 22:21:18 +01:00
update-translations.sh Updated translations from Weblate 2018-01-25 17:47:55 -02:00

README.md

build status coverage report translation status

Repomaker needs a maintainer, please adopt me! Repomaker currently runs on Django 1.11, which went out of security support in July 2020. Please see #234 for more information.

Installation

There are several different ways to install Repomaker.

Ubuntu/Debian

In F-Droid's Ubuntu ppa exists a package of Repomaker which might also work on Debian and other Debian based systems. You can install it like this:

sudo add-apt-repository ppa:fdroid/repomaker
sudo apt update
sudo apt install repomaker

Flatpak

Repomaker is available as Flatpak and distributed on Flathub. Once you got Flatpak installed on your system, either go to your system's app store or execute the following commands:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.fdroid.Repomaker

PyPi

If you don't want or can't install Repomaker with one of the mentioned methods, you can install it with pip from PyPi.

Requirements

Please make sure you have the following requirements installed before proceeding with the installation.

Install

  • pip for installation of Python 3 dependencies
  • virtualenv to create an isolated Python environment
  • Python development and build files for installing/building some dependencies

On Debian, you can simply run this:

apt install python3-pip python3-wheel python3-dev virtualenv build-essential

Runtime

  • keytool from Java Runtime Environment (JRE)
  • apksigner or alternatively jarsigner from Java Development Kit (JDK)
  • libmagic for mime-type detection
  • rsync to publish repositories
  • git to publish repositories to git mirrors

On Debian, you can simply run this:

sudo apt install default-jre-headless apksigner libmagic1 rsync git

Install into virtual environment

To not mess with other Python libraries you have installed, we will install repomaker into its own isolated Python environment.

virtualenv -p /usr/bin/python3 repomaker
source repomaker/bin/activate
pip install repomaker[gui]

You should now be able to start by typing:

repomaker

If you want to work on repomaker, please see the development section below.

Troubleshooting

First check that you really have all dependencies from above installed.

If the installation fails with something about openssl, try to install libssl-dev with apt install libssl-dev.

If starting repomaker fail with the error Could not find `keytool` program., you might run into this known issue. Try if apt install default-jdk-headless fixes it for you.

If the graphical user interface fails to start, you can try running repomaker-server and repomaker-tasks. If that works, you should be able to open 127.0.0.1:8000 in your browser.

On a server / Docker

Note that you can run Repomaker on a server and make use of its multi user functionality. See Docker docs and the general docs for more information on that topic.

Development

To work on repomaker, you need npm to fetch CSS and JavaScript dependencies: apt install npm.

Then run npm install to install these dependencies.

If you want to run repomaker in your browser rather then using the GUI, you can start it like this:

virtualenv -p /usr/bin/python3 repomaker
source repomaker/bin/activate
./setup.sh
./run.sh

Translation

  • GNU gettext apt install gettext

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

Translating

Everything can be translated. See Translation and Localization for more info.

  • To update translations, run ./update-translations.sh.
  • To add a new translation, run python3 manage.py makemessages -l <lg> where <lg> is the language code, e.g. de.

translation status