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

Re: syntax of author attribute

From: Toby Johnson <toby_at_etjohnson.us>
Date: 2007-04-05 20:01:47 CEST

Will Norris wrote:
> I am curious to know if there are any limitations on the syntax of the
> author attribute. In most setups, it seems the author attribute is
> populated with the username of the committer, in my case something
> like "wnorris". However, we are investigating the use of alternative
> values to put here. Specifically, we are looking at using
> mod_authnz_ldap's AuthLDAPRemoteUserAttribute to allow users to
> continue authenticating with their regular username, but then passing
> something else on to subversion, perhaps something along the lines of
> "Will Norris (wnorris)". Is there any technical reason subversion
> would not be able to handle this? Is subversion simply using the
> creator-displayname in the deltav spec[0] for this? If so, it appears
> that is simply defined as a string and so we should be fine. Initial
> tests seem to work okay, but I wanted to try and get some confirmation
> on that.

We do almost exactly the same thing here and it has never caused
problems. I have a script that runs every 5 minutes, looks for new
commits, then changes the author from something like "loginid" to "Toby
Johnson (loginid)". (A hook script to change the svn:author revprop in
the pre-commit handler would be better for this but that was not
possible for us due to political reasons).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 5 20:02:31 2007

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

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