Open full view…

Auto-generated list of added/uncatalogued elements

Thu, 21 Feb 2019 12:24:50 GMT

Is there any way to disable the auto-generation of the list of added or uncatalogued elements when checking in a directory? The question came up after developers added a few hundred files to a directory and was plagued afterwards by how long the checkin comment. They have a script that tries to retrieve information about the directory and due to the comment length the script errored out.

Thu, 21 Feb 2019 13:13:07 GMT

The generation of the list of elements created in a directory is simply the default comment that goes with the checkin. To change this behavior, when a directory is checked in, the user just needs to provide a different checkin comment.

Thu, 21 Feb 2019 13:20:31 GMT

I mentioned that to the developers that one could simply provide a different (shorter) checkin comment but even the checkin process is scripted. There is such a big push to automate everything. Thus, the checkin is done by a script and not by a user. See my dilemma? Thus, they are pushing to see if the "default" can be changed to nothing in the comment.

Fri, 22 Feb 2019 12:53:18 GMT

I do see your dilemma. I would think you have two options. (1) have them change their script so that if the script is checking in a directory, that the script add a comment during the checkin, or (2) create a ClearCase trigger, set for postop checkin, that would test to see if the checked in element is a directory, and if it is a directory, run the command 'cleartool setevent' and change the checkin comment of the directory. I would think option #1 would be the easiest, but option #2 will work just as well.

Mon, 25 Feb 2019 12:29:41 GMT

Thanks for the idea. I also heard the idea of a preop checkin trigger.