Commit Graph

11 Commits (9a0dcf64708730345794b049c8fc42a34b1dff9f)

Author SHA1 Message Date
Alexander Larsson ab3709aa83 Fix warning 2015-02-02 11:02:41 +01:00
Richard Hughes 091ac2202d Show the full reference in repo-contents when using --show-details
It's useful to know if the ref is an application or a runtime, as each uses a
different command line command.
2015-01-22 11:01:15 +00:00
Matthias Clasen f62277e5af Use libsoup to load summary via http
We disable gvfs in xdg-app, so we need to use libsoup explicitly.
This is hopefully only temporary, until ostree grows api for dealing
with summaries.
2015-01-21 15:23:14 -05:00
Matthias Clasen f1b5b45af3 Factor out summary loading into a function
This will make it easier to bring in libsoup
2015-01-21 14:37:29 -05:00
Matthias Clasen 56204ac75b Initialize a variable
Otherwise we crash trying to free it when it leaves scope.
2015-01-20 22:42:55 -05:00
Matthias Clasen ec6fa6284d repo-contents: Use ostree summary
Load the OSTree summary file for the remote repo, and show its
contents, if available. This gives us a listing of the refs that
are available in the remote repository, regardless of whether
they are represented in the local repo.
2015-01-20 21:16:20 -05:00
Matthias Clasen 04a15f34b0 Add an --updates option
When --updates is given to repo-contents, only list
apps and runtimes for which the ref points at a commit
that is different from the currently deployed one, indicating
that there is an update available in the local repo.
2015-01-20 21:09:44 -05:00
Matthias Clasen 5df6316842 Sort repo-contents output 2015-01-16 14:28:54 -05:00
Matthias Clasen 597046e78f Shorten some options of the repo-contents command
Make the options just --apps and --runtimes. Less typing.
2015-01-16 14:11:22 -05:00
Matthias Clasen 4490029880 Make repo-contents operate on a single repo
This is more in line with the other commands.
2015-01-15 23:42:48 -05:00
Matthias Clasen 4cec1e3934 Add a repo-contents command
This can show available runtimes and applications.
2015-01-15 23:25:03 -05:00