Age | Commit message (Collapse) | Author |
|
The calling function does this already.
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
|
|
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
|
|
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
|
|
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
|
|
When creating only one progress bar for all downloads, we still want to know
how many downloads are happening and the remaining number of bytes to be
received.
This patch implements a ProgressWrapper that synchronizes between the download
tasks and the progress bar.
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
|
|
This patch removes the multiple progress bars when downloading packages, and
instead moves to a single progress bar, because downloading (for example) 50
packages at once resulted in an unusable progress bar list.
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
|
|
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
|
|
starting new GET request
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
|
|
Because linking does not work as expected.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
|
|
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
|
|
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
|
|
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
|
|
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Tested-by: Matthias Beyer <matthias.beyer@atos.net>
|
|
Fix missing fmt argument in error message
|
|
Without this, the error message would literally be "Running container {}
failed" with curly braces in it instead of the container id.
Signed-off-by: David Tolnay <dtolnay@gmail.com>
|
|
Because we cannot release with "git" dependencies in Cargo.toml, we
ignore the advisory for the v0.3.0 release.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit dbcc83ef292a282842ba30cefd70240fda8b0a55)
|
|
This reverts commit a73b2d0d04fddbfe69e0872b6856b112ebec6d71.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit b20a799090c19b3c7a18dd276f96cd2a40ac0145)
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
(cherry picked from commit 242bdf7c6ff0c530348d9d14c86d2c6a52c43228)
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Because ptree 0.3.2 dependends on crates that have security advisories
(down the dependency chain), we depend on a fork of ptree now, which
updates these dependencies.
We hope that this resolves the advisories for us.
This patch shall be reverted as soon as ptree 0.4.0 (with updated
dependencies) is published.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
|
|
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
|
|
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
|
|
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
|
|
|
|
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
|
|
|
|
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
|
|
This patch adds a helper trait to display maps from UUID -> Error.
It is just introduced for convenience and less code duplication, the speed of
execution is not relevant at all in this case, as if this code is executed,
we're already handling errors and aborting the execution anyways.
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
|
|
|
|
|
|
Starting with 0.3.0, this crate will be in maintenance mode.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
as we accept PRs now.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
|
|
|
|
This fixes a bug: If the target file existed, but was created by another user,
the tokio::fs::copy() function was not able to overwrite it (only to empty the
file). So with this patch, we remove the file before we copy a new file to the
target location.
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Tested-by: Matthias Beyer <matthias.beyer@atos.net>
|