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

Re: Older versions through http-repository browsing

From: Michael Sinz <michael.sinz_at_gmail.com>
Date: 2005-03-04 19:25:52 CET

On Fri, 04 Mar 2005 12:49:50 -0500, John Peacock <jpeacock@rowman.com> wrote:
> Matthias Wächter wrote:
[...]
> Now, for the good news, although Subversion doesn't impose any specific
> meaning to the tags/ folder for your project, that doesn't mean _you_
> can't. Through the use of the pre-commit hook, you can make the /tags
> directory for a project be write-once (you can create a new tag, but you
> cannot rename a tag, nor change any files within that tag).

That is what we do in all of our repositories (along with some other rules
such as a releases tag folder that production can only make new "tags"
in)

> I'm actually suprised that there isn't an example to do something this
> included with the source. I'm sure someone else has written something,
> but if no one speaks up, I'll do it myself, and it'll be in Perl, just
> to annoy the Python zealots... ;-)

(ok, here is a Perl version...)

I would submit the version I have here. It enforces a few rules, including
not changing anything at the root of the repository and only new entries
in /tags and /releases (access control is handled elsewhere)

If I have not yet checked this into the Insurrection project, it will
be there soon,
but I am including it here for reference:

-- 
Michael Sinz               Technology and Engineering Director/Consultant
"Starting Startups"                          mailto:Michael.Sinz@sinz.org
My place on the web                      http://www.sinz.org/Michael.Sinz


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sun Mar 6 04:55:44 2005

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.