FLATPAK-BUILD-UPDATE-REPO(1)
π flatpak-build-update-repo β the manual page, but make it cute π
okay bestie, so this is the page for flatpak-build-update-repo, straight outta the flatpak manual. it lives in section 1. let's get into it β¨
π NAME π
flatpak-build-update-repo β create a repository from a build directory
like, literally that's the whole job. no notes. π
β¨ SYNOPSIS β¨
flatpak build-update-repo [OPTION...] LOCATION
π¦ DESCRIPTION π¦
so what this does is it updates the repository metadata for the repo sitting at LOCATION. and when it does that, it generates an OSTree summary file that lists out everything inside the repository. that summary is the whole moment β it's what flatpak remote-ls and the other commands use to show you what's in remote repositories. like, without it, nothing can see anything. it's giving backstage pass. ποΈ
and after you run this? LOCATION can be used as the repository location for flatpak remote-add. either by exporting it over http, or just directly with a file: url. easy. π«Ά
πΈ OPTIONS πΈ
here's everything it understands, bestie. all of it. no skips:
-h,--helpβ shows the help options and dips. bye π--redirect-url=URLβ redirects this repo to a brand new URL. glow-up relocation.--title=TITLEβ a title for the repository, like for showing off in a UI. the title gets stored in the repository summary. put it in the summary, it stays in the summary. πΎ--comment=COMMENTβ a single-line comment for the remote, again for UI display purposes. stored in the repository summary too.--description=DESCRIPTIONβ a full-paragraph description for the remote, e.g. for display in a UI. yep, stored in the repository summary. it's the long-form version of the comment, main character energy.--homepage=URLβ URL for a website for the remote, e.g. for display in a UI. the url is stored in the repository summary.--icon=URLβ URL for an icon for the remote, e.g. for display in a UI. url goes in the repository summary, obviously. β¨--default-branch=BRANCHβ a default branch for the repository, mainly for use in a UI.--gpg-import=FILEβ imports a new default GPG public key from the file you give it. π--collection-id=COLLECTION-IDβ the globally unique identifier of the remote repository, so mirrors can get grouped together. > β οΈ this must be set to a globally unique reverse DNS string if the repository is gonna be made publicly available. if a collection ID is already set on an existing repository, this will update it. if you don't specify it, the existing collection ID is left unchanged. no cap.--deploy-collection-idβ deploys the collection ID (the one you set with--collection-id) into the static remote configuration for all clients. > π¨ this is irrevocable once it's published in a repository. like, once it's out, it's out. use it to decide when to roll out a collection ID to users of an existing repository. and if you're constructing a brand new repository that has a collection ID, you should typically always pass this option. periodt.--deploy-sideload-collection-idβ basically the same vibe as--deploy-collection-id, except it only applies the deploy to clients newer than flatpak1.7, which is the version that supports the new form of sideloads. π§--gpg-sign=KEYIDβ signs the commit with this GPG key. you can use this option multiple times, so go off. βοΈ--gpg-homedir=PATHβ the GPG Homedir to use when it's looking for keyrings.--generate-static-deltasβ generates static deltas for all references. it makes from-empty and delta static files that let downloads go faster. speed. πβοΈ--static-delta-jobs=NUM-JOBSβ limits how many parallel jobs are creating static deltas. the default is the number of cpus. multitasking queen.--static-delta-ignore-ref=PATTERNβ don't generate deltas for runtime or application id matching this pattern. for instance,--static-delta-ignore-ref=*.Sourcesmeans there will not be any deltas for source refs. leaving them on read. π--pruneβ removes unreferenced objects in the repo. cleanup szn π§Ή--prune-depthβ only keeps at most this number of old versions for any particular ref. default is-1, which means infinite. hoarder mode enabled by default, wild.-v,--verboseβ prints debug information during command processing. talk to meee.--ostree-verboseβ prints OSTree debug information during command processing. even more talking.
π SEE ALSO π
ostree(1), flatpak(1), flatpak-remote-ls(1), flatpak-build-export(1)
and that's the whole page bestie!! this little masterpiece comes to you from the flatpak manual, FLATPAK BUILD-UPDAT(1) β yes the header really does truncate like that, it's iconic, we don't fix it. go update a repo. slay. π
ππ¦
π¦ where this page comes from
- debian trixie: flatpak 1.16.6-1~deb13u3
- fedora 44: flatpak 1.18.4-1.fc44 Β· LGPL-2.1-or-later
- fedora 44: flatpak 1.18.4-1.fc44 Β· LGPL-2.1-or-later
- nixpkgs unstable: flatpak 1.18.4
- ubuntu stonking: flatpak 1.18.4-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms