fetch: collect update errors
A single error while updating a reference can mean that every other update will fail.
Instead of shortcutting, collect any errors that can occur, and log them as warnings.
4 files changed
+42
-24
993428df
→
fd449233
modified crates/radicle-fetch/src/git/refs/update.rs
@@ -24,6 +24,8 @@ use radicle::prelude::PublicKey;
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -33,6 +35,8 @@ pub struct Applied<'a> {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-fetch/src/git/repository.rs
@@ -117,29 +117,31 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-fetch/src/state.rs
@@ -579,7 +579,7 @@ impl FetchState {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/worker/fetch.rs
@@ -1,11 +1,12 @@
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -122,6 +123,17 @@ impl Handle {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|