Colin Walters
2708124190
repo: Tweak traversal API
...
It's convenient for bindings if we have a version that doesn't mutate
the hash table, because they pass temporary hash tables as input.
2013-10-09 12:05:56 -04:00
Colin Walters
ac2d61dd51
core: Add detached metadata, readd metadata to commits
...
Previously I thought we'd have to ditch the current commit
format to avoid a{sv} due to
See https://bugzilla.gnome.org/show_bug.cgi?id=673012
But I realized that we don't really have to care about
unpacking/repacking commit objects, so let's just re-expose the
existing metadata a{sv} in commits in the API.
Also, add support for "detached" metadata that can be updated at any
time post-commit. This is specifically designed for GPG signatures.
https://bugzilla.gnome.org/show_bug.cgi?id=707379
2013-09-09 17:01:32 -04:00
Tobias Hunger
ed56908ccb
Fix warnings about unused variables
2013-08-30 14:23:45 -04:00
Colin Walters
871be4b75a
libostree: Extend gtk-doc coverage for refs and prune APIs
2013-08-19 10:32:08 -04:00
Colin Walters
eaee309112
Use { 0, } for structure initialization rather than memset()
...
It's cleaner, safer, and I had a totally wrong idea stuck in my head
about why memset() should be used.
https://bugzilla.gnome.org/show_bug.cgi?id=705968
2013-08-18 07:20:46 -04:00
Colin Walters
9e480cd6a9
core: Finish making object path API private
...
This allows us to more easily change the internals later.
2013-07-31 03:48:33 -04:00
Colin Walters
a5d43bb959
Install a shared library
...
This required a fair bit of surgery because previously ostree.h
included otutil.h, but that's supposed to be a private library.
2013-07-26 19:25:07 -04:00
Colin Walters
272274f0af
prune: Don't fail if a to-be-pruned object doesn't exist
...
Previously, if a prune was interrupted, further attempts would fail.
It's just better to silently continue here.
2013-07-16 10:01:58 -04:00
Colin Walters
5dd0d5da40
libostree: Move prune into OstreeRepo namespace
...
More library work.
2013-07-09 20:05:31 -04:00