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

Consider replacing TDNF with DNF5 in deliverables (containers, etc.) #12255

Open
Conan-Kudo opened this issue Feb 7, 2025 · 2 comments
Open
Labels
feature-request Request for a feature or enhancement

Comments

@Conan-Kudo
Copy link

Is your feature request related to a problem? Please describe.
We're adding support for Azure Linux to Mock's default distribution targets, and it turns out we cannot leverage Azure Linux containers because they use TDNF instead of either DNF4 or DNF5.

Describe the solution you'd like
I'd like to see Azure Linux replace its usage of TDNF with DNF5, as the latter is more feature rich, supported by the broader ecosystem better, and should not have a significant impact on image sizes.

Describe alternatives you've considered
We currently aren't using the containers at all, and so Mock needs to manually bootstrap the distribution environment every time, which is much slower.

Additional context
rpm-software-management/mock#1536

@Conan-Kudo Conan-Kudo added the feature-request Request for a feature or enhancement label Feb 7, 2025
@reubeno
Copy link
Member

reubeno commented Mar 11, 2025

(Aside: Firstly, thanks for integrating the support for Azure Linux in Mock! I use Mock daily and had been iterating on an Azure Linux 3.0 config (ref: #11031, #11125) that strongly matches our preexisting manifests but had to shift to other work before getting them merged into this repo. I'd love to be able to get back to this and chat with y'all about potential for aligning it with the config in upstream mock-core-configs.)

Thanks for your suggestion regarding tdnf, @Conan-Kudo. We're also keenly interested in dnf5 although weren't ready to adopt it as default when we needed to finalize breaking changes for Azure Linux 3.0. In the months since then, we've been encouraged seeing Fedora 41 flip the switch to using it.

Regarding a container image, my understanding was that the main requirement is a stable, published container image that contains a ready-to-run package manager (dnf5 in this case) and builddep support. Did I get that right? Are there other requirements? I've read this doc on "container image for bootstrap" previously but I'm sure I could have missed something.

@Conan-Kudo
Copy link
Author

Yes, that's pretty much correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for a feature or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants