Re: Locking Tags

2004-06-23 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sandhya [EMAIL PROTECTED] 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:

https://www.cvshome.org/docs/manual/cvs-1.11.16/cvs_18.html#SEC177

 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.

Sure.

 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
bug.

-- Mark
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFA2S223x41pRYZE/gRAoHGAJ9Jm6e7PgzIlLks0l5wPy8YjpRN9ACgwjhY
sTWupbVMeMtTJPBzIB4Leo0=
=xE7c
-END PGP SIGNATURE-


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Locking Tags

2004-06-22 Thread Sandhya
Hi all,

I received good mails about locking files and I was able to understand that its quite 
impossible in 
CVS.
Now What I want to know is about locking a tag. 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.
I was trying to write scripts to acheive this. 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.
How does this sound ??? Am I missing anything ??? Any suggesstions on how this could 
be done 
better !! 


Thanx in Advance
Sandhya.S


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Locking tags

2002-09-05 Thread srijit lahiri

Hi,

How could I lock / freeze a partular tag-name
(branch-tag or label-tag) to prevent any distortion to
a baseline created in Cvs ?

Regards
Srijit. 

__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs