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

Request: client-to-server environment variables (was: make the user agent string a define)

From: Toby Johnson <toby_at_etjohnson.us>
Date: 2005-01-10 22:39:33 CET

Max Bowsher wrote:

> I am the one who first mentioned the environment variable mechanism in
> this discussion. I agree it would be a good way to pass arbitrary
> information to hook scripts.

OK, can we concentrate on this then? I think everyone involved agrees
that implementing a very generic mechanism to make this possible is both
desirable and possible while not breaking older clients. If Steve/TSVN
wants to implement some other mechanism whereby users can send client
version or other info, that would be up to the TSVN project and the
Subversion client wouldn't need to do anything special with particular

IMO, this would also make hook scripts much easier for Windows admins.
Environment variables are much easier to deal with from a batch script
than having to use either the SVN libs or svnlook to examine author,
log, etc.

For security reasons (i.e. preventing users from being able to modify
$PATH), all environment variables passed in such a manner would need to
be prefixed in the ra layer with "SVN_" or something similar.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jan 10 22:40:48 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.