ostree/src
Colin Walters 5c940987e7 Add support for more selective pruning
There are use cases for having a single repo with branches
with different lifecycles; a simple example of what I was
trying to do in CentOS Atomic Host work is have "stable"
and "devel" branches, were we want to prune devel, but
retain *all* of stable.

This patch is split into two parts - first we add a low level "delete all
objects not in this set" API, and change the current prune API
to use this.

Next, we move more logic into the "ostree prune" command. This paves the way for
demonstrating how more sophisticated algorithms/logic could be developed outside
of the ostree core.

Also, the --keep-younger-than logic already lived in the commandline, so it
makes sense to keep extending it there.

Closes: https://github.com/ostreedev/ostree/issues/604

Closes: #646
Approved by: jlebon
2017-01-19 16:28:00 +00:00
..
boot boot: Ensure we remount /var writable before systemd does journal flush 2016-09-15 19:41:44 +00:00
libostree Add support for more selective pruning 2017-01-19 16:28:00 +00:00
libotutil lib: Split out helper function to create GPG context 2016-11-17 09:44:07 +00:00
ostree Add support for more selective pruning 2017-01-19 16:28:00 +00:00
rofiles-fuse rofiles-fuse: Rework to be based on nlink 2016-08-16 21:22:28 +00:00
switchroot ostree-prepare-root: Fix running with musl 2016-09-01 20:17:58 +00:00