You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Robert P. J. Day" <rp...@crashcourse.ca> on 2009/06/13 19:17:42 UTC

what's the current situation with immutable tags?

last i recall, one solution was a python-based pre-commit hook,
another was perms-based.  what's the cleanest and easiest way these
days?

rday

p.s.  i briefly saw a solution that involved setting up perms as to
*who* was allowed to modify tags, but that disturbs me since i don't
think *anyone* should be allowed.  but maybe i'm misunderstanding what
i was reading.

--



========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Linked In:                             http://www.linkedin.com/in/rpjday
Twitter:                                       http://twitter.com/rpjday
========================================================================

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: what's the current situation with immutable tags?

Posted by David Weintraub <qa...@gmail.com>.
On Sat, Jun 13, 2009 at 3:17 PM, Robert P. J. Day <rp...@crashcourse.ca>wrote:

> last i recall, one solution was a python-based pre-commit hook,
> another was perms-based.  what's the cleanest and easiest way these
> days?


The standard Python pre-commit hook (I believe) has the ability to set an
"add-only" permission on a directory tree. With that, you can create a tag,
but you'd be unable to modify the files in that tag.

That would be the best solution. It would allow anyone you'd like to create
a tag, but no one could modify a tag once it was created (unless you gave
someone permission to do so).

I have a Perl pre-commit hook that does the same thing: You can give
"add-only" permission which allows you to specify who may create a tag, but
will prohibit the editing of the files under that tag once the tags are
created.

-- 
David Weintraub
qazwart@gmail.com

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: what's the current situation with immutable tags?

Posted by Stefan Sperling <st...@elego.de>.
On Sat, Jun 13, 2009 at 03:17:42PM -0400, Robert P. J. Day wrote:
> last i recall, one solution was a python-based pre-commit hook,
> another was perms-based.  what's the cleanest and easiest way these
> days?

Nothing has changed, those are still the only methods people can use.

> p.s.  i briefly saw a solution that involved setting up perms as to
> *who* was allowed to modify tags, but that disturbs me since i don't
> think *anyone* should be allowed.  but maybe i'm misunderstanding what
> i was reading.

It's just a matter of preference. In some situations people want that. 
E.g. large development team with separate groups, one group doing releases
and tagging, and they need to be able to clean up any mistakes they
make.

Stefan