Commit Graph

689 Commits (4531c915192739004938b36ef5c7f01feaf42f95)
 

Author SHA1 Message Date
Alexander Larsson 4531c91519 app: Clean up leftover removes after updates too 2015-12-15 12:43:22 +01:00
Alexander Larsson 9285d055ab lib: Add xdg_app_installation_install 2015-12-15 12:26:59 +01:00
Alexander Larsson 1a2b5adffe Bump libglnx to latest version 2015-12-15 09:27:21 +01:00
Alexander Larsson f8e9b74d1f XdgAppDir: Add set_origin helper function 2015-12-15 09:25:02 +01:00
Alexander Larsson 5b21b48084 common: Fix compiler warning when built with --disable-userns 2015-12-15 08:46:53 +01:00
Alexander Larsson c382cfc212 lib: Fix compiler warning in test app 2015-12-15 08:44:50 +01:00
Alexander Larsson 6eea2d4fb1 app: Fix warning if building with --disable-userns 2015-12-15 08:44:26 +01:00
Alexander Larsson e9d713cb96 lib: Better fix for old glib 2015-12-15 08:37:24 +01:00
Alexander Larsson efe378f46c builder: Fix typo in patch applying
It was using git, not patch
2015-12-15 08:14:20 +01:00
Alexander Larsson ca06b3e66f lib: Fix build with older glib 2015-12-14 22:01:21 +01:00
Alexander Larsson a66da8e53c builder: Fix build with old glib 2015-12-14 14:49:31 +01:00
Alexander Larsson 7e4d838011 completion: Fix completion for xdg-app run
This was broken because run didn't take --user or --system
2015-12-10 11:28:54 +01:00
Alexander Larsson 2afc3349b1 completion: Fix completion of apps/runtimes in a remote
The name of the commandline operation changed to ls-remotes.
2015-12-10 11:15:51 +01:00
Alexander Larsson 2c92fcb1d6 builder: After fetching the mirrored git repo, set back the right origin
This is nice if you want to later pull new data into the repo.
2015-12-09 21:32:18 +01:00
Alexander Larsson 873492af62 builder: Remove accidental leftover spew 2015-12-09 21:21:48 +01:00
Alexander Larsson 54c52d9363 builder: Add --keep-build-dirs option
This is useful if you want to later make changes to the built stuff.
2015-12-09 21:10:22 +01:00
Alexander Larsson b716e0d8eb Builder: Add a resolved version of the manifest to the built app 2015-12-09 14:26:41 +01:00
Alexander Larsson dfc11d5e87 builder: Support specifying commit ids as git branches 2015-12-09 14:07:33 +01:00
Alexander Larsson 6a82dd4ee3 builder: Support specifying revision in bzr sources 2015-12-09 14:06:59 +01:00
Alexander Larsson 5b6f3749d5 builder: Support data: uri for files 2015-12-09 13:00:30 +01:00
Alexander Larsson f16cc44a30 builder: Use SoupRequest to simplify download helpers
Also, this allows us to support data: uris, etc
2015-12-09 12:55:10 +01:00
Alexander Larsson 3fdfef7e40 builder: Allow optionally specifying remote file sources 2015-12-09 12:01:55 +01:00
Alexander Larsson e39192b3d6 builder: Break out download_uri helper function in SourceFile 2015-12-09 11:42:04 +01:00
Alexander Larsson 3fb4226c81 builder: Make the builder manifest objects serializable to json 2015-12-09 10:33:54 +01:00
Alexander Larsson f7b20fad85 common: Make XdgAppDir soup session initilization threadsafe 2015-12-08 15:28:11 +01:00
Alexander Larsson 237fd57cd0 builder: Allow git uris to be relative to the base directory
This allows you to use ".git" as the git uri, thus building from the
current source directory.
2015-12-08 14:34:34 +01:00
Alexander Larsson 4177f358cb common: Make it explicit that XdgAppError are portal errors 2015-12-08 12:16:38 +01:00
Alexander Larsson a28ced36c7 lib: Add xdg_app_installation_load_app_overrides() 2015-12-08 11:48:22 +01:00
Alexander Larsson 8d576298ca lib: Minor indentation cleanups 2015-12-08 11:02:32 +01:00
Alexander Larsson a62f64d265 lib: Add xdg_app_remote_ref_fetch_metadata_sync helper
This does direct soup access on the repo. Not ideal, but good for now.
2015-12-08 11:01:13 +01:00
Alexander Larsson ef93bd8d15 lib: Fix declaration of xdg_app_installed_ref_load_metadata
We changed this to not be const
2015-12-07 16:36:08 +01:00
Alexander Larsson 0fe5f6552a lib: Add XdgAppDir to RemoteRef private 2015-12-07 16:35:53 +01:00
Alexander Larsson d987501e02 lib: Always load installed ref metadata each time
This is needed in case it changes over time.
2015-12-07 16:31:01 +01:00
Alexander Larsson 188bb00b1b lib: xdg_app_remote_fetch_ref_sync
For now this downloads the summary file each time.
2015-12-07 16:17:06 +01:00
Alexander Larsson 6558c812af lib: Add some more debug spew to test-lib 2015-12-07 16:16:43 +01:00
Alexander Larsson eca699ca5a lib: Rename xdg_app_remote_list_refs to xdg_app_remote_list_refs_sync 2015-12-07 16:16:02 +01:00
Alexander Larsson a8a7b28ce9 lib: Add remote_name to XdgAppRemoteRef 2015-12-07 16:14:52 +01:00
Alexander Larsson 5b1931dc8d lib: Add xdg_app_installed_ref_launch() 2015-12-07 13:36:39 +01:00
Alexander Larsson 000c59f60e xdg_app_run_app: Handle error == NULL 2015-12-07 13:34:50 +01:00
Alexander Larsson 8e26dec0d9 helper: Mount dconf run dir writable, as dconf needs this. 2015-12-07 13:34:11 +01:00
Alexander Larsson 67e52e8278 common: Clean up xdg_app_run_app()
This breaks things out into helper functions to make things easier
to read.
2015-12-07 13:04:45 +01:00
Alexander Larsson 03ae229751 Move most of builtins-run to xdg_app_run_app helper
This is in preparation for letting the library start apps.
2015-12-07 12:27:53 +01:00
Alexander Larsson d503c5a15d Remove unused variable 2015-12-07 12:27:29 +01:00
Alexander Larsson b761aa05a7 common: Move typedef to separate header to avoid circular deps 2015-12-07 12:26:44 +01:00
Alexander Larsson ad7310f246 XdgAppDeploy: Fix wrong types in finalizer 2015-12-07 12:25:48 +01:00
Alexander Larsson 6c999147c4 Add XdgAppRemoteRef do docs 2015-12-04 20:22:57 +01:00
Alexander Larsson 09f7842e78 Merge pull request #91 from ebassi/api-reference
Generate the API reference for libxdg-app
2015-12-04 20:17:12 +01:00
Emmanuele Bassi f23090a615 Generate the API reference for libxdg-app
We use the good old gtk-doc.
2015-12-04 15:00:35 +00:00
Alexander Larsson a4df4ff811 lib: Add XdgAppRemoteRef subclass
This doesn't do anything yet, but its a place to hang remote-specific
ops off.
2015-12-04 15:35:13 +01:00
Alexander Larsson 1647c85d6f helper: Allow exec on the tmpfs.
This should be safe, you could always copy it to your writable
directory and exectute from there instead. There should be no way
to get increased privileges from a simple exec anyway.
2015-12-04 12:19:41 +01:00