summaryrefslogtreecommitdiff
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
...
* common: Remove unused xdg_app_dir_get_installed_sizeAlexander Larsson2016-04-272-24/+0
|
* deploy: Deploy to temporary directory and rename at the endAlexander Larsson2016-04-271-3/+22
|
* common: Write and use the new deploydata fileAlexander Larsson2016-04-272-145/+74
| | | | | | | | | | Instead of separate "origin", "subpaths" and eventually "installed-size" files we store a single (extensible) gvariant with all this info, which means we need to seek less to get it. Also, we move this file into the deploy dir as some of the data differs for each deploy, and that way we can rely on the the active symlink to make the update atomic.
* common: Add xdg_app_variant_saveAlexander Larsson2016-04-272-0/+34
|
* commont: Add deploy data GVariantAlexander Larsson2016-04-272-0/+186
| | | | | | This is a single file for the per-deploy data in the deploy dir. We want this so we can avoid stat:ing a lot of separate files to get data like origin, subpaths and eventually cached installed size.
* xdg_app_dir_get_installed_size: Implement without using ostree sizesAlexander Larsson2016-04-271-158/+6
| | | | | This is slightly slower, but actually works since we stopped collecting sizes in the commits. Further work will make this more performant.
* xdg_app_repo_collect_sizes: Don't collect unrequested sizes.Alexander Larsson2016-04-271-6/+10
|
* common: Export xdg_app_repo_collect_sizesAlexander Larsson2016-04-272-16/+26
|
* installation_fetch_remote_size_sync: Always fail with deprecation errorAlexander Larsson2016-04-272-56/+0
| | | | | This is not supported anymore since it was replaced with the summary cache. Remove the code so nothing accidentally uses it.
* helper: Don't try to mount /.oldroot into the sandboxAlexander Larsson2016-04-271-1/+1
| | | | This will conflict with the internal .oldroot
* Merge branch 'privileged-helper'Alexander Larsson2016-04-264-21/+720
|\
| * Move system-helper use into xdg_app_dir_install/update()Alexander Larsson2016-04-262-167/+176
| | | | | | | | | | This way we don't need to keep state in XdgAppDir for the child repo, which is not threadsafe.
| * Add xdg_app_dir_install/update helpersAlexander Larsson2016-04-262-0/+77
| | | | | | | | These don't do much atm, but will let us clean up the child_repo handling
| * XdgAppDir helper: Update system_helper threadsafelyAlexander Larsson2016-04-261-22/+37
| |
| * xgd_app_dir_deploy_update: Use the shared system helperAlexander Larsson2016-04-261-11/+2
| |
| * xdg_app_dir_init_system_helper: Properly pass the error inAlexander Larsson2016-04-261-1/+1
| |
| * xdg_app_dir_pull_untrusted_local: Fix issues pointed out by cosimocAlexander Larsson2016-04-261-13/+5
| | | | | | | | Also, remove some spew
| * Don't try to use system helper if its not installedAlexander Larsson2016-04-251-12/+33
| |
| * update/install: Handle deploy using the system serviceAlexander Larsson2016-04-252-1/+95
| |
| * Initial work on pulling to a child repoAlexander Larsson2016-04-252-19/+152
| |
| * XdgAppDir: Add xdg_app_dir_pull_untrusted_local helperAlexander Larsson2016-04-252-0/+225
| |
| * utils: Add xdg_app_allocate_tmpdirAlexander Larsson2016-04-252-0/+142
| |
* | Use glnx_dirfd_iterator_next_dent_ensure_dtype where possibleAlexander Larsson2016-04-261-46/+3
|/
* common: Add (and use) xdg_app_summary_lookup_ref helperAlexander Larsson2016-04-253-3/+33
|
* common: Don't use singletons for the system/user XdgAppDirsAlexander Larsson2016-04-221-18/+4
| | | | | Without this we never finalize them and can't e.g. remote temporary files.
* Fix confusion about GError typesAlexander Larsson2016-04-212-3/+3
| | | | This was pretty mixed up. Also XdgAppError was not exported.
* Add xdg_app_dir_deploy_install helperAlexander Larsson2016-04-212-1/+81
|
* common: Move duplicated code into xdg_app_dir_deploy_updateAlexander Larsson2016-04-212-19/+34
|
* common: Set ~/.local/share/xdg-app/system-cache as cache dir for system repoAlexander Larsson2016-04-211-3/+24
| | | | | This means we can use a summary cache for system wide stuff which causes loads to be faster.
* Read system remotes from /etc/xdg-app/remotes.d/*.confAlexander Larsson2016-04-211-1/+6
|
* Remove support for older ostree without bundle supportAlexander Larsson2016-04-212-33/+0
| | | | This is not needed when we depend on 2016.5
* Remove unused local variables reported by clangAlexander Larsson2016-04-212-2/+0
|
* common: Fix warning due to get_user_dir_from_string return type changeAlexander Larsson2016-04-211-1/+1
|
* run: Always consider xdg-* valid even when not configuredAlexander Larsson2016-04-201-15/+32
| | | | | Before we would claim e.g. xdg-videos as invalid if the user didn't configure the videos user directory.
* common: Break out xdg_app_mtree_create_root helperAlexander Larsson2016-04-202-0/+33
|
* common: Move xdg_app_dir_pull_from_bundle to xdg_app_pull_from_bundleAlexander Larsson2016-04-194-116/+113
| | | | | The only difference is it takes an OstreeRepo, not a XdgAppDir, so we can use it at a lower level too.
* Fix warningAlexander Larsson2016-04-141-1/+1
|
* common: Add xdg_app_dir_remote_fetch_summaryAlexander Larsson2016-04-141-6/+23
| | | | This is in preparation for adding a cache for the summary
* Merge pull request #127 from matthiasclasen/bus-loggingAlexander Larsson2016-04-142-4/+9
|\ | | | | Bus logging
| * Add options to enable bus loggingMatthias Clasen2016-04-142-4/+9
| | | | | | | | | | | | | | This can be useful to find out what bus names your app is actually talking to, so you can set up a bus policy that is narrowed than blanket access without breaking your application.
* | lib: Add new cache based getters for metadata and sizeAlexander Larsson2016-04-142-0/+83
| |
* | utils: Remove unused helperAlexander Larsson2016-04-141-11/+0
| |
* | Use string for metadata cacheAlexander Larsson2016-04-141-9/+5
| |
* | build-update: Add installed/download size and metadata cache to summaryAlexander Larsson2016-04-141-0/+120
| |
* | appstream: Don't create new commit for unchanged appstream branchAlexander Larsson2016-04-141-20/+39
|/
* Fix crashAlexander Larsson2016-04-121-3/+4
|
* Handle empty subpathsAlexander Larsson2016-04-121-2/+8
|
* Add support for subpath limited installsAlexander Larsson2016-04-072-19/+225
| | | | | | This allows you to install e.g. org.freedesktop.Platform.Locale but only the /sv subdir, and replaces using separate branches for each locale.
* Don't ostree pull while deployingAlexander Larsson2016-04-061-56/+16
| | | | This makes no sense, callers should be calling xdg_app_dir_pull() before
* helper: Use 64bit capset/capget versionsAlexander Larsson2016-03-301-18/+29
| | | | This fixed kernel warnings about 32bit capabilities APIs on some distros.