Menu

#60 Displaying author real names

open
nobody
5
2005-08-05
2005-08-05
James Ring
No

Hi all,

From
http://sourceforge.net/mailarchive/forum.php?thread_id=7878243&forum_id=11441

cvs2cl has a nice feature where you can specify the
location of a Unix-style passwd file so that users
names are translated to their real names.

Please see the above link for a patch and further
explanation.

Regards,
James

Discussion

  • Benoit Xhenseval

    Logged In: YES
    user_id=358115
    Originator: NO

    Following some discussion on the statsvn maillist, may I suggest to add a properties file to statcvs and, in its first use, to have the following attributes:
    user.<userId>.name=Real name
    user.<userId>.url=http:/// link to a home page for that user (only visible on a give users_<userId>.html page
    user.<userId>.imageUrl= link to an image for a give user
    user.<userId>.image=local image?

    Would you like me to have a go and submit a patch?
    Cheers

    Benoit

     
  • Benoit Xhenseval

    Logged In: YES
    user_id=358115
    Originator: NO

    This has now been checked in CVS.

    The default behaviour has not changed unless one gives a config file.

    the new option -config-file blabla.properties should be used and contain the following arguments for each user:

    user.userinlowercase.realName=Benoit Xhenseval
    user.userinlowercase.url=http://www.xhenseval.com/benoit
    user.userinlowercase.image=http://www.xhenseval.com/benoit/bx-avatar.jpg
    user.userinlowercase.email=

    Hope this is ok
    Benoit

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.