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

Bunch of various updates #29

Merged
merged 9 commits into from
Dec 4, 2023
Merged

Bunch of various updates #29

merged 9 commits into from
Dec 4, 2023

Conversation

jpopelka
Copy link
Member

  • pre-commit to run linters/formatters
  • packit to build RPMs from PRs
  • fix shellcheck errors/warnings (not all)
  • fix mtps-setup: line 62: DEBUG: unbound variable when running the pipeline on module build
  • update shebangs: /bin/bash -> /usr/bin/bash
  • Spec update, most importantly mtps-* are installed into /usr/sbin/ instead of /usr/local/bin/

Per rpmlint it's not permitted for packages to install files there.
E: dir-or-file-in-usr-local

Also use install instead of mkdir & cp.
Also use
: "${VARIABLE:=default}"
to define a default value for a variable.
It's more simple than
VARIABLE="${VARIABLE:-default}"
and less typo-prone (this change fixes some typos).

Also fixes
/usr/local/bin/mtps-setup: line 62: DEBUG: unbound variable
when running the pipeline on module build.
@jpopelka jpopelka merged commit 2c9b222 into fedora-ci:main Dec 4, 2023
10 checks passed
@jpopelka jpopelka deleted the jirka branch December 4, 2023 08:00
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.

1 participant