I would like to share a dilemma and hear your feedback.
As part of the new version of R&D Reporter for ClearCase, we began offering "Lines of Code" (LoC) metrics and charts when comparing baselines and composite baselines (Added, Modified and removed lines; attached is an illustration).
Now we've been asked to provide LoC metrics when comparing two UCM streams (e.g. how many files and code lines have been changed between an integration stream and one of its child streams). In order to provide this, we must ask the user to provide a view context (in order to access the files inside the stream).
So far we have asked the user to provide one view only. This is not as convenient for some users**, but it's fair enough. Now we have to ask users to provide TWO view contexts, so we are considering the creation of temporary views (probably dynamics) that live as long as the application is running (after which they will be removed), instead of asking them to provide it twice.
Furthermore, as we provide a "Multiple Pending Change-sets" report that compares multiple streams (e.g. an integration stream with all of its child streams), I have the same doubt—but now it is multiplied by the number of streams…
I'm curious to know what you think about using temporary views:
- Do you find it convenient and safe? If so—do you prefer dynamic or snapshot view?
- Does your company's policy confirm creation of temporary view by a 3rd-party tool?
Thank you!
** Providing a view context may be inconvenient as the user must choose a folder from the file-system, or even create a new view. Moreover, if the user prefers to provide a snapshot view, he or she must provide the folder where the loaded files are, and sometimes this can be quite difficult to find.