−os/pelican,ruff

This commit is contained in:
Marc Beninca 2024-08-07 21:02:02 +02:00
parent aed6978d74
commit fea6fbebca
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 15 additions and 35 deletions

View file

@ -62,22 +62,22 @@ from various contexts of CA, CI and OCI / OS.
## Packages ## Packages
| os | https | updt-ca | py | graphviz | plantuml | shchk | sphinx | shfmt | pelican | ruff | | os | https | updt-ca | py | graphviz | plantuml | shellcheck | sphinx | shfmt |
|:----------------|---|---|:------------|:------|:----------|:-----|:----|:-----|:----|:----| |:----------------|---|---|:------------|:------|:----------|:-----|:----|:-----|
| Arch 20240101 | ☑ | ☑ | 3.12 | 12.0 | 1.2023.13 | 0.10 | 7.4 | 3.8 | 4.9 | 0.5 | | Arch 20240101 | ☑ | ☑ | 3.12 | 12.0 | 1.2023.13 | 0.10 | 7.4 | 3.8 |
| Fedora 40 | ☑ | ☑ | 3.12 → 3.13 | 9.0 | 1.2024.6 | 0.9 | 7.2 | 3.7 | 4.8 | 0.4 | | Fedora 40 | ☑ | ☑ | 3.12 → 3.13 | 9.0 | 1.2024.6 | 0.9 | 7.2 | 3.7 |
| Alpine 3.20 | ☑ | ☐ | 3.12 | 9.0 | 1.2024.4 | 0.10 | 7.2 | 3.8 | | 0.4 | | Alpine 3.20 | ☑ | ☐ | 3.12 | 9.0 | 1.2024.4 | 0.10 | 7.2 | 3.8 |
| Ubuntu Noble | ☐ | ☐ | 3.12 | u2.42 | u1.2020.2 | u0.9 | 7.2 | u3.8 | 4.9 | | | Ubuntu Noble | ☐ | ☐ | 3.12 | u2.42 | u1.2020.2 | u0.9 | 7.2 | u3.8 |
| Debian Bookworm | ☐ | ☐ | 3.11 | 2.42 | 1.2020.2 | 0.9 | 5.3 | 3.6 | 4.8 | | | Debian Bookworm | ☐ | ☐ | 3.11 | 2.42 | 1.2020.2 | 0.9 | 5.3 | 3.6 |
| Alma / Rocky 9 | ☑ | ☑ | 3.9 → 3.12 | 2.44 | e1.2024.6 | e0.8 | | | | | | Alma / Rocky 9 | ☑ | ☑ | 3.9 → 3.12 | 2.44 | e1.2024.6 | e0.8 | | |
| os | https | updt-ca | py | graphviz | plantuml | shchk | sphinx | shfmt | pelican | ruff | | os | https | updt-ca | py | graphviz | plantuml | shellcheck | sphinx | shfmt |
|:----------------|---|---|:------------|:------|:----------|:-----|:----|:-----|:----|:----| |:----------------|---|---|:------------|:------|:----------|:-----|:----|:-----|
| Fedora 39 | ☑ | ☑ | 3.12 → 3.13 | 8.1 | 1.2024.6 | 0.9 | 6.2 | 3.5 | 4.8 | 0.4 | | Fedora 39 | ☑ | ☑ | 3.12 → 3.13 | 8.1 | 1.2024.6 | 0.9 | 6.2 | 3.5 |
| Alpine 3.19 | ☑ | ☐ | 3.11 | 9.0 | 1.2023.12 | 0.9 | 6.2 | 3.7 | | | | Alpine 3.19 | ☑ | ☐ | 3.11 | 9.0 | 1.2023.12 | 0.9 | 6.2 | 3.7 |
| Ubuntu Jammy | ☐ | ☐ | 3.10 | u2.42 | u1.2020.2 | u0.8 | 4.3 | u3.4 | 4.7 | | | Ubuntu Jammy | ☐ | ☐ | 3.10 | u2.42 | u1.2020.2 | u0.8 | 4.3 | u3.4 |
| Debian Bullseye | ☐ | ☐ | 3.9 | 2.42 | 1.2020.2 | 0.7 | 3.4 | | 4.0 | | | Debian Bullseye | ☐ | ☐ | 3.9 | 2.42 | 1.2020.2 | 0.7 | 3.4 | |
| Alma / Rocky 8 | ☑ | ☑ | 3.6 → 3.12 | 2.40 | e1.2024.6 | e0.6 | | | | | | Alma / Rocky 8 | ☑ | ☑ | 3.6 → 3.12 | 2.40 | e1.2024.6 | e0.6 | | |
## Tasks ## Tasks

20
spcd.sh
View file

@ -624,17 +624,6 @@ spcd_install_packages() {
# plantuml # plantuml
spcd_step "Install PlantUML" spcd_step "Install PlantUML"
spcd_install_package "plantuml" spcd_install_package "plantuml"
# python pelican
spcd_step "Install Python Pelican"
case "${SPCD_OS_ID}" in
"${SPCD_OS_ARCH}" | "${SPCD_OS_DEBIAN}" | "${SPCD_OS_UBUNTU}")
spcd_install_package "pelican"
;;
"${SPCD_OS_FEDORA}")
spcd_install_package "python3-pelican"
;;
*) ;;
esac
# python sphinx # python sphinx
spcd_step "Install Python Sphinx" spcd_step "Install Python Sphinx"
case "${SPCD_OS_ID}" in case "${SPCD_OS_ID}" in
@ -659,15 +648,6 @@ spcd_install_packages() {
# rsync # rsync
spcd_step "Install Rsync" spcd_step "Install Rsync"
spcd_install_package "rsync" spcd_install_package "rsync"
# ruff
spcd_step "Install Ruff"
case "${SPCD_OS_ID}" in
"${SPCD_OS_ALPINE}")
[ "${SPCD_OS_VERSION}" != "3.19" ] && spcd_install_package "ruff"
;;
"${SPCD_OS_ARCH}" | "${SPCD_OS_FEDORA}") spcd_install_package "ruff" ;;
*) ;;
esac
# shell check # shell check
spcd_step "Install ShellCheck" spcd_step "Install ShellCheck"
case "${SPCD_PM}" in case "${SPCD_PM}" in