[Yum-devel] [PATCH] Lazy initialization of mirror lists
James Bowes
jbowes at redhat.com
Sun Apr 15 17:00:28 UTC 2007
Hi all:
The attached patch makes urls, grab, and grabfunc lazily initialized
properties on YumRepository. The benefit is that if your repos are using
mirrorlists, then you only have to fetch the mirrorlists from the server
if you are doing any operations that will need the network. Previously
yum would always grab the mirrorlists, in many cases resulting in
unneeded http connections.
Anyone see any cases where this will break stuff?
-James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mirrorlist-lazy-init.patch
Type: text/x-patch
Size: 4458 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20070415/2a3baf0f/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20070415/2a3baf0f/attachment.pgp
More information about the Yum-devel
mailing list