Trigger in RTC SCM
Good morning ;-)
I do some investigation on something like ClearCase trigger in RTC SCM.
There are some source code operations I can set preconditions or follow up actions.
I would have to create the coressponding actions in the process, do the scripting work for the trigger itself and add the action to the operation.
In ClearCase I have several options in the trigger creation to choose, in which VOB the trigger should be active, on what kind of elements it fires, set the trigger explicit to files or sub-directory structures, distinguish between meta-data operations and element operations ...
In RTC SCM I can only trigger on a deliver.
So all the options I have in the cleartool mktrtype command has to be put into the precon/followup action scripts. Am I right?
Instead of setting a trigger on ms_word elements in ClearCase, I have to check each file for the .doc ending in RTC SCM.
Instead of attaching a trigger to a directory foo and inherit it to its files and directories in ClearCase, I have to check each file if it resides in the foo directory-structure in RTC SCM.
Am I right?
greetings georg.
I do some investigation on something like ClearCase trigger in RTC SCM.
There are some source code operations I can set preconditions or follow up actions.
I would have to create the coressponding actions in the process, do the scripting work for the trigger itself and add the action to the operation.
In ClearCase I have several options in the trigger creation to choose, in which VOB the trigger should be active, on what kind of elements it fires, set the trigger explicit to files or sub-directory structures, distinguish between meta-data operations and element operations ...
In RTC SCM I can only trigger on a deliver.
So all the options I have in the cleartool mktrtype command has to be put into the precon/followup action scripts. Am I right?
Instead of setting a trigger on ms_word elements in ClearCase, I have to check each file for the .doc ending in RTC SCM.
Instead of attaching a trigger to a directory foo and inherit it to its files and directories in ClearCase, I have to check each file if it resides in the foo directory-structure in RTC SCM.
Am I right?
greetings georg.
One answer
Hi Georg,
as far as I can tell, that is what you need to do. This post shows just one example. Important for you is what you can extend and which operations you can extend.
There are also some restrictions today.
as far as I can tell, that is what you need to do. This post shows just one example. Important for you is what you can extend and which operations you can extend.
There are also some restrictions today.
- There is currently no extension point/operation for "Checkin". This is requested.
- There is currently no "Checkout" or other pessimistic locking, except locking a file on a tream - which does not make it read only. This is also requested.
-
There is obviously no operation for "Checkout" either.
- As far as I can tell,you can not modify data in a server follow-up action in SCM (as opposed to work items for example)
- There are some requests to enhance the SCM capabilities with respect to file types.