Re: git clone under mock/koji builders

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux