Skip to content

Commit

Permalink
šŸ“ (MigrationTools.xml): update documentation to reflect latest git meā€¦
Browse files Browse the repository at this point in the history
ā€¦tadata

šŸ’” (TfsNodeStructureTool.cs): add warning log when node structure enricher is disabled

The documentation is updated to reflect the latest git metadata, including branch, commit, SHA, commit date, and versioning information. This ensures that the documentation is accurate and up-to-date.

A warning log is added to `TfsNodeStructureTool.cs` to notify users when the node structure enricher is disabled. This helps in debugging and ensures users are aware of potential migration errors due to the disabled state.
  • Loading branch information
MrHinsh committed Sep 15, 2024
1 parent c1dc8d1 commit 81a6ce4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
22 changes: 11 additions & 11 deletions docs/Reference/Generated/MigrationTools.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,12 @@ public void ValidateAllNodesExistOrAreMapped(TfsProcessor processor, List<WorkIt
public string GetNewNodeName(string sourceNodePath, TfsNodeStructureType nodeStructureType)
{
Log.LogDebug("NodeStructureEnricher.GetNewNodeName({sourceNodePath}, {nodeStructureType})", sourceNodePath, nodeStructureType.ToString());

var mappers = GetMaps(nodeStructureType);
if (!Options.Enabled)
{
Log.LogWarning("nodeStructureEnricher is disabled! You may get migration errors!");
return sourceNodePath;
}
var mappers = GetMaps(nodeStructureType);
var lastResortRule = GetLastResortRemappingRule();

Log.LogDebug("NodeStructureEnricher.GetNewNodeName::Mappers", mappers);
Expand Down

0 comments on commit 81a6ce4

Please sign in to comment.