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

Ansible Copr module should support the /api_3/rpmrepo #3182

Open
praiskup opened this issue Mar 11, 2024 · 1 comment
Open

Ansible Copr module should support the /api_3/rpmrepo #3182

praiskup opened this issue Mar 11, 2024 · 1 comment

Comments

@praiskup
Copy link
Member

The rpmrepo route is used by DNF5 for convenience fallbacks (like trying epel-8, then rhel-8, etc.).

I don't think we can use DNF5 in the ansible-playbook (python vs. c++), though we could have the logic implemented in python3-copr at least. We could use it in Ansible module, but there are other projects that seem to be re-implementing the repo logic:

https://github.com/trytomakeyouprivate/COPR-command/blob/main/copr

@praiskup
Copy link
Member Author

I suppose that having the logic implemented in python3-copr (or some even more minimalistic library), we could re-use the logic even in python3-dnf-plugins-core (DNF4). Note e.g. the decisions that need to be done using the old implementation: rpm-software-management/dnf-plugins-core#525

@praiskup praiskup moved this from Needs triage to In 2 years in CPT Kanban Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In 2 years
Development

No branches or pull requests

1 participant