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

Re: Is it possible to have a trigger script replace user ID (eid) with name in error messages?

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Fri, 12 Jun 2009 02:14:27 -0500

On Jun 12, 2009, at 01:31, Ramachandran, Vishwanath(IE10) wrote:

> In pre-revprop-change, this hook is enabled
>
> **********************************************************************
> **
> **
> if [ "$PROPNAME" = "svn:log" -o "$PROPNAME" = "svn:author" ]; then
> exit
> 0; fi
>
> echo "Changing revision properties other than svn:log is
> prohibited" >&2
> exit 1
> **********************************************************************
> **
> **
>
> And I author name while editing log, but here author can be edited.
>
> See the attachment!!
>
> So What I want now is wherever EID comes, it should convert into Name
> and I guess we can try writing a wrapper stating if the EID is this ..
> User is XYZ and sends that as log message.

I still don't understand your existing setup, so I can't suggest how
to modify it.

Where is the mapping that says EID "e12345" is equivalent to the name
"Ramachandran, Vishwanath"? Is it a text file, a database, a
directory system? How do you access this information?

If you are known to Subversion as "e12345", how is it that
"Ramachandran, Vishwanath" appears in the log in the screenshot you
showed? How are you accomplishing this?

Do you have user-based authorization in Subversion -- certain parts
of the repository that can only be used by certain users? If so, how
are users identified in the authorization file -- by EID or by name?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2361523

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-12 09:16:00 CEST

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.