Skip to content

sysreqr 0.2.0: cross-distro bundled database, expanded log diagnosis#2

Open
choxos wants to merge 1 commit into
mainfrom
0.2.0-cross-distro
Open

sysreqr 0.2.0: cross-distro bundled database, expanded log diagnosis#2
choxos wants to merge 1 commit into
mainfrom
0.2.0-cross-distro

Conversation

@choxos

@choxos choxos commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • Cross-distro bundled database: the bundled fallback now stores one row per (r_package, package_manager, system_package) with names for apt, dnf (reused by yum platforms), zypper, and apk (257 rows, 40 curated packages). The apt/dnf/zypper names are generated from the Posit Package Manager database for Ubuntu 22.04, Red Hat 9, and openSUSE 15.6; Alpine names are hand curated. backend = "bundled" and auto routing now work on Fedora, RHEL rebuilds, openSUSE, and Alpine.
  • Log diagnosis patterns 12 -> 33: adds zlib, bzip2, xz, png, jpeg, tiff, freetype, fontconfig, cairo, SQLite, PostgreSQL, MariaDB, libsodium, GMP, MPFR, GLPK, GEOS, ImageMagick, poppler, leptonica, tesseract, ICU, webp, and Cyrus SASL, each with per-manager names.
  • Bug fix: Posit Package Manager query failures no longer stop with the misleading apt-only bundled error on non-apt platforms; platforms outside the bundled data get an empty plan with the original error in the fallback_error attribute.
  • Bug fix: installed-state detection now covers Alpine via apk info.
  • Startup message suggests setup_advice() for the detected platform.
  • Packages with no name on a given platform (V8 on zypper/apk, units on zypper) are reported as unresolved instead of getting invented names.

Testing

  • testthat: 367 pass, 0 fail (1 skip: apk binary absent on macOS).
  • lintr: 0 lints.
  • R CMD check --as-cran: 0 errors, 0 warnings, 1 NOTE (days since last update).
  • Zero runtime dependencies preserved (no Imports).

…llback fix

The bundled fallback database now stores one row per (r_package,
package_manager, system_package) with names for apt, dnf (reused by yum),
zypper, and apk. The apt, dnf, and zypper names are generated from the
Posit Package Manager database for Ubuntu 22.04, Red Hat 9, and openSUSE
15.6; the Alpine names are hand curated. backend = "bundled" and auto
routing now work on Fedora, RHEL rebuilds, openSUSE, and Alpine.

Log diagnosis patterns grew from 12 to 33, adding zlib, bzip2, xz, png,
jpeg, tiff, freetype, fontconfig, cairo, SQLite, PostgreSQL, MariaDB,
libsodium, GMP, MPFR, GLPK, GEOS, ImageMagick, poppler, leptonica,
tesseract, ICU, webp, and Cyrus SASL, each with per-manager names.

Fixes: Posit Package Manager query failures no longer stop with the
misleading apt-only bundled error on non-apt platforms; installed-state
detection now covers Alpine via apk info; the startup message suggests
setup_advice() for the detected platform.
@codecov

codecov Bot commented Jun 12, 2026

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

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