Dne 06. 07. 23 v 12:32 Joe (Jun-Yan) Chen napsal(a):
> Dear Koji Development team,
>
> How is "dnf downgrade" achieved? Cuz their repo only has a single version of RPMS, how do they find other
> version of the RPMS?
>
> In koji, can dist-repo do like that? So that the repo I export can have various versions and can also realize
> "dnf downgrade".
> Or are there any other methods can "createrepo" all different versions of packages in one tag in kojifiles?
>
> Thank you very much for your attention and assistance. I look forward to your response.
Dist-git can hold only one version of RPM. And dist-git has nothing relevant what client see. They see dnf repository.
That is basicaly just directory.
Yum/dnf repository can hold as many version of the same name as you want. And when you run createrepo_c in that
directory, then all version are included in that repository metadata.
It is up to admin (of the dnf repository) how many old package they keep in the repository.
--
Miroslav Suchy, RHCA
Red Hat, Manager, Packit and CPT, #brno, #fedora-buildsys