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 /apidoc | |
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 'apidoc')
-rw-r--r-- | apidoc/ostree-experimental-sections.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/apidoc/ostree-experimental-sections.txt b/apidoc/ostree-experimental-sections.txt index 78a50100..7e9ed084 100644 --- a/apidoc/ostree-experimental-sections.txt +++ b/apidoc/ostree-experimental-sections.txt @@ -22,6 +22,34 @@ ostree_remote_get_name </SECTION> <SECTION> +<FILE>ostree-repo-experimental</FILE> +ostree_repo_find_remotes_async +ostree_repo_find_remotes_finish +ostree_repo_pull_from_remotes_async +ostree_repo_pull_from_remotes_finish +ostree_repo_resolve_keyring_for_collection +</SECTION> + +<SECTION> +<FILE>ostree-repo-finder</FILE> +OstreeRepoFinder +ostree_repo_finder_resolve_async +ostree_repo_finder_resolve_finish +ostree_repo_finder_resolve_all_async +ostree_repo_finder_resolve_all_finish +OstreeRepoFinderResult +ostree_repo_finder_result_new +ostree_repo_finder_result_dup +ostree_repo_finder_result_free +ostree_repo_finder_result_compare +OstreeRepoFinderResultv +ostree_repo_finder_result_freev +<SUBSECTION Standard> +ostree_repo_finder_get_type +ostree_repo_finder_result_get_type +</SECTION> + +<SECTION> <FILE>ostree-misc-experimental</FILE> ostree_repo_get_collection_id ostree_repo_set_collection_id |