> From: timelzayus <timelzayus@gmail.com>
> To: statsvn-users@lists.sourceforge.net
> Date: Tue, 5 Aug 2008 03:52:09 -0700 (PDT)
> Subject: [Statsvn-users] Users config file
>
> Hi everybody.
>
> Problem N°1 :
> I'd like to configure the users informations with the -config-file option.
>
> The problem is that the logins are ending by @EPITECH.NET.
> For example, my login on the SVN is : brys_s@EPITECH.NET
>
> Here is the content of my users.txt file :
> user.brys_s@EPITECH.NET.realName=Salomon Brys
> user.brys_s@EPITECH.NET.url=[...]
> user.brys_s@EPITECH.NET.image=[...]
> user.brys_s@EPITECH.NET.email=[...]@gmail.com
>
> It doesn't work. I guess because of the dot in @EPITECH.NET...
> Is there a way to solve this problem ?
>
>
> Problem N°2 :
> One of the user has change his login. Is there a way to make statsvn
> understand that the 2 users are the same ?
>
>
> Thank you for the time you'll take to awnser me.
> Salomon BRYS.
Hi Salomon,
I can't help you with Problem 2 (I don't see an easy way to do that...
maybe do a script that does a find-and-replace on the svn xml
logfile?).
Problem 1 should be easy, I think it's a case problem. StatSVN does a
lookup using a Java Properties object, like this:
properties.getProperty("user." + lowerCaseName + ".realName")
If you change your config file to say 'epitech.net', I think you'll be
fine. Now, if you had an '=' in your username that would be another
problem, but there are ways to escape that. I'll make a note to
remember to add the lowercase note to the statsvn documentation wiki,
or if this change works for you, you're welcome to edit the user
manual yourself. Let us know how things go!
Jean-Philippe Daigle
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
Statsvn-users mailing list
Statsvn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/statsvn-users