diff --git a/source/docs/en/latest/developer/flatpak-repo.markdown b/source/docs/en/latest/developer/flatpak-repo.markdown index 9468579b..62e30f53 100644 --- a/source/docs/en/latest/developer/flatpak-repo.markdown +++ b/source/docs/en/latest/developer/flatpak-repo.markdown @@ -14,19 +14,8 @@ License_Abbr: CC BY-SA 4.0 License_URL: https://handbrake.fr/docs/license.html --- -Maintaining a HandBrake flatpak repository -========================================== - -## Creating a new empty flatpak repository (Optional) -This would be done once to set up the repo users update their HandBrake flatpaks from. This repo gets served via http to users. - -Initialize a new repository - - ostree init --mode=archive-z2 --repo= - -Add the new repository to your flatpak remotes - - flatpak --user remote-add --gpg-import= +Creating HandBrake flatpak bundles and repository +================================================= ## Install dependencies Install flatpak and flatpak-builder @@ -77,22 +66,18 @@ To use the flatpak bundle directly instead of importing it into a repository and flatpak install -## Importing flatpak bundles into the repository (Optional) -For each build, a GUI and CLI flatpak bundle is imported. +## Add OSTree repo to flatpak repo list (Optional) +This is only for test purposes currently. Ultimately, we might want to establish an "official" repo location that we publish new bundles to. Currently, the repo is just a product of the build and is not meant to be reused across builds. -Import a bundle +Add the new repository to your flatpak remotes - flatpak build-import-bundle + flatpak --user remote-add -Update the flatpak repo index +Of if the repos was generated without PGP signed commits - flatpak build-update-repo --generate-static-deltas + flatpak --user remote-add --no-gpg-verify -Regenerate and gpg-sign ostree summary - - ostree summary --repo= --gpg-sign= -u - -## Check repo and application +## Check repo and application (Optional) List contents of the repo flatpak --user remote-ls