On Wednesday 27 October 2010 04:59:56 Yang, Yi Y wrote:
Thanks a lot, with TRUST_KEY_TEMPORARILY, it can build repo cache, but it can't give out any progress, how to set a callback for showing progress on building repo cache?
I don't know whether this works with the bindings.
Another issue is proxy, my network needs to set http proxy, how do I use libzypp bindings' python API to set proxy for every repo (some repos don't need proxy but others need)
With libzypp-8.2.1 you can have "proxy=" ( "_none_" | host[":"port] ) in your .repo file. This currently does not work with mirrorlist, but a fix for this is on the way. Also missing: a RepoInfo.setProxy method, in case you're using temporary repos (without .repo file). -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres ZYPP Development ma@suse.de SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org