| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-03-01 | bugfix/refactor: add error handling to DNFPackageManager shell commands | Paul Buetow | |
| system() returns false/nil on failure but the original code ignored the return value, silently swallowing dnf errors. Add a private run_dnf! helper that checks the return value and raises DNFPackageManager::CommandFailed with the dnf exit code on failure. Replace the one-liner methods with full method bodies that delegate to run_dnf!. Also fix two latent constant-resolution bugs: - Use $? instead of $CHILD_STATUS (the latter requires `require 'English'` and is always nil without it) - Use ::File instead of File in Package#initialize to avoid resolving to RCM::File once file.rb is loaded Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> | |||
| 2026-03-01 | fix: replace shell-interpolation with system() in DNFPackageManager | Paul Buetow | |
| Backtick calls interpolated the package name directly into a shell command string, allowing metacharacters (;, $(), backticks) to execute arbitrary commands. Using system() with separate arguments bypasses the shell entirely, so the package name is passed as a literal argv element to dnf. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> | |||
| 2025-02-18 | test for dup resource | Paul Buetow | |
| 2025-02-18 | only backup file when it changed | Paul Buetow | |
| 2025-02-18 | add package initially | Paul Buetow | |
