"Masterson, David" <David.Masterson@kla-tencor.com> wrote:
>
> There are two approachs to handling SCR in this:
>
> 1. For every checkin, ask the developer what bug has been fixed. Do this
> regardless of what branch the checkin occurs on.
>
> Assumption
> * bug fix in file version is unaffected by other file versions
> Advantages
> * you know precisely which file version fixes which bug
> * this is done via a relatively simple checkin trigger
> Disadvantages
> * finding what bugs merged into a nightly build can be tough
But it can be automated by comparing the source file lists (output of cleartool ls)
between consequtive builds, and then querying the defect database for defects that
record files contained by the delta. I've gone a little bit more into this in a
separate posting.
> ** its a complicated DAG traversal that follows merge arrows
It's easier if you know the contributor branches in advance, though. The process I
described earlier assumed that the developers did their checkins on the integration
branch, which worked because the handoff procedure divorced the builds from the LATEST
versions.
> * developers will tire of the constant "what bug?" trigger question
> ** environment variable overrides might help -- or hurt!
We prompted the user once per checkin command, and gave him a (small) list to choose
from. With ClearCase, this would require a wrapper in combination with triggers and
environment variables.
-- The CEO of my employer requires me to include the following notice in my signature:* This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient, dissemination of this communication is prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately. --- Paul M. Sander +1 650 261 5174 | To the medieval era's literate few..., the BroadVision, Inc. | turn of the millenium held a particular alure. 585 Broadway | After all, with the stroke of a quill, the Redwood City, CA 94063 USA | world went from DCCCCLXXXXVIIIJ to...M. | -- Rachel Emma Silverman, Wall St. Journal - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This archive was generated by hypermail 2b29 : Sun May 06 2001 - 00:23:27 EDT