Displaying 2 results from an estimated 2 matches for "b8d36f6fa".
2019 Jan 16
0
[PATCH 5/5] builder: ignore repositories with download failures
...warning message.
This way, if a repository is temporary unavailable, the rest of the
repositories can still be used.
---
builder/builder.ml | 30 +++++++++++++++++++-----------
1 file changed, 19 insertions(+), 11 deletions(-)
diff --git a/builder/builder.ml b/builder/builder.ml
index 651db83f0..b8d36f6fa 100644
--- a/builder/builder.ml
+++ b/builder/builder.ml
@@ -199,18 +199,26 @@ let main () =
let sources = List.append sources repos in
let index : Index.index =
List.concat (
- List.map (
+ List.filter_map (
fun source ->
- let sigchecker =
- Si...
2019 Jan 16
10
[PATCH 0/5] [RFC] builder: handle unavailable repos
In case a repository of virt-builder references files (e.g. the index)
that cannot be downloaded (network issues, 404, etc) then virt-builder
errors out on this situation. This is not a nice situation, from an user
POV.
This series does some refactoring to allow to better handle downloading
failures, and handle the failures gracefully in virt-builder.
RFC because I'm not yet too convinced