Re: Setting "tags" to read only ?

2010-09-29 Thread Les Mikesell
On 9/29/2010 9:20 AM, Phil Pinkerton wrote: How can we set a tag as read only at creation time ? We have a tags subdirectory and we keep tags created from trunk there, we want to set these tags to ready-only so they cannot be modified. You probably want a pre-commit hook that blocks commits t

RE: Setting "tags" to read only ?

2010-09-29 Thread Bailey, Darragh
> -Original Message- > From: Phil Pinkerton [mailto:pcpinker...@gmail.com] > Sent: 29 September 2010 15:20 > To: users@subversion.apache.org > Subject: Setting "tags" to read only ? > > How can we set a tag as read only at creation time ? > > We have a tags subdirectory and we keep tags

Re: Setting "tags" to read only ?

2010-09-29 Thread Alexander Skwar
Hi. 2010/9/29 Phil Pinkerton : > Is it possible to set these tags to read-only once ther are copied from the > trunk to the tags directory ? How about using access control http://svnbook.red-bean.com/en/1.5/svn.serverconfig.pathbasedauthz.html so that only a certain user or group has rw access t

RE: Setting "tags" to read only ?

2010-09-29 Thread Thomas Loy
29, 2010 11:11 AM To: Phil Pinkerton Cc: users@subversion.apache.org Subject: Re: Setting "tags" to read only ? Hi. 2010/9/29 Phil Pinkerton : > Is it possible to set these tags to read-only once ther are copied from the > trunk to the tags directory ? How about using acc

Re: Setting "tags" to read only ?

2010-10-04 Thread David Weintraub
On Wed, Sep 29, 2010 at 10:20 AM, Phil Pinkerton wrote: > Is it possible to set these tags to read-only once ther are copied from the > trunk to the tags directory ? One of the first things I did when I used Subversion was to tackle this very issue. Most version control systems allow users to cre

Re: Setting "tags" to read only ?

2010-10-04 Thread Tech Geek
>$SVNLOOK changed -t $2 $1 | grep "/tags/" && /bin/echo "Cannot commit to tags" 1>&2 && exit 1 I had a question regarding the above command. How do we know what value is going to be passed in $2 i.e. the name of the transaction so that we can test/debug our script. Can we somehow simulate the above

Re: Setting "tags" to read only ?

2010-10-04 Thread David Weintraub
On Mon, Oct 4, 2010 at 10:04 PM, Tech Geek wrote: >>$SVNLOOK changed -t $2 $1 | grep "/tags/" && /bin/echo "Cannot commit to >> tags" 1>&2 && exit 1 > I had a question regarding the above command. How do we know what value is > going to be passed in $2 i.e. the name of the transaction so that we c