Skip to content

feat: dnf4 module#397

Merged
gmpinder merged 26 commits into
blue-build:dnf-modulefrom
certifiedfoolio:main
Apr 6, 2025
Merged

feat: dnf4 module#397
gmpinder merged 26 commits into
blue-build:dnf-modulefrom
certifiedfoolio:main

Conversation

@certifiedfoolio
Copy link
Copy Markdown
Contributor

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
Copy Markdown
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.

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

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

@fiftydinar @xynydev Ready for review!

@gmpinder gmpinder mentioned this pull request Mar 30, 2025
@certifiedfoolio certifiedfoolio changed the base branch from main to dnf-module April 6, 2025 16:58
Copy link
Copy Markdown
Member

@gmpinder gmpinder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@gmpinder gmpinder merged commit d8bd649 into blue-build:dnf-module Apr 6, 2025
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.

2 participants