On Fri, 2013-09-13 at 05:02 -0400, Zdenek Pavlas wrote:

> While slower than local disk, typical NFS is still way faster than
> drpm rebuild speed.

 Ok.

> >  Maybe have the logic be "if the user hasn't configured
> > deltarpm_percentage
> 
> Yes, per-repo option should be used first. Is there a better check 
> than the obvious "ayum.conf.option != repo.option" to tell it was
> overriden?

 The only way I can remember off hand is to set the "default" to
something that the user can't set (there is no validation on the
defaults), and then trigger off that when you use it to do a dynamic
default.
 The "big" problem there is if something decides to save that back to
disk, yum will spit out config. parsing errors.
 The way to workaround that has been to make the weird thing a valid
input as well, Eg. <forever> in retries.

 But doing the test you mentioned is probably good enough.

_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to