summaryrefslogtreecommitdiff
path: root/app
AgeCommit message (Collapse)AuthorFilesLines
2016-05-19flatpak-builtins-update.c: Fixed loading of arch optionHEADmasterTristan Van Berkom1-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
2016-05-16Remove unused variablesAlexander Larsson1-4/+0
2016-05-13remote-delete: Actually look at --force flagAlexander Larsson1-1/+3
2016-05-13remote-delete: Move to FlatpakDir and add checks for installed refsAlexander Larsson1-15/+9
You can't remove a remote unless you --force or there are no installs from it.
2016-05-13Fix typo: flatpak_dir_modify_remove -> flatpak_dir_modify_remoteAlexander Larsson1-2/+2
2016-05-12Fix debug spew with -vAlexander Larsson1-2/+2
2016-05-12common: Add flags for flatpak_dir_uninstallAlexander Larsson1-6/+8
This is better than a list of booleans.
2016-05-12Use flatpak_dir_uninstall for app and libAlexander Larsson1-59/+6
2016-05-12Use the installed/not-installed errors more consequentlyAlexander Larsson1-1/+2
2016-05-12Actually update the branch when using --update-appstreamRichard Hughes1-1/+1
2016-05-11add-remote: Support metalink=.. urlsAlexander Larsson1-1/+6
2016-05-11remote-add: Use flatpak_dir_modify_removeAlexander Larsson1-128/+65
2016-05-11modify-remote: Move the actual config rewriting to FlatpakDirAlexander Larsson1-9/+31
This is in preparation for doing this in the system helper.
2016-05-11Remove references to --gpg-key= as it never workedAlexander Larsson1-1/+0
2016-05-11run: More background fd issues fixedAlexander Larsson1-1/+1
This also simplifies the child_setup func by clearing CLOEXEC on the needed fds.
2016-05-11run: Fix running in the backgroundAlexander Larsson1-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.
2016-05-09Remove unused variablesAlexander Larsson2-5/+1
This fixes warnings from clang
2016-05-09Migrate ~/.local/share/xdg-app to ~/.local/share/flatpakAlexander Larsson1-0/+2
2016-05-09Rename everything but the on-disk location to flatpakAlexander Larsson3-11/+11
2016-05-09Rename library to libflatpakAlexander Larsson1-2/+1
2016-05-09Rename source files to flatpakAlexander Larsson25-82/+82
2016-05-09Rename all non-autogenerated symbols to flatpakAlexander Larsson24-409/+409
2016-05-06uncruftify: Initial run, all non-problematic changesAlexander Larsson18-271/+312
2016-05-06main: Remove declaration of old deprecated functionsAlexander Larsson1-10/+0
These were removed already
2016-05-06enter: Remove cut and paste error codeAlexander Larsson1-1/+0
2016-05-06Remove spurious ;Alexander Larsson1-1/+1
2016-05-03Fix make check if uninstalledAlexander Larsson1-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.
2016-05-03build-export: Add --arch optionTristan Van Berkom1-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
2016-05-02tests/test-run.sh: Add tests for proper installationAlexander Larsson1-0/+9
2016-05-02cli: Remove old deprecated xdg-app commandsAlexander Larsson5-92/+0
Its been long enough so nothing should be using these, lets drop them.
2016-04-29oci: Use /bin/sh, not sh as the default commandAlexander Larsson1-1/+1
runc doesn't look in PATH for this
2016-04-29Use bubblewrap instead of xdg-app-helperAlexander Larsson1-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.
2016-04-28oci: Move the extra files (ref/metadata/commit) too rootfsAlexander Larsson2-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.
2016-04-28Experimental version of OCI supportAlexander Larsson2-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.
2016-04-27Add support for disabled remotesAlexander Larsson3-0/+26
If this is set we don't list them by default, and we don't automatically update apps from them.
2016-04-27info: Use deploy_dataAlexander Larsson1-5/+7
2016-04-27list: Use deploy data to avoid lots of seeksAlexander Larsson1-10/+12
2016-04-27list: Show installed size and subpathsAlexander Larsson1-0/+21
2016-04-26Add xdg_app_dir_install/update helpersAlexander Larsson2-25/+14
These don't do much atm, but will let us clean up the child_repo handling
2016-04-25update/install: Handle deploy using the system serviceAlexander Larsson1-1/+1
2016-04-22common: Don't use singletons for the system/user XdgAppDirsAlexander Larsson1-16/+19
Without this we never finalize them and can't e.g. remote temporary files.
2016-04-21Add xdg_app_dir_deploy_install helperAlexander Larsson1-79/+5
2016-04-21common: Move duplicated code into xdg_app_dir_deploy_updateAlexander Larsson1-24/+1
2016-04-21Drop checks for old ostree versionsAlexander Larsson1-5/+0
2016-04-21Remove support for older ostree without bundle supportAlexander Larsson2-6/+0
This is not needed when we depend on 2016.5
2016-04-21build-bundle: Move the gpg_data local to the right functionAlexander Larsson1-4/+2
This was unused in the main function, something which was missed when the build_bundle() helper was split out.
2016-04-20Add --ref to build-import-bundle to override branch nameAlexander Larsson1-17/+37
2016-04-20common: Break out xdg_app_mtree_create_root helperAlexander Larsson1-20/+2
2016-04-19Add build-import-bundle commandAlexander Larsson4-0/+97
2016-04-19common: Move xdg_app_dir_pull_from_bundle to xdg_app_pull_from_bundleAlexander Larsson1-7/+10
The only difference is it takes an OstreeRepo, not a XdgAppDir, so we can use it at a lower level too.