| 
CM Crossroads
Welcome, Guest
Please Login or Register.    Lost Password?
Re: Locking Lables in PVCS Version Manager (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re: Locking Lables in PVCS Version Manager
#84077
sasikanth (User)
Posts: 132
graphgraph
User Offline Click here to see the profile of this user
Locking Lables in PVCS Version Manager 1 Year, 4 Months ago Karma: 0  
I understand that a lable is applied by build manager on different versions of files to mark a baseline. I would like to prevent developers moving this label to the different version of the same file. Would like to know the different ways to manage this in PVCS Version Manager.

Also would like to check for the comment field for specific key words at the time of check in and allow the check in only if the words match my criteria. I understand this can be done using triggers and would like to know more details.

Appreciate any info on the above 2 queries.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#84078
jsfetzik (User)
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re: Locking Lables in PVCS Version Manager 1 Year, 4 Months ago Karma: 0  
Regarding the labels you will want to look at the Privileges under User/Project Security. In particular the Add, Modify and Delete Version Label privileges.

Regarding the trigger check out the Using Event Triggers chapter of the Administrators Guide. This has the info to set them up and gives a short example. I am not sure how to stop the check in process with a trigger however. I think you have your script return a non-zero exit code, but I'm not sure.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#84079
sasikanth (User)
Posts: 132
graphgraph
User Offline Click here to see the profile of this user
Re: Locking Lables in PVCS Version Manager 1 Year, 4 Months ago Karma: 0  
Thanks John for the pointer.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#84080
kvknaidu (User)
SCM
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
kvk135@yahoo.com kvk_naidu@hotmail.com kvknaidu@aol.com Birthdate: 1975-07-22
Re: Locking Lables in PVCS Version Manager 1 Year, 4 Months ago Karma: 0  
Hi Thr,

Stop checkin, if comment is not as required. Is possible, if you are using unix machine and using command line commands....

rgds,
KVK
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#84081
jain_ravi04 (User)
Posts: 73
graphgraph
User Offline Click here to see the profile of this user
Re: Locking Lables in PVCS Version Manager 11 Months, 1 Week ago Karma: 0  
Hi,

I have written a trigger for the same in wscript, if u need i can send it to u.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#92741
smittyplace (User)
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re: Locking Lables in PVCS Version Manager 3 Months ago Karma: 0  
Hello,

I'm returning to VM after 8 years and interested in locking labels and forcing labels to be applied on check-in. If you have a script, please send it to me. Thanks a bunch in advance.


-Smitty
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#93024
tuffsn (User)
SCM Consultant - Uk.
Posts: 164
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Bournemouth - UK Birthdate: 1966-12-27
Re: Locking Lables in PVCS Version Manager 2 Months, 2 Weeks ago Karma: 0  
This ensures a label is applied (a wscript file):

Set objShell = WScript.CreateObject("WScript.Shell"
if objShell.Environment("PROCESS".Item("EVENTVERSION"="" then
objShell.Popup "Version Label Must Be Specified!",0,"PVCS Version Manager",0
Wscript.quit(-1)
end if

To check the labels (e.g. making sure this has not been applied before on the repository) takes a lot more work.

Regards Neil.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
If you already have an account on CM Crossroads, Login Now. If you do not, register using the link below...

NOTE: Once you register you will need to activate your account by clicking the link sent to you by email.

Video News