Handling of Identical Inventory During a Project Import

During a project import, an inventory item in the source project is considered identical to an inventory item in the target project if both items are associated with the same unique combination of component-version-license (CVL). By default, Code Insight merges identical inventory items and updates the Relationship field value, as well as the inventory name to reflect only the actual CVL, for the resulting inventory item in the target project.

The following shows the two identical inventory items from the source and target project on the Project Inventory tab that includes the same component-version-license (CVL), i.e., clone 1.0.4 (MIT) and different dependency tags, i.e., yosay 3.0.0 and columnify 1.2.1. During the project import, these two inventory items are merged and resulting inventory item is available with updated inventory name, i.e., clone 1.0.4 (MIT) on the target project.

Identical Inventory Items in Project Inventory Tab Before Import

Inventory Item in Project Inventory Tab After Import

In cases where the source inventory item has empty fields, the data in the target inventory item will be left as is (that is, will not be removed). However, Code Insight does provide the option to append the contents of notes fields in the import data file to target inventory. See Options for Handling Inventory Notes and Custom Fields for details.

Note:Consider the following information during project import:

If two identical inventory items are found, where one inventory item name includes a dependency tag and the other does not, those items are merged during project import and the resulting inventory item is available in target project with its actual component-version-license (CVL) combination as the inventory name after import.
If two identical inventory items are found, each with a different dependency tag in the “Found inside” or “Bundled with” format, these items are not merged during project import.
If inventory items with unique component-version-license (CVL) combinations are found, they retain the same inventory name as in the source project after import.