Omri_Bashari
14 years agoNew Contributor
CodeCollaborator and ClearCase integration
Hello everyone,
I have been evaluating CodeCollaborator for my company for a while now.
We are working with IBM Rational ClearCase as our SCM and it is very important for to have the code review workflow as intuitive as possible.
Specifically, I have been focusing on adding new files to a review.
For reasons related to our current process, we must perform reviews only on checked-in files. Also, we don't use clearcase activities, and manually entering file versions is out of the question. This makes the current CodeCollaborator GUI client almost useless to us.
I am working on integration into the ClearCase context menu ("Send To..."). I created a simple C# console application that has two functions:
1. Can take a list of files as arguments (for example, from "Find checkouts"), query their predecessor version, check them in if necessary and use ccollab addversions to add the file's two latest versions to a new review.
2. Can take a file@@version format and add it to a review against the local file version using ccollab addversions.
After many trials I got this working reasonably well, but I still have a problem with new reviews.
I did not find a way to send ccollab addversions multiple files so I have to call it for the first file with the "new" review argument, and for later files with the "last" review argument. This is not clean or efficient and it opens the browser window when only the first file is present in the review. I would like to have a script to open a new review with the list of files and their versions in one go. Is that possible?
Thanks,
Omri
I have been evaluating CodeCollaborator for my company for a while now.
We are working with IBM Rational ClearCase as our SCM and it is very important for to have the code review workflow as intuitive as possible.
Specifically, I have been focusing on adding new files to a review.
For reasons related to our current process, we must perform reviews only on checked-in files. Also, we don't use clearcase activities, and manually entering file versions is out of the question. This makes the current CodeCollaborator GUI client almost useless to us.
I am working on integration into the ClearCase context menu ("Send To..."). I created a simple C# console application that has two functions:
1. Can take a list of files as arguments (for example, from "Find checkouts"), query their predecessor version, check them in if necessary and use ccollab addversions to add the file's two latest versions to a new review.
2. Can take a file@@version format and add it to a review against the local file version using ccollab addversions.
After many trials I got this working reasonably well, but I still have a problem with new reviews.
I did not find a way to send ccollab addversions multiple files so I have to call it for the first file with the "new" review argument, and for later files with the "last" review argument. This is not clean or efficient and it opens the browser window when only the first file is present in the review. I would like to have a script to open a new review with the list of files and their versions in one go. Is that possible?
Thanks,
Omri