[Dextrose] PATCH: export http_proxy from .gconf

Bernie Innocenti bernie at sugarlabs.org
Wed May 11 12:56:21 EDT 2011


On Mon, 2011-05-09 at 14:20 +1000, Sridhar Dhanapalan wrote:
> On 19 April 2011 02:38, Bernie Innocenti <bernie at sugarlabs.org> wrote:
> > This is from jvonau:
> >
> > https://dev.laptop.org.au/projects/xo-au/repository/revisions/master/entry/olpc-os-builder/session.diff
> >
> > It would make a good addition to both DX2 and DX3. Please, apply.
> 
> Cool that you're using our patches :D

You know the saying, "Good artists borrow, great artists steal" :-)


> Honestly, I consider this to be a hack (albeit, an extraordinarily
> useful one). What we have done is make the proxy as set in gconf also
> available as the http_proxy environment variable, so that Sugar can
> use it.
> 
> I think that longer term, it would make more sense for Sugar to use
> gconf directly for its proxy settings.

I agree, but some activities using non-gnome libraries such as libcurl
will continue to rely on the legacy environment variables.

-- 
Bernie Innocenti
Sugar Labs Infrastructure Team
http://wiki.sugarlabs.org/go/Infrastructure_Team




More information about the Dextrose mailing list