On 11. 02. 21 16:35, Miro Hrončok wrote:
I've been surprised by a behavior of External Repositories.

I've done two builds of python-six in this copr:

https://copr.fedorainfracloud.org/coprs/churchyard/tmp/

First with:

External Repositories:
   copr://@python/python3.10
   http://kojipkgs.fedoraproject.org/repos/rawhide/latest/$basearch/

And the second with:

External Repositories:
   http://kojipkgs.fedoraproject.org/repos/rawhide/latest/$basearch/
   copr://@python/python3.10


The results suprised me
...
Does the order of external repos defines their priority/cost?
Is that a feature or a bug?

I guess this has to do with either mock or dnf directly:

$ mock -r fedora-rawhide-x86_64 -a 'https://copr-be.cloud.fedoraproject.org/results/@python/python3.10/fedora-rawhide-$basearch/' -a 'http://kojipkgs.fedoraproject.org/repos/rawhide/latest/$basearch/' install python3-setuptools

$ mock -r fedora-rawhide-x86_64 -a 'http://kojipkgs.fedoraproject.org/repos/rawhide/latest/$basearch/' -a 'https://copr-be.cloud.fedoraproject.org/results/@python/python3.10/fedora-rawhide-$basearch/' install python3-setuptools

They install python3-setuptools from the first -a REPO.

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
copr-devel mailing list -- copr-devel@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/copr-devel@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to