What is the difference between full database and incremental database in ClearCAD UCM?

I applied the full baseline for my release. e.g. The base level is "MYProj_2.0.0.20".

The testing team then discovered a serious problem. To fix this, the development team made a few changes.

After the build was complete, I applied the same baseline again, "MYProj_2.0.0.20, but this time I applied the incremental baseline. According to UCM, the base model MYProj_2.0.0.20 was changed as MYProj_2.0.0.20.3452 (some random numbers at the end made it unique).

Now, if I consider MYProj_2.0.0.20.3452 as the baseline of the release, it will contain all the changes or only the changes (the delta change between "MYProj_2.0.0.20" and "MYProj_2.0.0.20.3452").

Please clarify me.

+4
source share
1 answer

It will contain all the changes.

Except that incremental baselines will calculate these changes by adding:

  • unique modifications made to several changes (this is what the "incremental baseline" means: the label is set only in new versions from the previous baseline)
  • all other changes already refer to previous baselines to the full baseline

See “ Baseline Types ”:

  • A complete baseline is the baseline that you create by writing all versions of all elements under the root directory of the component.
  • incremental baseline - the baseline that you create by recording the last complete baseline and those versions of elements that have been changed since the last complete baseline.

(there are also “baseline checkpoints,” as described in “ about ClearCase baselines ” that automatically create delivery and forwarding operations, but you don’t need to worry about it right now)

That's why I always prefer a full baseline: the whole delta operation (like “compare against another base”) is faster if your last baseline is complete.
The argument in favor of incremental baselines is that they are created faster (due to the fewer versions on which you can set the baseline).
But if your UCM component is so large that it’s too long to put a label on all its versions, your component may be too large.

Please note that you can always upgrade an incremental baseline to a full baseline.

Please note that you have a difference between:

  • baseline header (here " MYProj_2.0.0.20 ": you can put as many baseline " MYProj_2.0.0.20 " as you want)
  • base line identifier (always unique: if " MYProj_2.0.0.20 " is already accepted, then ClearCase will generate some numbers at the end: " MYProj_2.0.0.20.345 2")
+3
source

Source: https://habr.com/ru/post/1207008/


All Articles