Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI improvements and tarballs fix #834

Merged
merged 5 commits into from
Mar 6, 2024

Conversation

TimoWilken
Copy link
Contributor

See individual commits.

  • Only download tarballs if we're going to use them (fixes https://its.cern.ch/jira/browse/O2-3882)
  • Show download progress interactively (if possible) using ProgressPrint
  • Show progress of cloning "mirror" repositories, replacing "spammy" per-repo output with one ProgressPrint (in non-debug mode)

Also contains one cleanup/refactoring commit (4236ab3) -- let me know if you want a separate PR for that one.

Match the previous behaviour.

On the first run through the loop, we haven't built the package yet, so the
target paths might not exist yet.
This makes it easier to work out which packages are development packages
without having to pass around the list of development packages separately.
This allows us to delay fetching tarballs, and avoid it completely if we
already have the package installed.

Also get rid of a pointless parameter (the package name is already set in the
spec).

To avoid re-fetching symlinks on every run, abort if we already have a
matching one for any of our package's hashes.

Previously, symlinks would not be re-fetched when a tarball was available, but
now we might not have a tarball, even if the package in question is already
installed.
Use ProgressPrint to show how far along we are while downloading precompiled
tarballs from the remote.
Get rid of the spammy output when not in debug mode, instead showing a
progress bar.
@TimoWilken
Copy link
Contributor Author

Squashed and rebased @ktf!

@ktf ktf merged commit 3842a49 into alisw:master Mar 6, 2024
12 checks passed
@TimoWilken TimoWilken deleted the tarballs+ui-improvements branch March 6, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants