[Yum-devel] enable yum to pass http data to repository

Bryan Mills bryan at mills1.net
Wed Nov 9 23:13:05 UTC 2005


This is a patch to enable yum to pass http data to the yum repository.  
Thanks to the recent changes in urlgrabber this is easy.

My need was to enable secure access to a local yum repository.

Example repository configuration:
[testrepo]
name=Test Repository
baseurl=http://foo/bar
enabled=1
gpgcheck=1
http_data=login=bryan&passwd=<secret>

A similar thing should be done to enable http authentication but that 
involves a bit more work.

-bryan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add_http_post_to_yum.patch
Type: text/x-patch
Size: 3006 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20051109/67948cbb/attachment.bin 


More information about the Yum-devel mailing list