chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cb5844
)
otter(1): reset bundles, do upload
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 21 May 2021 13:27:41 +0000
(14:27 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 21 May 2021 13:27:41 +0000
(14:27 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/bin/otter.rs
patch
|
blob
|
history
diff --git
a/src/bin/otter.rs
b/src/bin/otter.rs
index 3f2430f4011ecec7724ab56960931fba0df7be3f..e58b7f2b718b21d17d0ecea843e2612cdc63969e 100644
(file)
--- a/
src/bin/otter.rs
+++ b/
src/bin/otter.rs
@@
-829,7
+829,11
@@
mod reset_game {
if ma.verbose >= 0 {
eprintln!("Re-uploading bundles: {}", why);
}
- todo!();
+ let progress = termprogress::new();
+ let mut progress = termprogress::Nest::new(local.len(), progress);
+ for bundle in local {
+ bundle.upload(&ma, &mut chan, &mut progress)?;
+ }
},
}
}