[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

supporting http proxy via a config file

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-03-12 04:00:11 CET

As you may have noticed, Milestone 11 will include support for http
proxies <waits for the cheering to die down>.

A prerequisite is a client run-time configuration file (although we
can allow proxy setting via an environment var, that shouldn't be the
only way to do it). So I'm planning this:

   ~/.subversion/config

where "~/" just means whatever apr_get_home_directory reports as the
user's home directory, and `config' is a text file in the format
described by svn_config.h (on Windows, one can use the registry too).
The reason for a dedicated subdirectory is so we can expand cleanly,
for example, to store auth certificates later.

I quite like the interface in svn_config.h (thank you, Brane!) and
don't plan to change it, although the comment about file locations
will of course be updated. The implementation will remain in
libsvn_subr/.

As per http://subversion.tigris.org/issues/show_bug.cgi?id=579, I'll
probably also make $EDITOR `config'urable while I'm there.

If comments, please post 'em now. :-)

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 12 03:50:05 2002

This is an archived mail posted to the Subversion Dev mailing list.