summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-repo-finder.c
diff options
context:
space:
mode:
authorMatthew Leeds <matthew.leeds@endlessm.com>2018-05-22 15:55:14 -0700
committerAtomic Bot <atomic-devel@projectatomic.io>2018-06-04 19:20:10 +0000
commit8fbf19c9f54ba34ae7ebbc540b08566b8dd18848 (patch)
tree524d9b3ab52563ba2f788771b3056a1c2361ea39 /src/libostree/ostree-repo-finder.c
parentf1d9196076d4aea1f64e0d2cbd17bfa2891b8c4c (diff)
downloadostree-8fbf19c9f54ba34ae7ebbc540b08566b8dd18848.tar.gz
Make P2P API public (no longer experimental)
Currently the API that allows P2P operations (e.g. pulling an ostree ref from a LAN or USB source) is hidden behind the configure flag --enable-experimental-api. This commit makes the API public and makes that flag essentially a no-op (leaving it in place in case we want to use it again in the future). The P2P API has been tested over the last several months and proven to work. This means that since we're no longer using the "experimental" feature flag, P2P builds of Flatpak will fail when using versions of OSTree from this commit onwards, until Flatpak is patched in the near future. If you want to build Flatpak < 0.11.8 with P2P enabled and link against OSTree 2018.6, you'll have to patch Flatpak. However, since Flatpak won't yet have a hard dependency on OSTree 2018.6, it needs a new way to determine if the P2P API in OSTree is available, so this commit adds a "p2p" feature flag. This way the feature set is more semantically correct than if we had continued to use the "experimental" feature flag. In addition to making the P2P API public, this commit makes the P2P unit tests run by default, removes the f27-experimental CI instance that's no longer needed, changes a few man pages to reflect the changes, and updates the bash completion script to accept the new commands and options. Closes: #1596 Approved by: cgwalters
Diffstat (limited to 'src/libostree/ostree-repo-finder.c')
-rw-r--r--src/libostree/ostree-repo-finder.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/libostree/ostree-repo-finder.c b/src/libostree/ostree-repo-finder.c
index e7943c3e..32407ff5 100644
--- a/src/libostree/ostree-repo-finder.c
+++ b/src/libostree/ostree-repo-finder.c
@@ -138,7 +138,7 @@ static void resolve_cb (GObject *obj,
* Pass the results to ostree_repo_pull_from_remotes_async() to pull the given
* @refs from those remotes.
*
- * Since: 2017.8
+ * Since: 2018.6
*/
void
ostree_repo_finder_resolve_async (OstreeRepoFinder *self,
@@ -196,7 +196,7 @@ resolve_cb (GObject *obj,
*
* Returns: (transfer full) (element-type OstreeRepoFinderResult): array of zero
* or more results
- * Since: 2017.8
+ * Since: 2018.6
*/
GPtrArray *
ostree_repo_finder_resolve_finish (OstreeRepoFinder *self,
@@ -254,7 +254,7 @@ static void resolve_all_finished_one (GTask *task);
* A version of ostree_repo_finder_resolve_async() which queries one or more
* @finders in parallel and combines the results.
*
- * Since: 2017.8
+ * Since: 2018.6
*/
void
ostree_repo_finder_resolve_all_async (OstreeRepoFinder * const *finders,
@@ -411,7 +411,7 @@ resolve_all_finished_one (GTask *task)
*
* Returns: (transfer full) (element-type OstreeRepoFinderResult): array of zero
* or more results
- * Since: 2017.8
+ * Since: 2018.6
*/
GPtrArray *
ostree_repo_finder_resolve_all_finish (GAsyncResult *result,
@@ -446,7 +446,7 @@ G_DEFINE_BOXED_TYPE (OstreeRepoFinderResult, ostree_repo_finder_result,
* are as described in the #OstreeRepoFinderResult documentation.
*
* Returns: (transfer full): a new #OstreeRepoFinderResult
- * Since: 2017.8
+ * Since: 2018.6
*/
OstreeRepoFinderResult *
ostree_repo_finder_result_new (OstreeRemote *remote,
@@ -480,7 +480,7 @@ ostree_repo_finder_result_new (OstreeRemote *remote,
* Copy an #OstreeRepoFinderResult.
*
* Returns: (transfer full): a newly allocated copy of @result
- * Since: 2017.8
+ * Since: 2018.6
*/
OstreeRepoFinderResult *
ostree_repo_finder_result_dup (OstreeRepoFinderResult *result)
@@ -502,7 +502,7 @@ ostree_repo_finder_result_dup (OstreeRepoFinderResult *result)
*
* Returns: <0 if @a is ordered before @b, 0 if they are ordered equally,
* >0 if @b is ordered before @a
- * Since: 2017.8
+ * Since: 2018.6
*/
gint
ostree_repo_finder_result_compare (const OstreeRepoFinderResult *a,
@@ -549,7 +549,7 @@ ostree_repo_finder_result_compare (const OstreeRepoFinderResult *a,
*
* Free the given @result.
*
- * Since: 2017.8
+ * Since: 2018.6
*/
void
ostree_repo_finder_result_free (OstreeRepoFinderResult *result)
@@ -571,7 +571,7 @@ ostree_repo_finder_result_free (OstreeRepoFinderResult *result)
*
* Free the given @results array, freeing each element and the container.
*
- * Since: 2017.8
+ * Since: 2018.6
*/
void
ostree_repo_finder_result_freev (OstreeRepoFinderResult **results)