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

Re: reposurgeon now writes Subversion repositories

From: Mark Phippard <markphip_at_gmail.com>
Date: Fri, 30 Nov 2012 16:20:58 -0500

On Fri, Nov 30, 2012 at 4:05 PM, Ben Reser <ben_at_reser.org> wrote:

> I'm not sure it's something we want to change for everyone. I suspect
> you're the first person that's ever raised any complaints about this.
> This is really a philosophical difference between a centralized
> version control system and DVCS.
>
> Depending on your repository access setup there are ways around this.
> If the server side knows the value you want to put in svn:author
> instead of the authenticated user name then it's pretty trivial to fix
> with a hook script.
>
> In my opinion the thing to do here is to allow auto revision
> properties (possibly on a per repo/server) basis. Then we could pass
> along some user configured extra value with each commit and server
> admins could decided to put a hook script in place that puts it in
> svn:author if they wanted.

I would also just say that most software forges that provide SVN
access use the http protocol and it is not difficult or uncommon to
set the author field to an email address when using the Apache server.
 It does not necessarily require a hook script to do this. When using
LDAP authentication, as an example, you can simply choose which LDAP
attribute will populate the REMOTE_USER variable which will in turn
populate svn:author

http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html#authldapremoteuserattribute

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2012-11-30 22:21:30 CET

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