feat: dnf4 module#397
Merged
Merged
Conversation
Contributor
Author
|
There is an error in the nushell code I cannot resolve (I have 0 experience in nushell), so this module can't be used to add repositories rn. |
Contributor
Author
|
As for how this is going to get implemented, if at all, we can keep this as an entirely separate module, or merge the changes into the dnf5 module, and add a detector for dnf4 to change the syntax accordingly. |
Contributor
Author
|
@fiftydinar @xynydev Ready for review! |
Merged
gmpinder
approved these changes
Apr 6, 2025
Member
gmpinder
left a comment
There was a problem hiding this comment.
Thanks for this! We'll use the work you did creating an interface for dnf4 and build the full dnf module with support for both.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This dnf4 module will allow people to work with images with slower, more stable release cycles. An example is CentOS Stream. Based on @fiftydinar's dnf5 module, this dnf4 module contains changes to syntax of dnf found in
dnf.nuin order to work with dnf4. There are also two bash scripts that turn the outputs of two dnf4 commands into parseable json, as dnf4 does not have the--jsonflag.