This project contains the source files to create the Flatpak for F-Droid Repomaker.
With Repomaker, you can easily create your own F-Droid repo without needing any special knowledge to do so.
Development of this flatpak happens at gitlab.com/fdroid/fdroid-repomaker-flatpak. Once it's considered stable, it'll be pushed to the repo at github.com/flathub/org.fdroid.Repomaker.
Therefore, if you want to make improvements, please open a merge request at GitLab.
To install Repomaker from Flathub, use the following:
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install --user -y flathub org.fdroid.RepomakerTo run Repomaker with Flatpak, execute:
flatpak run org.fdroid.RepomakerTo update Repomaker from Flathub, use the following command:
flatpak update --user org.fdroid.RepomakerTo test the application locally, use flatpak-builder with:
git clone https://gitlab.com/fdroid/fdroid-repomaker-flatpak.git
cd fdroid-repomaker-flatpak
git submodule update --init
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak-builder builddir --install-deps-from=flathub --user --install --force-clean --ccache org.fdroid.Repomaker.json
flatpak run org.fdroid.RepomakerTo update python-deps.json use flatpak-pip-generator from
flatpak-builder-tools
with:
flatpak-pip-generator django\<2 django-allauth\<0.39 django-tinymce\<3 django-js-reverse django-compressor django-sass-processor django-hvad django-background-tasks==1.1.13 bleach python-magic html5lib requests-oauthlib\>=0.3.0 babelIf you don't want to build the flatpak yourself, but still want to use the latest version, you can use the builds produced by GitLab CI.
Note that the artifacts get removed two weeks after the build, so you might get a 404 because there aren't any artifacts. Feel free to request a rebuild by contacting us!
curl -L https://gitlab.com/fdroid/fdroid-repomaker-flatpak/-/jobs/artifacts/master/download?job=flatpak -o repomaker-flatpak.zip
unzip repomaker-flatpak.zip
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak remote-add fdroid-repomaker-dev repomaker-flatpak --no-gpg-verify --user
flatpak install fdroid-repomaker-dev org.fdroid.Repomaker
flatpak run org.fdroid.RepomakerAfter using it, you might want to uninstall the flatpak and remove the repo:
flatpak remove org.fdroid.Repomaker
flatpak remote-delete fdroid-repomaker-devIf you have Repomaker installed with flatpak, you can open a bash inside the flatpak with the following command:
flatpak run --command=bash org.fdroid.RepomakerNote that everything will look like if you're still on your own bash.
To check whether you're inside the flatpak,
you can list the content of /app which mostly only exists in flatpak
but not in your host OS.
ls /appTo quit the bash, simply run exit.
Everything in this repo is licensed under GNU Affero General Public License version 3. See LICENSE.md for more information.