~matthiasbeyer/butido

b2552b87 — Matthias Beyer 3 years ago master
Remove myself

This patch removes me (with the atos.net mail address) from the codebase, as I
quit my job at 31.12.2021.

Thus, this patch changes the human_panic setup call to refer to
science-computing ag, opensoftware, which is the team that I belong(ed) to.

My private mail address remains in the codebase (in the authors), as I still
authored the project. The atos.net mail address is removed because I am no
longer reachable under this address, though.

Christoph comes first in the authors field now, though.

Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
CC: Christoph Prokop <christoph.prokop@atos.net>
Merge branch 'optimize-mass-download'
Merge branch 'container-create-with-sensible-name'
Merge branch 'misc'
Allow spinner_format in config, to be backwards compatible

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
55bc26a5 — Matthias Beyer 3 years ago
Fix: Increase bar length when adding download

Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
585f07d9 — Matthias Beyer 3 years ago
Fix: Add missing closing paren

Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
0775fe01 — Matthias Beyer 3 years ago
Introduce semaphore for max of 100 concurrent downloads

Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
51aded70 — Matthias Beyer 3 years ago
Optimize: Do not increase the download counter too soon

Because if the check fails, we don't have to do this work actually.

Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
17351984 — Matthias Beyer 3 years ago
Optimize: Write bytes to disk and increase statusbar in parallel

Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
781fae3d — Matthias Beyer 3 years ago
Fix: Do not finish download twice

The calling function does this already.

Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
d70fc03c — Matthias Beyer 3 years ago
Add doc for helper type

Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
2b804658 — Matthias Beyer 3 years ago
Outsource "source download" subcommand impl

Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
e1b39ee4 — Matthias Beyer 3 years ago
Move source command implementation to submodule

Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
9ad578dc — Matthias Beyer 3 years ago
Add progress wrapper

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>
5d98b4b6 — Matthias Beyer 3 years ago
Remove multiple progress when downloading

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>
366c26f7 — Matthias Beyer 3 years ago
Remove spinner support in progress bar helper

Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
1438fc5e — Matthias Beyer 3 years ago
Fix: Use already existing response type to get byte stream, instead of starting new GET request

Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
da3c15e3 — Matthias Beyer 3 years ago
Build unique container name from job metadata

With this patch, the name of the running container is generated from the job
metadata with a "butido-" prefix, so that containers on nodes can be identified
(the auto-generated names from docker are funny, but help nobody).

Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
1353e53e — Matthias Beyer 3 years ago
Fix error/info messages for binary name

Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Next