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

Re: svn commit: r8562 - trunk/subversion/svnadmin

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-02-06 14:58:53 CET

Juanma Barranquero <jmbarranquero@wke.es> writes:

> On Thu, 05 Feb 2004 23:23:03 +0000
> Julian Foad <julianfoad@btopenworld.com> wrote:
> > Does it matter if it is indistinguishable from a genuine user name "svnadmin"?
> Could matter, if the pre-revprop-change hook is set up by the admin to
> do something different for "svnadmin setlog" that "svn propset --revprop",
> discriminating by user name.
> Till now, SVN didn't need a special user. But now that it does, perhaps
> it'd be wise to document it, and recommend that SVN admins set up a
> svnadmin user and use it for administrative tasks.
> I know I'll do something like that, as in the repositories I'm going to
> administer, I'll be the only one with the ability to create tags, for
> example (I don't want any developer committing changes to a tag by
> accident); these tags will show up in the logs as made by user "svnadmin",
> which sort of fits in nicely (in my view :)
> If having a special svnadmin user is not palatable, then there's a bit
> on an ugly asymmetry in having it just for "svnadmin setlog", so perhaps
> a --username arg to svnadmin, as suggested initially by cmpilato, would
> be better.

This whole problem is just an odd one to solve. There are certainly
going to be instances where a Subversion repository administrator is
not himself a 'user' in that repository's project. So neither a UID
nor a "username" as passed on the cmdline are going to be sufficient.
Though, at least with the --username option, you give the
administrator the option of using some name that's been previously
agreed upon as "the username of the administrator."

I dunno what the right thing is. Maybe passing NULL for the author
wasn't so bad, and the revprop hooks should just look for an empty
author name and substitute in said previously agreed upon "username of
the administrator." Yeah, I think I like that better.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 6 14:59:35 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.