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

Re: Subversion Tag

From: David Weintraub <qazwart_at_gmail.com>
Date: 2005-07-28 19:34:33 CEST

Enclosed is a hook I wrote that handles this issue. I wrote this hook
for several reasons:

* I didn't want to use the Config::IniFiles package since it is not a
standard Perl package. Not all distributions of Perl come with this
package. (Yes, you can download it, but I didn't want that to be a
requirement).
* I wanted to be able to prevent users from checking out and modifying
files in the tags directory.
* I wanted to be able to define groups for security purposes.
* I wanted to enforce file property policies.
* I wanted an automatic way of specifying private directories for
users for tags, branches, and even on the trunk. For example, Bob will
be able to create his own tags under /tags/bob, and Tom can put his
tags under /tags/tom.
* The hook can also "ban" certain file names. For example, you might
want to avoid files with names like "aux.*", "prn.*", and "con.*"
because these are not allowed under Windows. You might also ban files
with spaces in their name, or that have such things as "@" or "&" or
other problem causing characters.

The hook works via a "control-file" that you configure. The
"control-file" contains a lot of examples on the various syntax items
that are used in the "control-file".

If anyone has any suggestions for this hook, please let me know.

On 7/28/05, Annick Collet <Annick.Collet@eumetsat.int> wrote:
> Dear all,
>
> I'm new in subversion so may I submit you the following.
>
> I have my repository structured as /trunk , / branches , and /tags.
> I use the /tags folder to create "release" as milestone of
> development.
> How can I make that /tags/rel_number read only to avoid people
> messing it and ensure my release
>

--
David Weintraub
qazwart@gmail.com


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

Received on Thu Jul 28 19:39:25 2005

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.