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

Paul Nasrat pnasrat at redhat.com
Sat Nov 19 16:25:49 UTC 2005


On Sat, 2005-11-19 at 09:34 -0500, Bryan Mills wrote:

> [testrepo]
> name=Test Repository
> baseurl=http://foo/bar
> authentication=http_post
> username=bryan
> http_var_username=my_username_field_name
> http_var_password=my_password_field_name
> 
> HTTP authentication would be similar but you wouldn't need 
> http_var_username/password.
> 
> Then as a user you could either put the password in the config file or 
> yum could prompt you for it.  Of course this doesn't work for mirror 
> lists (just a single base url).

It also requires some interface abstraction for input to allow non
console yum library users to prompt.

Paul





More information about the Yum-devel mailing list