On 21. 01. 22 17:21, Ron Olson wrote:
Hey all-

I have a package that gets an artifact from a repo /and/ expects to have code from a different branch in the same repo. In my spec file, I can easily get the artifact via Sources, but getting the code from the separate branch required me to execute a “git clone” then checkout the branch. This works fine until I tried doing a mock build where I ran into the issue that networking like this is apparently unavailable. I saw that I can enabled it with a command line switch, but I presume that’s not possible with koji.

Is there any proper way to checkout code with git from within koji?

No. You need to add it as an extra Source. Koji builds are always offline.

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.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.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to