summaryrefslogtreecommitdiff
path: root/app
Commit message (Collapse)AuthorAgeFilesLines
* flatpak-builtins-update.c: Fixed loading of arch optionHEADmasterTristan Van Berkom2016-05-191-2/+4
| | | | | | | Code was organized in such a way that the --arch option was being ignored. https://bugs.freedesktop.org/show_bug.cgi?id=95489
* Remove unused variablesAlexander Larsson2016-05-161-4/+0
|
* remote-delete: Actually look at --force flagAlexander Larsson2016-05-131-1/+3
|
* remote-delete: Move to FlatpakDir and add checks for installed refsAlexander Larsson2016-05-131-15/+9
| | | | | You can't remove a remote unless you --force or there are no installs from it.
* Fix typo: flatpak_dir_modify_remove -> flatpak_dir_modify_remoteAlexander Larsson2016-05-131-2/+2
|
* Fix debug spew with -vAlexander Larsson2016-05-121-2/+2
|
* common: Add flags for flatpak_dir_uninstallAlexander Larsson2016-05-121-6/+8
| | | | This is better than a list of booleans.
* Use flatpak_dir_uninstall for app and libAlexander Larsson2016-05-121-59/+6
|
* Use the installed/not-installed errors more consequentlyAlexander Larsson2016-05-121-1/+2
|
* Actually update the branch when using --update-appstreamRichard Hughes2016-05-121-1/+1
|
* add-remote: Support metalink=.. urlsAlexander Larsson2016-05-111-1/+6
|
* remote-add: Use flatpak_dir_modify_removeAlexander Larsson2016-05-111-128/+65
|
* modify-remote: Move the actual config rewriting to FlatpakDirAlexander Larsson2016-05-111-9/+31
| | | | This is in preparation for doing this in the system helper.
* Remove references to --gpg-key= as it never workedAlexander Larsson2016-05-111-1/+0
|
* run: More background fd issues fixedAlexander Larsson2016-05-111-1/+1
| | | | | This also simplifies the child_setup func by clearing CLOEXEC on the needed fds.
* run: Fix running in the backgroundAlexander Larsson2016-05-111-1/+1
| | | | | | | We need to keep all the fd:s needed for bubblewrap alive, so neuter g_spawn_async:s close of fds and do our own. Also, we need this so these fds can be closed in the launching app.
* Remove unused variablesAlexander Larsson2016-05-092-5/+1
| | | | This fixes warnings from clang
* Migrate ~/.local/share/xdg-app to ~/.local/share/flatpakAlexander Larsson2016-05-091-0/+2
|
* Rename everything but the on-disk location to flatpakAlexander Larsson2016-05-093-11/+11
|
* Rename library to libflatpakAlexander Larsson2016-05-091-2/+1
|
* Rename source files to flatpakAlexander Larsson2016-05-0925-82/+82
|
* Rename all non-autogenerated symbols to flatpakAlexander Larsson2016-05-0924-409/+409
|
* uncruftify: Initial run, all non-problematic changesAlexander Larsson2016-05-0618-271/+312
|
* main: Remove declaration of old deprecated functionsAlexander Larsson2016-05-061-10/+0
| | | | These were removed already
* enter: Remove cut and paste error codeAlexander Larsson2016-05-061-1/+0
|
* Remove spurious ;Alexander Larsson2016-05-061-1/+1
|
* Fix make check if uninstalledAlexander Larsson2016-05-031-2/+2
| | | | | | This uses various environment variables set during make check to find the trigger, bwrap and xdg-app-dbusproxy from the build/source dir rather than the installed location.
* build-export: Add --arch optionTristan Van Berkom2016-05-031-0/+8
| | | | | | | | | | This patch adds the --arch option to the build-export builtin command. Previously build-export derives this from the metadata and then falls back to xdg_app_get_arch(), except that this does not work when the metadata does not specify an arch (such as with extensions like .Debug or .Locale). https://bugs.freedesktop.org/show_bug.cgi?id=95226
* tests/test-run.sh: Add tests for proper installationAlexander Larsson2016-05-021-0/+9
|
* cli: Remove old deprecated xdg-app commandsAlexander Larsson2016-05-025-92/+0
| | | | Its been long enough so nothing should be using these, lets drop them.
* oci: Use /bin/sh, not sh as the default commandAlexander Larsson2016-04-291-1/+1
| | | | runc doesn't look in PATH for this
* Use bubblewrap instead of xdg-app-helperAlexander Larsson2016-04-291-20/+35
| | | | | | | | | | | Bubblewrap is a new tool from project atomic. Its similar to the old xdg-app-helper, but even more minimal, and a bit more generic. Its designed to be easy to git submodule install, but at some point we will probably support using the system installed version too. Using bubblewraps lets us share the load of security mainainance and allows other people to use bubblewrap to do their own unprivileged sandboxes.
* oci: Move the extra files (ref/metadata/commit) too rootfsAlexander Larsson2016-04-282-10/+10
| | | | | Saving them in the image means they will be transferred with it, increasing the chances that the commit can be recreated from the image.
* Experimental version of OCI supportAlexander Larsson2016-04-282-4/+842
| | | | | | | | | | | This lets you export and import a runtime or an application into a tarball that explodes to match the oci runtime spec. This goal of this is to interchange xdg-app apps with other systems that support OCI. Note that this is highly experimental, because the oci specs are in flux, and in fact we should probably use the OCI image spec instead of the runtime spec, but its not yet finished enough for us to use it. So, don't rely on this for now other than to experiment with it.
* Add support for disabled remotesAlexander Larsson2016-04-273-0/+26
| | | | | If this is set we don't list them by default, and we don't automatically update apps from them.
* info: Use deploy_dataAlexander Larsson2016-04-271-5/+7
|
* list: Use deploy data to avoid lots of seeksAlexander Larsson2016-04-271-10/+12
|
* list: Show installed size and subpathsAlexander Larsson2016-04-271-0/+21
|
* Add xdg_app_dir_install/update helpersAlexander Larsson2016-04-262-25/+14
| | | | These don't do much atm, but will let us clean up the child_repo handling
* update/install: Handle deploy using the system serviceAlexander Larsson2016-04-251-1/+1
|
* common: Don't use singletons for the system/user XdgAppDirsAlexander Larsson2016-04-221-16/+19
| | | | | Without this we never finalize them and can't e.g. remote temporary files.
* Add xdg_app_dir_deploy_install helperAlexander Larsson2016-04-211-79/+5
|
* common: Move duplicated code into xdg_app_dir_deploy_updateAlexander Larsson2016-04-211-24/+1
|
* Drop checks for old ostree versionsAlexander Larsson2016-04-211-5/+0
|
* Remove support for older ostree without bundle supportAlexander Larsson2016-04-212-6/+0
| | | | This is not needed when we depend on 2016.5
* build-bundle: Move the gpg_data local to the right functionAlexander Larsson2016-04-211-4/+2
| | | | | This was unused in the main function, something which was missed when the build_bundle() helper was split out.
* Add --ref to build-import-bundle to override branch nameAlexander Larsson2016-04-201-17/+37
|
* common: Break out xdg_app_mtree_create_root helperAlexander Larsson2016-04-201-20/+2
|
* Add build-import-bundle commandAlexander Larsson2016-04-194-0/+97
|
* common: Move xdg_app_dir_pull_from_bundle to xdg_app_pull_from_bundleAlexander Larsson2016-04-191-7/+10
| | | | | The only difference is it takes an OstreeRepo, not a XdgAppDir, so we can use it at a lower level too.