On Thu, 2002-12-05 at 11:51, Branko Èibej wrote:
> > which contains information about HTTP proxies.
> >There appears to be a dedicated svn_subr API for reading this file,
> >which seems to be a layering violation.
> >
> Huh? Where else should that code be?
svn_config_read could take a filename parameter. ("servers" or
"config", currently.)
> > I can:
> >
> > * Worm my way into this file, rendering it overloaded and no longer
> > specific to HTTP. Inside a proxy group (which we'd now call a
> > server group), host/port/username/password/timeout would specify
> > HTTP proxies, while tunnel-agent would specify svn tunnel agents.
> >
> We renamed proxies to servers for this very reason -- so that it
> non-HTTP-specific stuff can go in. So yes, I think this is the way to go.
Okay. But I feel like the information currently there isn't tagged very
well. There's nothing in "servers -> <groupname> -> host" to suggest
"the proxy host for HTTP connections", and similarly for
port/username/password/timeout.
For now, I will call my variable "svn_tunnel_agent" and leave what's
there alone. (I'd call it "svn-tunnel-agent", but an underscore-happy
person seems to have already set the standard for those files.)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 5 18:40:08 2002