We would like to take earlier baselines of an existing project and "branch" off to a new, but related, project.
We want the new modules to retain the baseline history of the Original project up to the point at which we started the New project.
We want the new modules to retain their links to each other and to the higher level module that will still control the Original project and the New Project.
Our Original project does not have any baseline sets defined, so out-links always point to the current revision of the target module.
After having read the DOORS Help for Archive and Restore, here are two possible scenarios based on my current understanding. I would appreciate very much any advice that someone who has tried this path has to offer.
Scenario #1
Step 1. Create a new attribute in the SRS called Original ID.
Step 2. Copy values from Absolute Number attribute to Original ID attribute.
Step 3. Repeat Steps 1 & 2 for STD.
Step 5. Archive chosen baselines for SRS and STD, by module. (multiple modules in each document)
Step 6. Restore archived modules in a new project/folder/something.
Step 7. Using Original ID attribute and Link-by-Attribute feature of DOORS, recreate links from STD to SRS.
Scenario #2
Step 1. Archive the “Original” project.
Step 2. Restore selected folders (SRS Folder, STD Folder) in a new project/folder/something.
Step 3. Delete unwanted revisions. E.g., in STD, delete revisions after 2.1; in SRS, delete revisions after 1.3.
Notes, per DOORS Help:
“When you restore an archived project, you can choose which parts of the project you want to restore. You can restore the whole project, or you can restore selected sub-projects, folders and modules.”
“Links that are entirely contained within the restored modules are preserved.”
“A link is preserved if the set of restored modules includes the link's source and target module, and its link module.”
“Archiving and restoring a module individual modules, one at a time causes all link information to and from each module to be lost.”
“By default, DOORS includes all baselines in the archive.”
firstgentrekkie - Mon Jul 02 14:10:29 EDT 2012 |
Re: Creating a new project from earlier baselines of an existing project firstgentrekkie - Mon Jul 02 16:29:49 EDT 2012
FYI, I think I made Scenario 1 more complicated than it needs to be. After some experimenting, we found that Absolute IDs are not resequenced after an archive and restore by module. And our source modules already have an attribute that maps back to the target object by Absolute Number. So Scenario 1 reduces to
Step 1. Archive chosen baselines for SRS and STD, by module. (multiple modules in each document)
Step 2. Restore archived modules in a new project/folder/something.
Step 3. Using Absolute Number attribute, Target Object attribute, and Link-by-Attribute feature of DOORS, recreate links from STD to SRS.
|
Re: Creating a new project from earlier baselines of an existing project firstgentrekkie - Fri Sep 14 08:34:05 EDT 2012
We ended up using the duplicate.dxl script in the PSToolboxx, as recommended. It does have one quirk, which is that it copies embedded OLE objects twice, so you'll have to purge those in the duplicate. Also, it gets confused by DOORS-type tables within a module, even if they're already deleted, so either purge all deleted objects before making the duplicate, or be aware that some objects may get out of order, or modify the script to ignore deleted tables (or all deleted objects).
|