I understand your quandry, but I can't agree with that approach unless it's strictly optional, off by default, and fairly configurable.

It would be nice if SVN could make it easier to forbid committing to tags (perhaps except for a certain group of admin users) on the repository side, maybe even as a default. However, this is a difficult problem—either on client or server—since repository structure varies greatly, and guessing whether or not commits should be allowed is unreliable. For example, some repositories contain multiple projects, and the root level does not always contain trunk/branches/tags as you'd expect. Even if you look down X levels, there is the problem of forbidding access to a directory named "tags" which has nothing to do with tagged revisions. In practice, this problem is just not that easy to solve...

As far as user education, I'm generally not one to use this as a cop- out for honest requests, but it generally works quite well. In your case, if the users are afraid of the Terminal, perhaps you could impress upon them an equal fear of committing to a tag after it has been written. Tell them it will screw up your process. Tell them the repository admin will come banging on their door. Tell them it can affect their bonuses, whatever. ;-) When you give people a strict rule and explain why, it generally works. If they don't understand why, and Versions won't let them commit to tags, they'll end up being confused and frustrated, and potentially more likely to explore other options (not just Terminal, but other GUIs) due to a perception that Versions "must be broken".

Sorry to be a naysayer, but I think that user education and persistence with the repo admins are the best courses of action.

 - Quinn

On Feb 17, 2009, at 8:51 AM, mguske wrote:

I agree, but sometimes you doesn't have the admin priviledges granted
and this feature could also save your day.
I requested this feature based on own experiences.

Finally, you're right, best solution is to prevent this via hook-
scripts.
But this "convention supporting" feature would also be great.

~ Markus


On Feb 17, 2009, at 3:11 AM, Marijn Huizendveld wrote:

Please don't, perhaps I need to change an externals definition in my
tags folder to point to some other svn repo tag, I need to have commit
access to that folder in that case.

Kind regards,

Marijn

On Feb 17, 2009, at 9:21 AM, mguske wrote:

Hi,

please forbid to commit into a ./tags-path if the repository layout
is
the basic with trunk/branches/tags.

I know, those directories are only a convention, but before it
accidentally happen.

Thanks,

~ Markus

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to