-
Notifications
You must be signed in to change notification settings - Fork 684
feat: add mirroring of Almalinux 9 #34739
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
base: master
Are you sure you want to change the base?
Conversation
Changes: - Update shell options for better error handling and tracing. - Add quotes around variables to prevent word splitting and globbing issues. - Replace for-loop with while-read for safer line-by-line processing. - Simplify upload error check by combining command and condition.
Update the workflow and publish script to handle multiple AlmaLinux OS versions (8 and 9).
Enhance trap commands with proper quoting to avoid potential word splitting issues. Add consistent quoting to variable expansions, preventing word splitting and globbing errors.
arnej27959
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as far as i can see this should be OK
| COPR_PACKAGES=$(mktemp) | ||
| readonly COPR_PACKAGES | ||
| # shellcheck disable=SC2064 | ||
| trap "rm -f \"${COPR_PACKAGES}\"" EXIT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we even need to do this type of cleanup given that it's running inside a github action container which will be deleted when the script is done anyway? something to consider for later, maybe...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, I did not question the process when I fixed the shellcheck warning.
|
Do not merge was set because this would bring us over the limit of the OSS storage offered by Cliudsmith. |
What
Why