[Yum-devel] [PATCH] package basepath in yum

Dennis Gregorovic dgregor at redhat.com
Wed Feb 1 17:37:59 UTC 2006


The yum metadata supports an xml:base attribute of the location tag for
packages, which is saved as 'basepath' in the yum po after parsing.
However, as far as I can tell, basepath isn't used by yum.  

The attached patch causes yum to use the basepath when resolving the url
of the package.  More precisely, if basepath is set then the url used is
basepath + '/' + relativepath.  This makes the most sense to me. 

Thoughts?

-- Dennis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: basepath.patch
Type: text/x-patch
Size: 1945 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20060201/12da24db/attachment.bin 


More information about the Yum-devel mailing list