Download presentation
Presentation is loading. Please wait.
Published byAmia Neal Modified over 10 years ago
1
WebDAV Subbaseline feature
2
Color Key: Resource New resource Modified resource Version resource New version resource Binding Acronyms: BCC = Baseline-Controlled Collection VCC = Version-Controlled Configuration VCR = Version-Controlled Resource VHR = Version History Resource BHR = Baseline History Resource Key
3
We have a collection called build which contains a file called project.mk, and a sub-collection called src. The build/src collection contains a file called main.c. We want to baseline the build collection but capture the build/src collection as a subbaseline (component of the main configuration). Use case
4
VCR (build/project.mk) Checked-In Collection (build) Binding src Binding project.mk VCR (build/src/main.c) Checked-In VHR (vhr/h1) V1 V2 VHR (vhr/h2) V1 Collection (build/src) Binding main.c Collection and members
5
First a baseline is created, rooted at the build/src collection The lower-level component in the namespace must be baselined first since a configuration cannot contain members of other configurations. This creates a new VCC, BHR, baseline version, baseline collection and members. The version-controlled-configuration property of the VCR for build/src/main.c will identify the new VCC (vcc/1). Baseline the build/src collection
6
VCR (bc10/main.c) Checked-In VHR (vhr/h2) V1 Baseline Collection (bc/10) Binding main.c BHR (bhr/h1) Baseline-collection Baseline (bln/1) VCC (vcc/1) Checked-In Baseline-Controlled-Collection Version-Controlled-Configuration Baseline-Controlled Collection (build/src) Binding main.c VCR (build/src/main.c) Checked-In Version-controlled-configuration Baseline of build/src
7
Next another baseline is created, rooted at the build collection The new baseline will not capture any members of the build/src collection since they already have their version- controlled-configuration property set. This creates a new VCC, BHR, baseline version, baseline collection and members. The version-controlled-configuration property of the VCR for build/project.mk will identify the new VCC (vcc/2). Baseline the build collection
8
VHR (vhr/h1) V1 V2 VCR (bc11/project.mk) Checked-In Baseline Collection (bc/11) Binding project.mk BHR (bhr/h2) Baseline-collection Baseline (bln/2) VCC (vcc/2) Checked-In Baseline-Controlled-Collection Baseline-Controlled Collection (build) Binding project.mk Version-Controlled-Configuration VCR (build/project.mk) Checked-In Version-controlled-configuration Baseline of build
9
To make the baseline of build/src (bc/10) a subbaseline of the main baseline (bc/11) the following needs to happen: The VCC for the main baseline (vcc/2) needs to be checked-out. The subbaseline property of the checked-out VCC is set to point to the other baseline (bc/10). The VCC is then checked-in (also causing a new baseline- collection and members to be created). Note that the VCC and BCC resources etc are not shown… The subbaseline property
10
BHR (bhr/h1) Baseline-collection Baseline (bln/1) VCR (bc10/main.c) Checked-In VHR (vhr/h2) V1 Baseline Collection (bc/10) Binding main.c VHR (vhr/h1) V1 V2 VCR (bc11/project.mk) Checked-In Baseline Collection (bc/11) Binding project.mk BHR (bhr/h2) Baseline-collection Baseline (bln/2) Baseline-collection Baseline (bln/3) Subbaseline-set VCR (bc12/project.mk) Checked-In Baseline Collection (bc/12) Binding project.mk Final structure
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.