[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Locking Tags

From: Mark D. Baushke
Subject: Re: Locking Tags
Date: Wed, 23 Jun 2004 00:13:58 -0700

Hash: SHA1

Sandhya <address@hidden> writes:

> I received good mails about locking files and I
> was able to understand that its quite impossible
> in CVS.

Well, advisory locks are possible, but generally
considered undesirable.

> Now What I want to know is about locking a tag.

Hmmm... Read this one here:

> When I create a tag, is there any way by which I
> lock the tag so that no one else is able to
> update it. I mean no one should be able to add
> files on to the label other than me.

It will depend on how you write the taginfo
trigger script.

> I was trying to write scripts to acheive this.

Good plan.

> We can track the user name and other details of
> the person who is tagging and then write it to a
> file and put a flag against that saying its
> locked.


> Whenever users (other than the person who has
> tagged) try to add a file on to this tag, it
> should throw out some message saying its not
> possible.

It is your script, you can write it as you wish.

> How does this sound ??? Am I missing anything
> ??? Any suggesstions on how this could be done
> better !!

Nothing better comes to mind. There is a hole in
that a 'cvs import' might replace or add to the
files on your tag... that might be considered a

        -- Mark
Version: GnuPG v1.2.3 (FreeBSD)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]