Package: repomaker
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#234for more information.InstallationThere are several different ways to install Repomaker.FlatpakRepomaker is available as Flatpak anddistributed on Flathub.
Once you gotFlatpak installed on your system,
either go to your system's app store or execute the following commands:flatpakremote-add--if-not-existsflathubhttps://flathub.org/repo/flathub.flatpakrepo
flatpakinstallflathuborg.fdroid.RepomakerOn a server / DockerNote that you can run Repomaker on a server and make use of its
multi user functionality.
SeeDocker docsand thegeneral docsfor more information on that topic.PyPiIf you don't want or can't install Repomaker with one of the mentioned
methods, you can install it withpipfrom PyPi.RequirementsPlease make sure you have the following requirements installed
before proceeding with the installation.Installpipfor installation of Python 3 dependenciesvirtualenvto create an isolated Python environmentPython development and build files for installing/building some dependenciesOn Debian, you can simply run this:apt install python3-pip python3-wheel python3-dev virtualenv build-essentialRuntimekeytoolfrom Java Runtime Environment (JRE)jarsignerfrom Java JDK for signing the repo indexeslibmagicfor mime-type detectionrsyncto publish repositoriesgitto publish repositories to git mirrorsOn Debian, you can simply run this:sudo apt install fdroidserver libmagic1 rsync git \
    python3-pyqt5.qtwebengine python3-pyqt5.qtwebkitInstall into virtual environmentTo 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:repomakerTroubleshootingFirst check that you really have all dependencies from above installed.If the installation fails with something aboutopenssl,
try to installlibssl-devwithapt install libssl-dev.If the graphical user interface fails to start,
you can try runningrepomaker-serverandrepomaker-tasks.
If that works, you should be able to open127.0.0.1:8000in your browser.DevelopmentTo work on repomaker, you neednpmto fetch CSS and JavaScript dependencies:apt install npm.Then runnpm installto 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.shVagrant VMThere also a Vagrant setup based on the GitLab CI setup, it is a quick
way to get a development setup.  First, set up Vagrant on your machine,
then run:$cdrepomaker$vagrantup$vagrantsshvagrant@basebox-buster64:~$ipa|sed-En's,.*inet +(192\.168\.[0-9]+\.[0-9]+).*,open http://\1:8000,p'open http://192.168.121.37:8000vagrant@basebox-buster64:~$ cd $CI_PROJECT_DIRvagrant@basebox-buster64:/builds/fdroid/repomaker$./tests/test-units.shTranslationGNU gettextapt install gettextLicenseThis program is free software: you can redistribute it and/or modify it
under the terms of theGNU Affero General Public Licenseas 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.TranslatingEverything can be translated.  SeeTranslation and Localizationfor more info.To update translations, run./update-translations.sh.To add a new translation, runpython3 manage.py makemessages -l <lg>where<lg>is the language code, e.g.de.