Implement support for Pulp manual createrepo
Fix #3498
I just wanted to push a proof of concept. This still needs to fix some quirks and refactor the code. Worth mentioning:
- This approach of having two separate repositories and "copying packages from one to another" was recommended by Dennis
- Currently we use
fedora-rawhide-x86_64/devel/directories on backend, but Pulp has a problem with that because thedeveldirectory would encroach an existing repository. So that I usedfedora-rawhide-x86_64_devel/naming. I don't like it very much.
Pull Request validation
Failed
🔴 Failed or pending checks:
RPM package copr-frontend[failure]RPM package copr-backend[cancelled]RPM package python-copr-common[cancelled]
🔴 Review - Missing review from a member (2 required)
Success
🟢 Review - Reviewed by undefined
Have you considered to have two distributions, one for normal repo and one for the devel repo? https://pulpproject.org/pulpcore/docs/user/learn/lifecycle-promotion/
What about fedora-rawhide-x86_64-staged/ instead?
Sorry for the delay, I finally updated the PR. It now uses two distributions (aka the "Lifecyle Promotion Support") instead of two repositories, as you've all suggested to do.
PTAL
I'd prefer having a review session :-) on (post) today's meeting
Once again, this PR proves to be too complicated because I tested it once again while rebasing to main and found a bug.
We should bump: https://github.com/fedora-copr/copr/blob/235810c90dfe47f59bde96d1cce2bb1cf32aa338/frontend/coprs_frontend/coprs/views/backend_ns/backend_general.py#L28
:+1: for having the enum