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

Re: Create-only access to tags subdirectory

From: Bryan Donlan <bdonlan_at_gmail.com>
Date: 2004-10-01 01:29:47 CEST

On Thu, 30 Sep 2004 23:01:11 +0100, Paul Moore <pf_moore@yahoo.co.uk> wrote:
> I'm OK with Subversion's approach of using cheap copies as tags (I
> am, honest I am, no really...) but one thing I do feel somewhat
> nervous over is that a "tag" is neither more nor less "frozen" than
> any other copy of the project. Mistakes, misunderstandings, or even
> lazy "it won't matter" shortcuts do happen, and the integrity of a
> tag can be lost.
>
> Ideally, I'd like to make the tags subdirectory of my repository
> "create only" - ie, copies can be added to the tags directory, and
> read, but once they have been created they cannot be updated.
>
> I can't see any obvious way of doing this, although I have to admit I
> haven't looked too closely at the security features (I don't know
> much about Apache security, of which this is a subset, so there's a
> lot to get to grips with :-() Can anyone give me any pointers? (Or
> tell me it's impossible so I don't waste time on it!)

You can use a pre-commit hook to reject commits which alter tags.

-- 
bd
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 1 01:30:06 2004

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.