Hi, Am Montag, 8. September 2008 schrieb Jan Kupec:
Hi,
Current solution uses simple text files containing one URL per line, _containing_ also 'username:password@'. These URLs are then fed to the zypp::Url constructor which parses them into an object from which you can get the username and password, as well as compare with other URLs using different zypp::url::ViewOption, etc...
I would like to see an enhancement to this. It should be possible to write a pointer to a file into the url. With this we have the possibility to use the same credentials for more then one repo/service. Proposal: https://hostname.domain.top/path/?credentials=/etc/credentials.d/mycredentia... The credential file has the format: username=... password=... (of soemthing similar if curl supports credentials from file) The current inplementation can stay. So http://username:password@hostname.domain.to/path is an alternative. -- MFG Michael Calmer -------------------------------------------------------------------------- Michael Calmer SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg T: +49 (0) 911 74053 0 F: +49 (0) 911 74053575 - e-mail: Michael.Calmer@suse.com -------------------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)