Migration From ClearCase to TFS2010, problem with mapping of users from CC to TFS
-
Wednesday, May 11, 2011 2:38 PM
I am using a dynamic view for my Clearcase (7.1.2.1) source and attempting to migrate to TFS2010. The company I'm wworking for looking into changing our SCM system into a new one, so we are looking at some different SCM systems.
After some troubles with the xml configuration file I managed to get the migration from CC to TFS to work. But, when I look at a file in TFS and choose View History I relaize that the all of the revisions of a file is marked by same user (the user which has done the migration), not the user which has actually done the change in Clear Case. I'm using the ClearCase Detailed History Adapter for the migration.
My question is, is the TFS Integration Tool able to maintain the history of who has done the changes ? I will provide my xml configuration file, maybe somebody can point out if I'm missing some configurations to get the user mapping into TFS as well.
XML:
<?xml version="1.0" encoding="utf-16"?>
<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" UniqueId="5cc01ab2-f466-4875-b04e-73e24a861264" FriendlyName="SnapShot Migration">
<Providers>
<Provider ReferenceName="f2a6ba65-8acb-4cd0-be8f-b25887f94392" FriendlyName="ClearCase Detailed History Adapter" />
<Provider ReferenceName="febc091f-82a2-449e-aed8-133e5896c47a" FriendlyName="TFS 2010 Migration VC Provider" />
</Providers>
<Addins />
<SessionGroup CreationTime="2011-04-18T15:05:49.38+01:00" FriendlyName="SnapShot Migration" SessionGroupGUID="eb7398c8-dc93-425e-8da8-abeb12791e96" Creator="LTSBR\UserName" SyncIntervalInSeconds="0" SyncDurationInMinutes="0">
<MigrationSources>
<MigrationSource InternalUniqueId="492263d1-4fc8-4f93-be29-733da3d27d9f" FriendlyName="\PVOB_SAS_TR" ServerIdentifier="\PVOB_SAS_TR" ServerUrl="\PVOB_SAS_TR" SourceIdentifier="\PVOB_SAS_TR" ProviderReferenceName="f2a6ba65-8acb-4cd0-be8f-b25887f94392" EndpointSystemName="ClearCase">
<Settings>
<Addins />
<UserIdentityLookup />
<DefaultUserIdProperty UserIdPropertyName="DisplayName" />
</Settings>
<CustomSettings>
<CustomSetting SettingKey="DetectChangesInCC" SettingValue="True" />
<CustomSetting SettingKey="DownloadFolder" SettingValue="C:\TFS_SC\Temp_Download" />
<CustomSetting SettingKey="PrecreatedViewName" SettingValue="ynd_GUIPOC_MIG" />
<CustomSetting SettingKey="DynamicViewRoot" SettingValue="M:\" />
<CustomSetting SettingKey="DefaultBranchName" SettingValue="Main" />
<CustomSetting SettingKey="LabelAllVersions" SettingValue="False" />
<CustomSetting SettingKey="ClearfsimportConfiguration.Unco" SettingValue="False" />
<CustomSetting SettingKey="ClearfsimportConfiguration.Master" SettingValue="False" />
<CustomSetting SettingKey="ClearfsimportConfiguration.ParseOutput" SettingValue="False" />
<CustomSetting SettingKey="ClearfsimportConfiguration.BatchSize" SettingValue="1000" />
</CustomSettings>
<StoredCredential />
</MigrationSource>
<MigrationSource InternalUniqueId="69b6a99d-9d97-4e43-8cdd-fd9a1143250b" FriendlyName="st-w844" ServerIdentifier="e8f325ec-e5eb-42c6-b8e5-030cac98d6d6" ServerUrl="http://XXX/defaultcollection" SourceIdentifier="XXX.ETS_IT_FACTORY" ProviderReferenceName="febc091f-82a2-449e-aed8-133e5896c47a">
<Settings>
<DefaultUserIdProperty UserIdPropertyName="DisplayName" />
</Settings>
<CustomSettings />
<StoredCredential />
</MigrationSource>
</MigrationSources>
<Sessions>
<Session CreationTime="2011-04-18T15:05:49.367+01:00" SessionUniqueId="8b9b3b61-4d13-4f25-9214-532acfc641a3" FriendlyName="Version Control Session" LeftMigrationSourceUniqueId="492263d1-4fc8-4f93-be29-733da3d27d9f" RightMigrationSourceUniqueId="69b6a99d-9d97-4e43-8cdd-fd9a1143250b" SessionType="VersionControl">
<EventSinks />
<CustomSettings>
<SettingXml>
<VCSessionCustomSetting>
<Settings>
<!-- This setting may be enabled in Unidirectional migration mode to disable the detection of target changes.-->
<Setting SettingKey="DisableTargetAnalysis" SettingValue="True" />
</Settings>
</VCSessionCustomSetting>
</SettingXml>
<SettingXmlSchema />
</CustomSettings>
<Filters>
<FilterPair Neglect="false">
<FilterItem MigrationSourceUniqueId="492263d1-4fc8-4f93-be29-733da3d27d9f" FilterString="\ynd_GUIPOC_MIG\CVOB_SAS_TR\COMP_GUIPOC\" />
<FilterItem MigrationSourceUniqueId="69b6a99d-9d97-4e43-8cdd-fd9a1143250b" FilterString="$/XXX.ETS_IT_FACTORY/COMP_GUIPOC" />
</FilterPair>
<FilterPair Neglect="false">
<FilterItem MigrationSourceUniqueId="492263d1-4fc8-4f93-be29-733da3d27d9f" FilterString="\CVOB_SAS_TR\COMP_GUIPOC\" />
<FilterItem MigrationSourceUniqueId="69b6a99d-9d97-4e43-8cdd-fd9a1143250b" FilterString="$/XXX.ETS_IT_FACTORY/CC2TFSMIG/MIG15/COMP_GUIPOC" />
</FilterPair>
</Filters>
</Session>
</Sessions>
<Linking>
<CustomSettings />
<LinkTypeMappings />
</Linking>
<WorkFlowType Frequency="ContinuousManual" DirectionOfFlow="Unidirectional" SyncContext="Disabled" />
<CustomSettings />
<UserIdentityMappings EnableValidation="false">
<UserIdentityLookupAddins></UserIdentityLookupAddins>
</UserIdentityMappings>
<ErrorManagement>
<ErrorRouters />
<ReportingSettings />
</ErrorManagement>
</SessionGroup>
</Configuration>
All Replies
-
Wednesday, May 11, 2011 3:20 PMModerator
Re: Is the TFS Integration Tool able to maintain the history of who has done the changes?
No, I'm sorry, but the current implementation of the TFS Integration Platform does not maintain the user identity when migrating to or from ClearCase.
- Proposed As Answer by BillBarnettModerator Wednesday, May 11, 2011 3:20 PM
- Marked As Answer by pudderjunkie76 Thursday, May 12, 2011 5:42 AM
-
Thursday, May 12, 2011 5:42 AM
Re: Is the TFS Integration Tool able to maintain the history of who has done the changes?
No, I'm sorry, but the current implementation of the TFS Integration Platform does not maintain the user identity when migrating to or from ClearCase.
Is there any plans for supporting this in the tool at a later stage ? -
Tuesday, November 08, 2011 3:50 PM
Can we tweak the configuration file to use simple replacement mapping and provide the values? Something along these lines:
<ValueMap name="UserMap">
<Value LeftValue="michaf" RightValue="Michael Affronti (PM)" />
<Value LeftValue="aprist" RightValue="April Stewart (Dev Lead)" />
<Value LeftValue="dorikr" RightValue="Doris Krieger (Dev)" />
</ValueMap>

