[Yum-devel] plugin to order downloads wrt size

Seth Vidal skvidal at fedoraproject.org
Thu Jun 25 13:40:29 UTC 2009



On Thu, 25 Jun 2009, Rakesh Pandit wrote:

> 2009/6/23 Seth Vidal wrote:
>>
> [..]
>>
>> I don't want a separate hook just for sorting the pkgs but it might be
>> reasonable to provide a way for a plugin/caller to provide their own
>> mediasort function. Let me look at it a bit - but if you want to work on a
>> patch with that perspective in mind I'd be more likely to accept that.
>>
>
> Thanks you -- I will try to write one.
>
> One more query, before I go on writing this one. I don't want to open
> repo files to *permanently* enable or disable a repo manually, rather
> would like a yum option to do it e.g
>
> yum repodisable <id> &
> yum repoenable <id>
>
> Is this okay ? or not acceptable ?

no.

Yum needs more command line options like I need additional holes in my 
head.

If you want something like that - write a plugin to do it - but yum 
doesn't need to grow that option in core.

-sv



More information about the Yum-devel mailing list