02.05.2013 Views

User Guide - Mks.com

User Guide - Mks.com

User Guide - Mks.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 12: Advanced Change Package Operations<br />

Using a<br />

Resolution CP<br />

432<br />

The MDT developer creates a change package.<br />

The MDT developer makes the necessary changes and tests the code.<br />

The MDT developer checks the modified files back into the variant<br />

project, making sure to associate the files with change package 1204:1.<br />

In this case, all the work of the MDT developer is now checked into the<br />

variant development path and will be part of release 2.0a. However, what<br />

is the best method for transferring the MDT bug fix work back to the main<br />

development path so that it can be incorporated into the next product<br />

release? The Resync CP <strong>com</strong>mand is the best option for applying the new<br />

fix.<br />

A PT developer can now create a second change package, 1204:2 for the<br />

same issue. The second change package would include the summary<br />

“Applied fix to main development path”. The PT developer would start<br />

the Resync CP <strong>com</strong>mand, select the main development sandbox, and the<br />

first change package—1204:1—in this issue. The second change package—<br />

1204:2—would be used as a resolution change package.<br />

Once all merges have been resolved, the developer submits the resolution<br />

and Source Integrity applies the changes from the referenced change<br />

packages.<br />

The bug fix is now addressed in both the main and variant development<br />

paths, ensuring that the problem is fixed in the Release 2.0a and the next<br />

major product release.<br />

The basic process for resolving conflicts is to apply the target change<br />

package using the Apply CP <strong>com</strong>mand. If the Apply CP operation fails<br />

because of a merge conflict, you must then use the Resync CP <strong>com</strong>mand to<br />

create a resolution change package. That resolution change package is then<br />

submitted, and Source Integrity applies the changes to the project.<br />

The process involves the following key steps:<br />

Use the Apply CP <strong>com</strong>mand to apply a change package to the main<br />

trunk of development.<br />

If Apply CP fails due to a required merge, use the Resync CP<br />

<strong>com</strong>mand on the same change package and create a new resolution<br />

change package. Resync CP places the required files, locked, in your<br />

sandbox.<br />

Verify the merges to ensure they are correct.<br />

In your sandbox, check in the members, making sure to associate them<br />

with the newly created resolution change package.<br />

u s e r g u i d e

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!