ostree/pull: Add network-retries command line option

This exposes a way to specify from the command line the number
of times to retry each download after a network error. If a negative
value is given, then the default number of retries (5) is used. If 0
is given, then errors are returned without retrying.

closes #1659

Closes: #1669
Approved by: jlebon
This commit is contained in:
Robert Fairley authored and Atomic Bot committed 2018-07-05 17:59:09 +00:00
1 parent 4f096c8f11
commit 7baf167881
4 files changed
+50 -3

No files matched your search

+1
View File
@@ -908,6 +908,7 @@ _ostree_pull() {
--depth
--http-header
--localcache-repo -L
--network-retries
--repo
--subpath
--update-frequency