On Friday, May 22, 2015 01:26:16 PM Miroslav Suchy wrote:
Dne 21.5.2015 v 21:02 Dennis Gilmore napsal(a):
> It will not be good enough, when the builders go to fedora 22 we
> will have to use yum-deprecated and not yum. this is all seriously
> a huge mess that needs to not be rushed. it needs to not be a
> True/False type setup it needs to be if there is a install command
> for the tag, that can be inherited use that, if not use yum.
This is already handled by Mock. On F22 when Mock should use yum it
use yum-deprecated.
https://bugzilla.redhat.com/show_bug.cgi?id=1211978
That is not a workable solution. we have to overwrite the site-defaults.cfg
and have it work across rhel and fedora builders in fedora. the solution
really needs to be a combination of things. I think the koji code needs to
assume that there could be multiple possible backends, so we can set yum, yum-
deprecated, dnf. but additionally mock needs to really know that if the host
is f22 or newer or rhel8(big assumption here) or newer and you say yum is the
backend you mean yum-deprecated. I am assuming yum-deprectaed will be in one
of RHEL or EPEL.
> we also need to ensure that it will work with mock in rhel5
that
> does not support setting the backend command.
We have some builder, which use rhel5? Mock are not released for RHEL5
for some time.
And if you put into config some option, which mock does not recognize,
then it will be simply ignored. It will be just unused variable.
So unless you want to build F23 packages on RHEL5 host, then this will
work.
yes, so long as mock does not choke on unkown config options we should be
okay.
Dennis