lib/repo: Add an API to mark a commit as partial
authorColin Walters <walters@verbum.org>
Thu, 14 Dec 2017 14:48:26 +0000 (09:48 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 14 Dec 2017 15:51:07 +0000 (15:51 +0000)
commit7935b881bfa1d57c9cad4ae0522fab90bcf46ab5
tree5025f8e19ed03267eea50fbf6c51458c0b4a286f
parentad814d1c8abcf8ed27863586301ba47329e273b6
lib/repo: Add an API to mark a commit as partial

For the [rpm-ostree jigdo ♲📦](https://github.com/projectatomic/rpm-ostree/issues/1081) work.
We're basically doing "pull" via a non-libostree mechanism, and this
should be fully supported.  As I mentioned earlier we should try to
have `ostree-repo-pull.c` only use public APIs; this gets us closer
to that.

Closes: #1376
Approved by: jlebon
apidoc/ostree-sections.txt
src/libostree/libostree-devel.sym
src/libostree/ostree-repo-commit.c
src/libostree/ostree-repo-prune.c
src/libostree/ostree-repo-pull.c
src/libostree/ostree-repo.h