Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: dnf4 module #397

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open

Conversation

certifiedfoolio
Copy link

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.nu in 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 --json flag.

@certifiedfoolio
Copy link
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.

@certifiedfoolio
Copy link
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.

@certifiedfoolio certifiedfoolio changed the title feat: dnf4 module feat: dnf4 module Mar 16, 2025
@certifiedfoolio
Copy link
Author

@fiftydinar @xynydev Ready for review!

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