Man page - flatpak-build-export(1)
Packages contas this manual
- flatpak-update(1)
- flatpak-ps(1)
- flatpak-document-unexport(1)
- flatpak-build-import-bundle(1)
- flatpak-repo(1)
- flatpak-build-init(1)
- flatpak-flatpakref(5)
- flatpak-enter(1)
- flatpak-spawn(1)
- flatpak-build-update-repo(1)
- flatpak-build-export(1)
- flatpak-config(1)
- flatpakrepo(5)
- flatpak-make-current(1)
- flatpak-document-info(1)
- flatpak-permission-set(1)
- flatpak-run(1)
- flatpak-permission-reset(1)
- flatpak-repair(1)
- flatpak-remote-ls(1)
- flatpak-remote-info(1)
- flatpak-remote-delete(1)
- flatpakref(5)
- flatpak-search(1)
- flatpak-kill(1)
- flatpak-document-export(1)
- flatpak-remote-add(1)
- flatpak-build-bundle(1)
- flatpak-uninstall(1)
- flatpak-permission-show(1)
- flatpak-info(1)
- flatpak-remotes(1)
- flatpak-remote(5)
- flatpak-create-usb(1)
- flatpak-build-finish(1)
- flatpak-installation(5)
- flatpak-pin(1)
- flatpak-permissions(1)
- flatpak-build-sign(1)
- flatpak-install(1)
- flatpak-mask(1)
- flatpak-documents(1)
- flatpak-build-commit-from(1)
- flatpak(1)
- flatpak-flatpakrepo(5)
- flatpak-permission-remove(1)
- flatpak-list(1)
- flatpak-remote-modify(1)
- flatpak-override(1)
- flatpak-history(1)
- flatpak-build(1)
- flatpak-metadata(5)
apt-get install flatpak
Manual
| FLATPAK BUILD-EXPOR(1) | flatpak build-export | FLATPAK BUILD-EXPOR(1) |
NAME
flatpak-build-export - Create a repository from a build directory
SYNOPSIS
flatpak build-export [OPTION...] LOCATION DIRECTORY [BRANCH]
DESCRIPTION
Creates or updates a repository with an application build. LOCATION is the location of the repository. DIRECTORY must be a finalized build directory. If BRANCH is not specified, it is assumed to be "master".
If LOCATION exists, it is assumed to be an OSTree repository, otherwise a new OSTree repository is created at this location. The repository can be inspected with the ostree tool.
The contents of DIRECTORY are committed on the branch with name app/APPNAME/ARCH/BRANCH, where ARCH is the architecture of the runtime that the application is using. A commit filter is used to enforce that only the contents of the files/ and export/ subdirectories and the metadata file are included in the commit, anything else is ignored.
When exporting a flatpak to be published to the internet, --collection-id=COLLECTION-ID should be specified as a globally unique reverse DNS value to identify the collection of flatpaks this will be added to. Setting a globally unique collection ID allows the apps in the repository to be shared over peer to peer systems without needing further configuration.
The build-update-repo command should be used to update repository metadata whenever application builds are added to a repository.
OPTIONS
The following options are understood:
-h, --help
-s, --subject=SUBJECT
-b, --body=BODY
--collection-id=COLLECTION-ID
--subset=SUBSET
--arch=ARCH
--exclude=PATTERN
--include=PATTERN
--metadata=FILENAME
--files=SUBDIR
--timestamp=DATE
--end-of-life=REASON
--end-of-life-rebase=ID
--disable-fsync
--update-appstream
--no-update-summary
--gpg-sign=KEYID
--gpg-homedir=PATH
-r, --runtime
-v, --verbose
--ostree-verbose
EXAMPLES
$ flatpak build-export ~/repos/gnome-calculator/ ~/build/gnome-calculator/ org.gnome.Calculator
Commit: 9d0044ea480297114d03aec85c3d7ae3779438f9d2cb69d717fb54237acacb8c Metadata Total: 605 Metadata Written: 5 Content Total: 1174 Content Written: 1 Content Bytes Written: 305
SEE ALSO
ostree(1), flatpak(1), flatpak-build-init(1), flatpak-build(1), flatpak-build-finish(1), flatpak-build-sign(1), flatpak-build-update-repo(1)
| flatpak |