diff options
author | Philip Withnall <withnall@endlessm.com> | 2017-04-18 23:59:33 +0100 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2017-06-26 15:56:07 +0000 |
commit | 292230301dde3c774325d50b5ed95d37b1c1d217 (patch) | |
tree | 4dd24ec70b0face61d9381d8eb78715b713d7d1a /Makefile-libostree-defines.am | |
parent | 7607d94713539e748a89656c9a85cbe04186b281 (diff) | |
download | ostree-292230301dde3c774325d50b5ed95d37b1c1d217.tar.gz |
lib/repo-finder: Add basic support for finding remote URIs by ref name
Add an initial OstreeRepoFinder interface (but no implementations),
which will find remote URIs by ref names and collection IDs, the
combination of which is globally unique.
The new API is used in a new ostree_repo_find_updates() function, which
resolves a list of ref names to update into a set of remote URIs to pull
them from, which can be treated as mirrors. It is an attempt to
generalise resolution of the URIs to pull from, and to generalise
determination of the order and parallelisation which they should be
downloaded from in.
Includes fixes by Krzesimir Nowak <krzesimir@kinvolk.io>.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #924
Approved by: cgwalters
Diffstat (limited to 'Makefile-libostree-defines.am')
-rw-r--r-- | Makefile-libostree-defines.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile-libostree-defines.am b/Makefile-libostree-defines.am index 44b6cd0a..6214633d 100644 --- a/Makefile-libostree-defines.am +++ b/Makefile-libostree-defines.am @@ -42,6 +42,7 @@ if ENABLE_EXPERIMENTAL_API libostree_public_headers += \ src/libostree/ostree-ref.h \ src/libostree/ostree-remote.h \ + src/libostree/ostree-repo-finder.h \ $(NULL) endif |