From 6ead9ec36e9b8307c749c3e9628d12a595f957ad Mon Sep 17 00:00:00 2001 From: "Martin Hinshelwood nkdAgility.com" Date: Tue, 6 Aug 2024 16:20:40 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=90=9B=20(TfsWorkItemEmbededLinkEnric?= =?UTF-8?q?her.cs):=20change=20log=20level=20from=20LogError=20to=20LogWar?= =?UTF-8?q?ning=20for=20missing=20target=20work=20item=20mention=20link?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The log level is changed from LogError to LogWarning to better reflect the severity of the issue. A missing target work item mention link is not a critical error but rather a warning that the link is replaced with simple text. This change helps in distinguishing between actual errors and less severe issues. --- .../Enrichers/TfsWorkItemEmbededLinkEnricher.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MigrationTools.Clients.AzureDevops.ObjectModel/Enrichers/TfsWorkItemEmbededLinkEnricher.cs b/src/MigrationTools.Clients.AzureDevops.ObjectModel/Enrichers/TfsWorkItemEmbededLinkEnricher.cs index 329f0178d..adc9d228c 100644 --- a/src/MigrationTools.Clients.AzureDevops.ObjectModel/Enrichers/TfsWorkItemEmbededLinkEnricher.cs +++ b/src/MigrationTools.Clients.AzureDevops.ObjectModel/Enrichers/TfsWorkItemEmbededLinkEnricher.cs @@ -108,7 +108,7 @@ public override int Enrich(WorkItemData sourceWorkItem, WorkItemData targetWorkI { var replaceValue = value; field.Value = field.Value.ToString().Replace(anchorTagMatch.Value, replaceValue); - Log.LogError("{LogTypeName}: [SKIP] Matching target work item mention link for source work item {workItemId} mention link on field {fieldName} on target work item {targetWorkItemId} was not found on the target collection. So link is replaced with just simple text.", LogTypeName, workItemId, field.Name, targetWorkItem.Id); + Log.LogWarning("{LogTypeName}: [SKIP] Matching target work item mention link for source work item {workItemId} mention link on field {fieldName} on target work item {targetWorkItemId} was not found on the target collection. So link is replaced with just simple text.", LogTypeName, workItemId, field.Name, targetWorkItem.Id); } } else From bbe5ddba52ae5cea071b9e8421854116d5620d88 Mon Sep 17 00:00:00 2001 From: "Martin Hinshelwood nkdAgility.com" Date: Tue, 6 Aug 2024 16:22:00 +0100 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=9D=20(main.yml):=20update=20Choco?= =?UTF-8?q?latey=20package=20name=20in=20documentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Chocolatey package name is updated from `nkdagility.azure-devops-migration-tools` to `vsts-sync-migrator` to reflect the correct package name. This ensures users can install the correct package without encountering errors. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8cfc18a9c..b49026f4a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -303,7 +303,7 @@ jobs: - Download the [MigrationTools-${{ needs.Setup.outputs.GitVersion_SemVer }}.zip](https://github.com/nkdAgility/azure-devops-migration-tools/releases/download/v${{ needs.Setup.outputs.GitVersion_SemVer }}/MigrationTools-${{ needs.Setup.outputs.GitVersion_SemVer }}.zip) file below - Install with Winget with `winget install ${{needs.Setup.outputs.nkdAgility_WingetApplicationId}} --version ${{ needs.Setup.outputs.GitVersion_SemVer }}` . There is a delay for aprovals on the winget store, so you may need to wait a few days before this is available. - - Install with Chocolatey with `choco install nkdagility.azure-devops-migration-tools --version ${{ needs.Setup.outputs.GitVersion_NuGetVersion }}`. There is a delay for aprovals on the chocolatey store, so you may need to wait a few hours before this is available. + - Install with Chocolatey with `choco install vsts-sync-migrator --version ${{ needs.Setup.outputs.GitVersion_NuGetVersion }}`. There is a delay for aprovals on the chocolatey store, so you may need to wait a few hours before this is available. append_body: true