On Sat, 2 Aug 2003, David Walser wrote: > Ok, we're both wrong. It's not curl or rpmdrake's job > to check for this, it's urpmi's. > > Imagine this scenario, you've got a proxy configured, > which is also the location of one of your urpmi > sources, but you have sources from other servers too. > You run a urpmi command to install some packages, some > which will come from each place. If you don't do > http_proxy="" first, the ones from that server won't > work, but if you do, the ones from the other servers > won't use the proxy. > > So if urpmi is installing something from the same host > as the proxy, it shouldn't use the proxy for that package.
Or, maybe urpmi should have a per-source flag on whether to use a proxy or not (we assume the proxy is the same for all sources using a proxy). Why? Well, it's not only the proxy host that you may not want to contact via the proxy, it may include hosts on the same side of the proxy as you. In the end, the problem is that there is no global equivalent of a proxy exclude list (although I see no reason why there shouldn't be). Of course, there are a few other things that would be nice to have per-source configuration for (my vote would be per-source gpg signatures), and it would be nice if they were all accessible from the source^H^H^H^H^H^Hmedia configuration tool. Regards, Buchan -- |----------------Registered Linux User #182071-----------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 ****************************************************************** Please click on http://www.cae.co.za/disclaimer.htm to read our e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy. ******************************************************************
