[Yum-devel] plugin to order downloads wrt size
Seth Vidal
skvidal at fedoraproject.org
Tue Jun 23 13:54:51 UTC 2009
On Tue, 23 Jun 2009, Rakesh Pandit wrote:
> 2009/6/22 Seth Vidal wrote:
>>
> [..]
>>
>> 2. implementing your own downloadpkgs and overriding it is completely
>> doomed.
>>
>>
>
> I just have one request ... may you either mave mediasort (nested
> function) out of function, so that it is accessible at predownload
> hook or change to sort call prior to hook point .. so that I can get
> out of my evil implementation ? Is it acceptable ? I would like a
> straight yes or no ?
>
> If yes I can provide a patch.
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,
-sv
More information about the Yum-devel
mailing list