Alexander Larsson
ea543c8f93
lib/app: Add support for repo priorities
...
New repos default to prio 1, bundle repos default to prio 0.
Listing repos returns in sorted order, with add order as secondary
sort key.
2015-12-21 10:28:15 +01:00
Alexander Larsson
6a507970c5
lib: Move all sync operations from XdgAppRemote to XdgAppInstallation
...
Its much easier to handle locking etc when all the i/o operations
are on XdgAppInstallation, and the other objects are pure data carriers.
2015-12-17 20:51:59 +01:00
Alexander Larsson
e7903a8033
lib: Move fetch_metadata_sync from RemoteRef to Remote
...
We want to make the Ref objects pure data storage
2015-12-17 20:19:27 +01:00
Alexander Larsson
dd7f18aaf2
lib: Always use "branch" not "version" in API
...
"version" is really confusin
2015-12-17 20:00:48 +01:00
Alexander Larsson
4ea61d3830
lib: Return GPtrArray from xdg_app_remote_list_refs_sync
2015-12-17 19:57:01 +01:00
Alexander Larsson
43a09b3646
Fix unused variable warnings
2015-12-15 14:34:52 +01:00
Alexander Larsson
ca06b3e66f
lib: Fix build with older glib
2015-12-14 22:01:21 +01:00
Alexander Larsson
0fe5f6552a
lib: Add XdgAppDir to RemoteRef private
2015-12-07 16:35:53 +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
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
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
5fd830d3b0
lib: Make getters for XdgAppRemote return copies of strings for options
...
This makes it possible to handle the case when these options change
over time.
2015-12-04 11:46:32 +01:00
Alexander Larsson
1ba476bcbe
Merge pull request #90 from ebassi/introspection
...
Introspection
2015-12-04 11:42:47 +01:00
Alexander Larsson
ad7b379398
Add no-enumerate flag to remote and set if for bundle origin remotes
2015-12-04 11:40:51 +01:00
Emmanuele Bassi
c09375c855
Annotate transfer rules for ambiguous return values
...
This silences all the warnings from the introspection scanner.
2015-12-04 10:17:39 +00:00
Alexander Larsson
2f6fc54897
lib: Use the new remote helpers
2015-12-04 10:49:16 +01:00
Alexander Larsson
132d1186d9
Initial version of libxdg-app
...
This is a highlevel library for working with xdg-app without using
the commandline interface. The primary usecase for this is for
creating a graphical frontend for app installation/update.
2015-12-03 22:41:16 +01:00