From 6e935ee26fc9bf8629100a0f949b550971a25108 Mon Sep 17 00:00:00 2001 From: Matthew Leeds Date: Wed, 6 Feb 2019 14:50:13 -0800 Subject: [PATCH] lib/repo-pull: Fix docs for n-network-retries option Add "Since: 2018.6" and copy the docs to ostree_repo_pull_from_remotes_async() which also supports it. Closes: #1812 Approved by: jlebon --- src/libostree/ostree-repo-pull.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c index 4b596da1..d0b7b6ea 100644 --- a/src/libostree/ostree-repo-pull.c +++ b/src/libostree/ostree-repo-pull.c @@ -3504,7 +3504,7 @@ initiate_request (OtPullData *pull_data, * * append-user-agent (s): Additional string to append to the user agent * * n-network-retries (u): Number of times to retry each download on receiving * a transient network error, such as a socket timeout; default is 5, 0 - * means return errors without retrying + * means return errors without retrying. Since: 2018.6 */ gboolean ostree_repo_pull_with_options (OstreeRepo *self, @@ -4950,7 +4950,7 @@ static void find_remotes_cb (GObject *obj, * provided. * * `n-network-retries` (`u`): Number of times to retry each download on * receiving a transient network error, such as a socket timeout; default is - * 5, 0 means return errors without retrying. + * 5, 0 means return errors without retrying. Since: 2018.6 * * @finders must be a non-empty %NULL-terminated array of the #OstreeRepoFinder * instances to use, or %NULL to use the system default set of finders, which @@ -5795,6 +5795,9 @@ copy_option (GVariantDict *master_options, * * `update-frequency` (`u`): Frequency to call the async progress callback in * milliseconds, if any; only values higher than 0 are valid * * `append-user-agent` (`s`): Additional string to append to the user agent + * * `n-network-retries` (`u`): Number of times to retry each download on receiving + * a transient network error, such as a socket timeout; default is 5, 0 + * means return errors without retrying. Since: 2018.6 * * Since: 2018.6 */