Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHinsh committed Aug 23, 2024
1 parent 3bbc12c commit d73564c
Show file tree
Hide file tree
Showing 18 changed files with 94 additions and 89 deletions.
9 changes: 4 additions & 5 deletions appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,9 @@
"TfsEmbededImagesTool": {
"Enabled": true
},
"GitRepoMappingTool": {
"TfsGitRepositoryTool": {
"Enabled": true,
"Mappings": {
"Source Repo Name": "Target Repo Name"
}
}
},
Expand Down Expand Up @@ -297,7 +296,7 @@
"^7473924d-c47f-4089-8f5c-077c728b576e([\\\\]?.*)$": "MigrationTest5$1"
}
},
"Iteration": {
"Iterations": {
"Filters": [ "*\\Sprint*", "*\\Sprint*\\**" ],
"Mappings": {
"^migrationSource1([\\\\]?.*)$": "MigrationTest5$1",
Expand All @@ -313,7 +312,7 @@
"MigrateTeamSettings": true,
"UpdateTeamSettings": true,
"MigrateTeamCapacities": true,
"Teams": ["Team 1", "Team 2"]
"Teams": [ "Team 1", "Team 2" ]
},
"TfsWorkItemLinkTool": {
"Enabled": true,
Expand Down Expand Up @@ -368,7 +367,7 @@
"TfsEmbededImagesTool": {
"Enabled": true
},
"GitRepoMappingTool": {
"TfsGitRepositoryTool": {
"Enabled": true,
"Mappings": {
"Repo1": "Repo2"
Expand Down

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

2 changes: 1 addition & 1 deletion docs/_data/reference.endpoints.tfsendpoint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ configurationSamples:
code: >-
{
"$type": "TfsEndpointOptions",
"Enabled": false,
"Organisation": null,
"Project": null,
"Enabled": false,
"AuthenticationMode": "AccessToken",
"AccessToken": null,
"ReflectedWorkItemIdField": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ configurationSamples:
code: >-
{
"$type": "TfsTeamSettingsEndpointOptions",
"Enabled": false,
"Organisation": null,
"Project": null,
"Enabled": false,
"AuthenticationMode": "AccessToken",
"AccessToken": null,
"ReflectedWorkItemIdField": null,
Expand Down
2 changes: 1 addition & 1 deletion docs/_data/reference.endpoints.tfsworkitemendpoint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ configurationSamples:
code: >-
{
"$type": "TfsWorkItemEndpointOptions",
"Enabled": false,
"Organisation": null,
"Project": null,
"Enabled": false,
"Query": null,
"AuthenticationMode": "AccessToken",
"AccessToken": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ configurationSamples:
"Enabled": false,
"WIQLQuery": "Select [System.Id] From WorkItems Where [System.TeamProject] = @project and not [System.WorkItemType] contains 'Test Suite, Test Plan,Shared Steps,Shared Parameter,Feedback Request'",
"TargetLinksToKeepOrganization": "https://dev.azure.com/nkdagility",
"TargetLinksToKeepProject": "cf8fdd9b-ca8e-47d7-bf9c-9e2fe8020b74",
"TargetLinksToKeepProject": "3e0aa570-3d0f-4034-a6ec-8616f08cdcb6",
"CleanupFileName": "c:/temp/OutboundLinkTargets.bat",
"PrependCommand": "start",
"DryRun": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,5 +132,5 @@ options:
defaultValue: '[]'
status: ready
processingTarget: Work Items
classFile: ''
optionsClassFile: ''
classFile: /src/MigrationTools.Clients.AzureDevops.ObjectModel/Processors/TfsWorkItemMigrationProcessor.cs
optionsClassFile: /src/MigrationTools.Clients.AzureDevops.ObjectModel/Processors/TfsWorkItemMigrationProcessorOptions.cs
21 changes: 4 additions & 17 deletions docs/_data/reference.tools.gitrepomappingtool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,7 @@ configurationSamples:
{
"MigrationTools": {
"CommonTools": {
"GitRepoMappingTool": {
"Enabled": "True",
"Mappings": {
"Source Repo Name": "Target Repo Name"
}
}
"GitRepoMappingTool": []
}
}
}
Expand All @@ -23,12 +18,7 @@ configurationSamples:
{
"MigrationTools": {
"CommonTools": {
"GitRepoMappingTool": {
"Enabled": "True",
"Mappings": {
"Repo1": "Repo2"
}
}
"GitRepoMappingTool": []
}
}
}
Expand All @@ -38,11 +28,8 @@ configurationSamples:
code: >-
{
"$type": "GitRepoMappingToolOptions",
"Enabled": true,
"Mappings": {
"Source Repo Name": "Target Repo Name",
"Repo1": "Repo2"
}
"Enabled": false,
"Mappings": null
}
sampleFor: MigrationTools.Tools.GitRepoMappingToolOptions
description: Used to process the String fields of a work item. This is useful for cleaning up data. It will limit fields to a max length and apply regex replacements based on what is configured. Each regex replacement is applied in order and can be enabled or disabled.
Expand Down
14 changes: 11 additions & 3 deletions docs/_data/reference.tools.tfsgitrepositorytool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ configurationSamples:
{
"MigrationTools": {
"CommonTools": {
"TfsGitRepositoryTool": []
"TfsGitRepositoryTool": {
"Enabled": "True",
"Mappings": null
}
}
}
}
Expand All @@ -18,7 +21,12 @@ configurationSamples:
{
"MigrationTools": {
"CommonTools": {
"TfsGitRepositoryTool": []
"TfsGitRepositoryTool": {
"Enabled": "True",
"Mappings": {
"Repo1": "Repo2"
}
}
}
}
}
Expand All @@ -28,7 +36,7 @@ configurationSamples:
code: >-
{
"$type": "TfsGitRepositoryToolOptions",
"Enabled": false
"Enabled": true
}
sampleFor: MigrationTools.Tools.TfsGitRepositoryToolOptions
description: missng XML code comments
Expand Down
26 changes: 17 additions & 9 deletions docs/_data/reference.tools.tfsnodestructuretool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,12 @@ configurationSamples:
"TfsNodeStructureTool": {
"Areas": {
"Filters": null,
"Mappings": {
"^migrationSource1([\\\\]?.*)$": "MigrationTest5$1"
}
"Mappings": null
},
"Enabled": "True",
"Iteration": {
"Iterations": {
"Filters": null,
"Mappings": {
"^migrationSource1([\\\\]?.*)$": "MigrationTest5$1"
}
"Mappings": null
},
"ReplicateAllExistingNodes": "True",
"ShouldCreateMissingRevisionPaths": "True"
Expand All @@ -41,17 +37,19 @@ configurationSamples:
],
"Mappings": {
"^7473924d-c47f-4089-8f5c-077c728b576e([\\\\]?.*)$": "MigrationTest5$1",
"^migrationSource1([\\\\]?.*)$": "MigrationTest5$1",
"^Skypoint Cloud([\\\\]?.*)$": "MigrationTest5$1"
}
},
"Enabled": "True",
"Iteration": {
"Iterations": {
"Filters": [
"*\\Sprint*",
"*\\Sprint*\\**"
],
"Mappings": {
"^7473924d-c47f-4089-8f5c-077c728b576e([\\\\]?.*)$": "MigrationTest5$1",
"^migrationSource1([\\\\]?.*)$": "MigrationTest5$1",
"^Skypoint Cloud([\\\\]?.*)$": "MigrationTest5$1"
}
},
Expand All @@ -73,12 +71,22 @@ configurationSamples:
"*\\Team 1,*\\Team 1\\**"
],
"Mappings": {
"^7473924d-c47f-4089-8f5c-077c728b576e([\\\\]?.*)$": "MigrationTest5$1",
"^migrationSource1([\\\\]?.*)$": "MigrationTest5$1",
"^Skypoint Cloud([\\\\]?.*)$": "MigrationTest5$1"
}
},
"Iterations": {
"Filters": [
"*\\Sprint*",
"*\\Sprint*\\**"
],
"Mappings": {
"^7473924d-c47f-4089-8f5c-077c728b576e([\\\\]?.*)$": "MigrationTest5$1",
"^migrationSource1([\\\\]?.*)$": "MigrationTest5$1",
"^Skypoint Cloud([\\\\]?.*)$": "MigrationTest5$1"
}
},
"Iterations": null,
"ShouldCreateMissingRevisionPaths": true,
"ReplicateAllExistingNodes": true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ configurationSamples:
code: >-
{
"$type": "TfsEndpointOptions",
"Enabled": false,
"Organisation": null,
"Project": null,
"Enabled": false,
"AuthenticationMode": "AccessToken",
"AccessToken": null,
"ReflectedWorkItemIdField": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ configurationSamples:
code: >-
{
"$type": "TfsTeamSettingsEndpointOptions",
"Enabled": false,
"Organisation": null,
"Project": null,
"Enabled": false,
"AuthenticationMode": "AccessToken",
"AccessToken": null,
"ReflectedWorkItemIdField": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ configurationSamples:
code: >-
{
"$type": "TfsWorkItemEndpointOptions",
"Enabled": false,
"Organisation": null,
"Project": null,
"Enabled": false,
"Query": null,
"AuthenticationMode": "AccessToken",
"AccessToken": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ configurationSamples:
"Enabled": false,
"WIQLQuery": "Select [System.Id] From WorkItems Where [System.TeamProject] = @project and not [System.WorkItemType] contains 'Test Suite, Test Plan,Shared Steps,Shared Parameter,Feedback Request'",
"TargetLinksToKeepOrganization": "https://dev.azure.com/nkdagility",
"TargetLinksToKeepProject": "cf8fdd9b-ca8e-47d7-bf9c-9e2fe8020b74",
"TargetLinksToKeepProject": "3e0aa570-3d0f-4034-a6ec-8616f08cdcb6",
"CleanupFileName": "c:/temp/OutboundLinkTargets.bat",
"PrependCommand": "start",
"DryRun": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ options:
defaultValue: '[]'
status: ready
processingTarget: Work Items
classFile: ''
optionsClassFile: ''
classFile: /src/MigrationTools.Clients.AzureDevops.ObjectModel/Processors/TfsWorkItemMigrationProcessor.cs
optionsClassFile: /src/MigrationTools.Clients.AzureDevops.ObjectModel/Processors/TfsWorkItemMigrationProcessorOptions.cs

redirectFrom:
- /Reference/Processors/TfsWorkItemMigrationProcessorOptions/
Expand Down
21 changes: 4 additions & 17 deletions docs/collections/_reference/reference.tools.gitrepomappingtool.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@ configurationSamples:
{
"MigrationTools": {
"CommonTools": {
"GitRepoMappingTool": {
"Enabled": "True",
"Mappings": {
"Source Repo Name": "Target Repo Name"
}
}
"GitRepoMappingTool": []
}
}
}
Expand All @@ -24,12 +19,7 @@ configurationSamples:
{
"MigrationTools": {
"CommonTools": {
"GitRepoMappingTool": {
"Enabled": "True",
"Mappings": {
"Repo1": "Repo2"
}
}
"GitRepoMappingTool": []
}
}
}
Expand All @@ -39,11 +29,8 @@ configurationSamples:
code: >-
{
"$type": "GitRepoMappingToolOptions",
"Enabled": true,
"Mappings": {
"Source Repo Name": "Target Repo Name",
"Repo1": "Repo2"
}
"Enabled": false,
"Mappings": null
}
sampleFor: MigrationTools.Tools.GitRepoMappingToolOptions
description: Used to process the String fields of a work item. This is useful for cleaning up data. It will limit fields to a max length and apply regex replacements based on what is configured. Each regex replacement is applied in order and can be enabled or disabled.
Expand Down
Loading

0 comments on commit d73564c

Please sign in to comment.