Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | common: Remove unused xdg_app_dir_get_installed_size | Alexander Larsson | 2016-04-27 | 2 | -24/+0 | |
| | ||||||
* | deploy: Deploy to temporary directory and rename at the end | Alexander Larsson | 2016-04-27 | 1 | -3/+22 | |
| | ||||||
* | common: Write and use the new deploydata file | Alexander Larsson | 2016-04-27 | 2 | -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_save | Alexander Larsson | 2016-04-27 | 2 | -0/+34 | |
| | ||||||
* | commont: Add deploy data GVariant | Alexander Larsson | 2016-04-27 | 2 | -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 sizes | Alexander Larsson | 2016-04-27 | 1 | -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 Larsson | 2016-04-27 | 1 | -6/+10 | |
| | ||||||
* | common: Export xdg_app_repo_collect_sizes | Alexander Larsson | 2016-04-27 | 2 | -16/+26 | |
| | ||||||
* | installation_fetch_remote_size_sync: Always fail with deprecation error | Alexander Larsson | 2016-04-27 | 2 | -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 sandbox | Alexander Larsson | 2016-04-27 | 1 | -1/+1 | |
| | | | | This will conflict with the internal .oldroot | |||||
* | Merge branch 'privileged-helper' | Alexander Larsson | 2016-04-26 | 4 | -21/+720 | |
|\ | ||||||
| * | Move system-helper use into xdg_app_dir_install/update() | Alexander Larsson | 2016-04-26 | 2 | -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 helpers | Alexander Larsson | 2016-04-26 | 2 | -0/+77 | |
| | | | | | | | | These don't do much atm, but will let us clean up the child_repo handling | |||||
| * | XdgAppDir helper: Update system_helper threadsafely | Alexander Larsson | 2016-04-26 | 1 | -22/+37 | |
| | | ||||||
| * | xgd_app_dir_deploy_update: Use the shared system helper | Alexander Larsson | 2016-04-26 | 1 | -11/+2 | |
| | | ||||||
| * | xdg_app_dir_init_system_helper: Properly pass the error in | Alexander Larsson | 2016-04-26 | 1 | -1/+1 | |
| | | ||||||
| * | xdg_app_dir_pull_untrusted_local: Fix issues pointed out by cosimoc | Alexander Larsson | 2016-04-26 | 1 | -13/+5 | |
| | | | | | | | | Also, remove some spew | |||||
| * | Don't try to use system helper if its not installed | Alexander Larsson | 2016-04-25 | 1 | -12/+33 | |
| | | ||||||
| * | update/install: Handle deploy using the system service | Alexander Larsson | 2016-04-25 | 2 | -1/+95 | |
| | | ||||||
| * | Initial work on pulling to a child repo | Alexander Larsson | 2016-04-25 | 2 | -19/+152 | |
| | | ||||||
| * | XdgAppDir: Add xdg_app_dir_pull_untrusted_local helper | Alexander Larsson | 2016-04-25 | 2 | -0/+225 | |
| | | ||||||
| * | utils: Add xdg_app_allocate_tmpdir | Alexander Larsson | 2016-04-25 | 2 | -0/+142 | |
| | | ||||||
* | | Use glnx_dirfd_iterator_next_dent_ensure_dtype where possible | Alexander Larsson | 2016-04-26 | 1 | -46/+3 | |
|/ | ||||||
* | common: Add (and use) xdg_app_summary_lookup_ref helper | Alexander Larsson | 2016-04-25 | 3 | -3/+33 | |
| | ||||||
* | common: Don't use singletons for the system/user XdgAppDirs | Alexander Larsson | 2016-04-22 | 1 | -18/+4 | |
| | | | | | Without this we never finalize them and can't e.g. remote temporary files. | |||||
* | Fix confusion about GError types | Alexander Larsson | 2016-04-21 | 2 | -3/+3 | |
| | | | | This was pretty mixed up. Also XdgAppError was not exported. | |||||
* | Add xdg_app_dir_deploy_install helper | Alexander Larsson | 2016-04-21 | 2 | -1/+81 | |
| | ||||||
* | common: Move duplicated code into xdg_app_dir_deploy_update | Alexander Larsson | 2016-04-21 | 2 | -19/+34 | |
| | ||||||
* | common: Set ~/.local/share/xdg-app/system-cache as cache dir for system repo | Alexander Larsson | 2016-04-21 | 1 | -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/*.conf | Alexander Larsson | 2016-04-21 | 1 | -1/+6 | |
| | ||||||
* | Remove support for older ostree without bundle support | Alexander Larsson | 2016-04-21 | 2 | -33/+0 | |
| | | | | This is not needed when we depend on 2016.5 | |||||
* | Remove unused local variables reported by clang | Alexander Larsson | 2016-04-21 | 2 | -2/+0 | |
| | ||||||
* | common: Fix warning due to get_user_dir_from_string return type change | Alexander Larsson | 2016-04-21 | 1 | -1/+1 | |
| | ||||||
* | run: Always consider xdg-* valid even when not configured | Alexander Larsson | 2016-04-20 | 1 | -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 helper | Alexander Larsson | 2016-04-20 | 2 | -0/+33 | |
| | ||||||
* | common: Move xdg_app_dir_pull_from_bundle to xdg_app_pull_from_bundle | Alexander Larsson | 2016-04-19 | 4 | -116/+113 | |
| | | | | | The only difference is it takes an OstreeRepo, not a XdgAppDir, so we can use it at a lower level too. | |||||
* | Fix warning | Alexander Larsson | 2016-04-14 | 1 | -1/+1 | |
| | ||||||
* | common: Add xdg_app_dir_remote_fetch_summary | Alexander Larsson | 2016-04-14 | 1 | -6/+23 | |
| | | | | This is in preparation for adding a cache for the summary | |||||
* | Merge pull request #127 from matthiasclasen/bus-logging | Alexander Larsson | 2016-04-14 | 2 | -4/+9 | |
|\ | | | | | Bus logging | |||||
| * | Add options to enable bus logging | Matthias Clasen | 2016-04-14 | 2 | -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 size | Alexander Larsson | 2016-04-14 | 2 | -0/+83 | |
| | | ||||||
* | | utils: Remove unused helper | Alexander Larsson | 2016-04-14 | 1 | -11/+0 | |
| | | ||||||
* | | Use string for metadata cache | Alexander Larsson | 2016-04-14 | 1 | -9/+5 | |
| | | ||||||
* | | build-update: Add installed/download size and metadata cache to summary | Alexander Larsson | 2016-04-14 | 1 | -0/+120 | |
| | | ||||||
* | | appstream: Don't create new commit for unchanged appstream branch | Alexander Larsson | 2016-04-14 | 1 | -20/+39 | |
|/ | ||||||
* | Fix crash | Alexander Larsson | 2016-04-12 | 1 | -3/+4 | |
| | ||||||
* | Handle empty subpaths | Alexander Larsson | 2016-04-12 | 1 | -2/+8 | |
| | ||||||
* | Add support for subpath limited installs | Alexander Larsson | 2016-04-07 | 2 | -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 deploying | Alexander Larsson | 2016-04-06 | 1 | -56/+16 | |
| | | | | This makes no sense, callers should be calling xdg_app_dir_pull() before | |||||
* | helper: Use 64bit capset/capget versions | Alexander Larsson | 2016-03-30 | 1 | -18/+29 | |
| | | | | This fixed kernel warnings about 32bit capabilities APIs on some distros. |