You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "cz01@sixxac.com" <cz...@sixxac.com> on 2008/09/01 09:23:45 UTC

author alias

Is it possible to use an alias for the author in a Subversion repository? 
There is already support for aliases in the rules authorization file - we would 
like to see this alias in the history instead of the account name.

The reason is that our security policy says that account names should look 
something like A####### (e.g j4094843, j9482283, j9582284...) which makes them 
unreadable when looking at the history. It is also possible for them to 
change.

(we are using svn with apache on windows over https with ntlm)

thanks, 
chris




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: author alias

Posted by John Peacock <jo...@havurah-software.org>.
cz01@sixxac.com wrote:
> Is it possible to use an alias for the author in a Subversion repository? 
> There is already support for aliases in the rules authorization file - we would 
> like to see this alias in the history instead of the account name.

There is nothing that *requires* the author name to be the same thing as the 
account name, it just easier that way.  Arrange to have the author name in an 
environment variable and create an alias (or wrapper script) which does the 
moral equivalent of

	alias svn='svn --username=$AUTHOR'

and it will just work fine.  Set up your authorization based on author names not 
usernames and you are golden.

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org