You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add dnf_resolve_php_stream() to detect real stream name from dnf module
list php (handles both Remi remi-X.Y and RHEL AppStream X.Y naming)
- Add dnf_stream_enabled() to skip destructive reset/enable when the
correct stream is already active
- Add dnf_major_version() to emit correct config-manager syntax for DNF4
vs DNF5 (--set-enabled removed in DNF5/Fedora 41+)
- Fix install_php_dnf() and use_php_version() to use resolved stream name
instead of hardcoded php:X.Y (which does not exist on Remi/Fedora)
- Fix pkg_search_php() to detect un-enabled remi-X.Y streams as available
- Fix suggest_repository_setup() Fedora instructions: replace non-existent
remi-php82 repo with dnf module enable php:remi-X.Y, use version-aware
config-manager syntax
- Add tests/05_dnf.bats with 8 unit tests using PATH-based dnf stubs for
Remi (DNF5), enabled-stream, and AppStream (DNF4) fixtures
- Bump version to 1.12.2
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
-**DNF5 / Fedora 41+ module stream naming (issue #20):**`phpvm install` and `phpvm use` now resolve the actual php module stream name from `dnf module list php` instead of hardcoding `php:X.Y`. Remi streams (`remi-8.2`, `remi-8.3`, β¦) and RHEL AppStream streams (`8.2`) are both detected automatically.
10
+
-**Destructive unconditional `dnf module reset` (issue #20):** The reset is now skipped when the correct stream is already enabled, preventing phpvm from clobbering a stream the user configured manually.
11
+
-**Invalid DNF5 recovery instructions (issue #20):**`suggest_repository_setup` now emits `dnf config-manager setopt <repo>.enabled=1` on DNF5 (Fedora 41+) instead of the removed `--set-enabled` flag. Fedora instructions no longer reference the non-existent `remi-php82` repo; instead they direct users to enable the module stream (`dnf module enable php:remi-X.Y -y`).
12
+
-**False "not found" for un-enabled Remi streams (issue #20):**`pkg_search_php` now uses stream resolution to detect `remi-X.Y` streams even before they are enabled, so phpvm correctly reports a version as installable rather than emitting the misleading "other PHP versions are available" message.
0 commit comments