From 1bdb62aabc6402100096a9ae2fbf9aa1546343da Mon Sep 17 00:00:00 2001 From: Pascal Berger Date: Sat, 18 Jul 2020 22:50:07 +0200 Subject: [PATCH 1/5] Update release notes link --- .../Cake.Issues.PullRequests.AzureDevOps.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj b/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj index f551874..186c5f4 100644 --- a/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj +++ b/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj @@ -30,7 +30,7 @@ See the Project Site for an overview of the whole ecosystem of addins for workin MIT git https://github.com/cake-contrib/Cake.Issues.PullRequests.AzureDevOps.git - https://github.com/cake-contrib/Cake.Issues.PullRequests.AzureDevOps/releases/tag/0.8.0 + https://github.com/cake-contrib/Cake.Issues.PullRequests.AzureDevOps/releases/tag/0.9.0 From 0637320115919c57435157cea1f951d3bcaf98b9 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sat, 1 Aug 2020 16:14:22 +0200 Subject: [PATCH 2/5] Bump Cake.Issues from 0.9.0-beta0002 to 0.9.0-beta0004 in /src (#186) * Bump Cake.Issues from 0.9.0-beta0002 to 0.9.0-beta0004 in /src Bumps [Cake.Issues](https://github.com/cake-contrib/Cake.Issues) from 0.9.0-beta0002 to 0.9.0-beta0004. - [Release notes](https://github.com/cake-contrib/Cake.Issues/releases) - [Changelog](https://github.com/cake-contrib/Cake.Issues/blob/develop/GitReleaseManager.yaml) - [Commits](https://github.com/cake-contrib/Cake.Issues/commits) Signed-off-by: dependabot-preview[bot] * Bump Cake.Issues.Testing from 0.9.0-beta0002 to 0.9.0-beta0004 in /src Bumps [Cake.Issues.Testing](https://github.com/cake-contrib/Cake.Issues) from 0.9.0-beta0002 to 0.9.0-beta0004. - [Release notes](https://github.com/cake-contrib/Cake.Issues/releases) - [Changelog](https://github.com/cake-contrib/Cake.Issues/blob/develop/GitReleaseManager.yaml) - [Commits](https://github.com/cake-contrib/Cake.Issues/commits) Signed-off-by: dependabot-preview[bot] * Bump Cake.Issues.PullRequests in /src Bumps [Cake.Issues.PullRequests](https://github.com/cake-contrib/Cake.Issues.PullRequests) from 0.9.0-beta0002 to 0.9.0-beta0003. - [Release notes](https://github.com/cake-contrib/Cake.Issues.PullRequests/releases) - [Changelog](https://github.com/cake-contrib/Cake.Issues.PullRequests/blob/develop/GitReleaseManager.yaml) - [Commits](https://github.com/cake-contrib/Cake.Issues.PullRequests/commits) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- .../Cake.Issues.PullRequests.AzureDevOps.Tests.csproj | 8 ++++---- .../Cake.Issues.PullRequests.AzureDevOps.csproj | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Cake.Issues.PullRequests.AzureDevOps.Tests.csproj b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Cake.Issues.PullRequests.AzureDevOps.Tests.csproj index bbf49e5..4ee6da8 100644 --- a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Cake.Issues.PullRequests.AzureDevOps.Tests.csproj +++ b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Cake.Issues.PullRequests.AzureDevOps.Tests.csproj @@ -16,9 +16,9 @@ - - - + + + @@ -33,4 +33,4 @@ - \ No newline at end of file + diff --git a/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj b/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj index 186c5f4..13e3b0d 100644 --- a/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj +++ b/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj @@ -43,8 +43,8 @@ See the Project Site for an overview of the whole ecosystem of addins for workin - - + + @@ -53,4 +53,4 @@ See the Project Site for an overview of the whole ecosystem of addins for workin - \ No newline at end of file + From 2939b2f84775ec54d6b6736ac2276592dfe0c69b Mon Sep 17 00:00:00 2001 From: Pascal Berger Date: Mon, 17 Aug 2020 08:25:05 +0200 Subject: [PATCH 3/5] Update Cake.AzureDevOps to 0.5.0-beta.1 (#196) * Update Cake.AzureDevOps to 0.5.0-beta.1 * Update code to Cake.AzureDevOps 0.5.0-beta.1 --- .../AzureDevOpsPullRequestSystemSettingsTests.cs | 11 ++++++----- .../Cake.Issues.PullRequests.AzureDevOps.Tests.csproj | 2 +- .../Capabilities/CommentExtensionsTests.cs | 2 +- .../CommentThreadStatusExtensionsTests.cs | 2 +- .../GitPullRequestCommentThreadExtensionsTests.cs | 2 +- .../AzureDevOpsPullRequestSystem.cs | 4 ++-- .../AzureDevOpsPullRequestSystemSettings.cs | 2 +- .../Cake.Issues.PullRequests.AzureDevOps.csproj | 2 +- .../Capabilities/AzureDevOpsCommentExtensions.cs | 2 +- .../AzureDevOpsCommentThreadStatusExtensions.cs | 2 +- .../AzureDevOpsPullRequestCommentThreadExtensions.cs | 2 +- .../IAzureDevOpsPullRequestSystem.cs | 2 +- 12 files changed, 18 insertions(+), 17 deletions(-) diff --git a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/AzureDevOpsPullRequestSystemSettingsTests.cs b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/AzureDevOpsPullRequestSystemSettingsTests.cs index e8b40d1..02956b9 100644 --- a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/AzureDevOpsPullRequestSystemSettingsTests.cs +++ b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/AzureDevOpsPullRequestSystemSettingsTests.cs @@ -1,6 +1,7 @@ namespace Cake.Issues.PullRequests.AzureDevOps.Tests { using System; + using Cake.AzureDevOps.Authentication; using Cake.Issues.Testing; using Xunit; @@ -12,7 +13,7 @@ public sealed class TheCtor public void Should_Throw_If_RepositoryUrl_For_SourceRefName_Is_Null() { // Given / When - var result = Record.Exception(() => new AzureDevOpsPullRequestSystemSettings(null, "foo", null)); + var result = Record.Exception(() => new AzureDevOpsPullRequestSystemSettings(null, "foo", new AzureDevOpsNtlmCredentials())); // Then result.IsArgumentNullException("repositoryUrl"); @@ -22,7 +23,7 @@ public void Should_Throw_If_RepositoryUrl_For_SourceRefName_Is_Null() public void Should_Throw_If_SourceRefName_Is_Null() { // Given / When - var result = Record.Exception(() => new AzureDevOpsPullRequestSystemSettings(new Uri("http://example.com"), null, null)); + var result = Record.Exception(() => new AzureDevOpsPullRequestSystemSettings(new Uri("http://example.com"), null, new AzureDevOpsNtlmCredentials())); // Then result.IsArgumentNullException("sourceRefName"); @@ -32,7 +33,7 @@ public void Should_Throw_If_SourceRefName_Is_Null() public void Should_Throw_If_SourceRefName_Is_Empty() { // Given / When - var result = Record.Exception(() => new AzureDevOpsPullRequestSystemSettings(new Uri("http://example.com"), string.Empty, null)); + var result = Record.Exception(() => new AzureDevOpsPullRequestSystemSettings(new Uri("http://example.com"), string.Empty, new AzureDevOpsNtlmCredentials())); // Then result.IsArgumentOutOfRangeException("sourceRefName"); @@ -42,7 +43,7 @@ public void Should_Throw_If_SourceRefName_Is_Empty() public void Should_Throw_If_SourceRefName_Is_WhiteSpace() { // Given / When - var result = Record.Exception(() => new AzureDevOpsPullRequestSystemSettings(new Uri("http://example.com"), " ", null)); + var result = Record.Exception(() => new AzureDevOpsPullRequestSystemSettings(new Uri("http://example.com"), " ", new AzureDevOpsNtlmCredentials())); // Then result.IsArgumentOutOfRangeException("sourceRefName"); @@ -52,7 +53,7 @@ public void Should_Throw_If_SourceRefName_Is_WhiteSpace() public void Should_Throw_If_RepositoryUrl_For_PullRequestId_Is_Null() { // Given / When - var result = Record.Exception(() => new AzureDevOpsPullRequestSystemSettings(null, 0, null)); + var result = Record.Exception(() => new AzureDevOpsPullRequestSystemSettings(null, 0, new AzureDevOpsNtlmCredentials())); // Then result.IsArgumentNullException("repositoryUrl"); diff --git a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Cake.Issues.PullRequests.AzureDevOps.Tests.csproj b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Cake.Issues.PullRequests.AzureDevOps.Tests.csproj index 4ee6da8..202fc11 100644 --- a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Cake.Issues.PullRequests.AzureDevOps.Tests.csproj +++ b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Cake.Issues.PullRequests.AzureDevOps.Tests.csproj @@ -20,7 +20,7 @@ - + diff --git a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/CommentExtensionsTests.cs b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/CommentExtensionsTests.cs index d526150..8dec569 100644 --- a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/CommentExtensionsTests.cs +++ b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/CommentExtensionsTests.cs @@ -1,6 +1,6 @@ namespace Cake.Issues.PullRequests.AzureDevOps.Tests.Capabilities { - using Cake.AzureDevOps.PullRequest.CommentThread; + using Cake.AzureDevOps.Repos.PullRequest.CommentThread; using Cake.Issues.PullRequests.AzureDevOps.Capabilities; using Cake.Issues.Testing; using Shouldly; diff --git a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/CommentThreadStatusExtensionsTests.cs b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/CommentThreadStatusExtensionsTests.cs index b9ad454..40ab28e 100644 --- a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/CommentThreadStatusExtensionsTests.cs +++ b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/CommentThreadStatusExtensionsTests.cs @@ -1,6 +1,6 @@ namespace Cake.Issues.PullRequests.AzureDevOps.Tests.Capabilities { - using Cake.AzureDevOps.PullRequest.CommentThread; + using Cake.AzureDevOps.Repos.PullRequest.CommentThread; using Cake.Issues.PullRequests.AzureDevOps.Capabilities; using Shouldly; using Xunit; diff --git a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/GitPullRequestCommentThreadExtensionsTests.cs b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/GitPullRequestCommentThreadExtensionsTests.cs index ea3b0b1..1fac687 100644 --- a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/GitPullRequestCommentThreadExtensionsTests.cs +++ b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/GitPullRequestCommentThreadExtensionsTests.cs @@ -2,7 +2,7 @@ { using System.Collections.Generic; using System.Linq; - using Cake.AzureDevOps.PullRequest.CommentThread; + using Cake.AzureDevOps.Repos.PullRequest.CommentThread; using Cake.Issues.PullRequests.AzureDevOps.Capabilities; using Cake.Issues.Testing; using Shouldly; diff --git a/src/Cake.Issues.PullRequests.AzureDevOps/AzureDevOpsPullRequestSystem.cs b/src/Cake.Issues.PullRequests.AzureDevOps/AzureDevOpsPullRequestSystem.cs index b6c15e8..bb67fdf 100644 --- a/src/Cake.Issues.PullRequests.AzureDevOps/AzureDevOpsPullRequestSystem.cs +++ b/src/Cake.Issues.PullRequests.AzureDevOps/AzureDevOpsPullRequestSystem.cs @@ -4,8 +4,8 @@ using System.Collections.Generic; using System.Globalization; using System.Linq; - using Cake.AzureDevOps.PullRequest; - using Cake.AzureDevOps.PullRequest.CommentThread; + using Cake.AzureDevOps.Repos.PullRequest; + using Cake.AzureDevOps.Repos.PullRequest.CommentThread; using Cake.Core.Diagnostics; using Cake.Core.IO; using Cake.Issues.PullRequests.AzureDevOps.Capabilities; diff --git a/src/Cake.Issues.PullRequests.AzureDevOps/AzureDevOpsPullRequestSystemSettings.cs b/src/Cake.Issues.PullRequests.AzureDevOps/AzureDevOpsPullRequestSystemSettings.cs index ac5c3eb..54983ac 100644 --- a/src/Cake.Issues.PullRequests.AzureDevOps/AzureDevOpsPullRequestSystemSettings.cs +++ b/src/Cake.Issues.PullRequests.AzureDevOps/AzureDevOpsPullRequestSystemSettings.cs @@ -2,7 +2,7 @@ { using System; using Cake.AzureDevOps.Authentication; - using Cake.AzureDevOps.PullRequest; + using Cake.AzureDevOps.Repos.PullRequest; /// /// Settings for . diff --git a/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj b/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj index 13e3b0d..da40263 100644 --- a/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj +++ b/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj @@ -45,7 +45,7 @@ See the Project Site for an overview of the whole ecosystem of addins for workin - + diff --git a/src/Cake.Issues.PullRequests.AzureDevOps/Capabilities/AzureDevOpsCommentExtensions.cs b/src/Cake.Issues.PullRequests.AzureDevOps/Capabilities/AzureDevOpsCommentExtensions.cs index a687e82..390ee96 100644 --- a/src/Cake.Issues.PullRequests.AzureDevOps/Capabilities/AzureDevOpsCommentExtensions.cs +++ b/src/Cake.Issues.PullRequests.AzureDevOps/Capabilities/AzureDevOpsCommentExtensions.cs @@ -1,6 +1,6 @@ namespace Cake.Issues.PullRequests.AzureDevOps.Capabilities { - using Cake.AzureDevOps.PullRequest.CommentThread; + using Cake.AzureDevOps.Repos.PullRequest.CommentThread; /// /// Extensions for . diff --git a/src/Cake.Issues.PullRequests.AzureDevOps/Capabilities/AzureDevOpsCommentThreadStatusExtensions.cs b/src/Cake.Issues.PullRequests.AzureDevOps/Capabilities/AzureDevOpsCommentThreadStatusExtensions.cs index 60571ad..f062ff8 100644 --- a/src/Cake.Issues.PullRequests.AzureDevOps/Capabilities/AzureDevOpsCommentThreadStatusExtensions.cs +++ b/src/Cake.Issues.PullRequests.AzureDevOps/Capabilities/AzureDevOpsCommentThreadStatusExtensions.cs @@ -1,6 +1,6 @@ namespace Cake.Issues.PullRequests.AzureDevOps.Capabilities { - using Cake.AzureDevOps.PullRequest.CommentThread; + using Cake.AzureDevOps.Repos.PullRequest.CommentThread; /// /// Extensions for enumeration. diff --git a/src/Cake.Issues.PullRequests.AzureDevOps/Capabilities/AzureDevOpsPullRequestCommentThreadExtensions.cs b/src/Cake.Issues.PullRequests.AzureDevOps/Capabilities/AzureDevOpsPullRequestCommentThreadExtensions.cs index 0b7fc2a..1772299 100644 --- a/src/Cake.Issues.PullRequests.AzureDevOps/Capabilities/AzureDevOpsPullRequestCommentThreadExtensions.cs +++ b/src/Cake.Issues.PullRequests.AzureDevOps/Capabilities/AzureDevOpsPullRequestCommentThreadExtensions.cs @@ -1,7 +1,7 @@ namespace Cake.Issues.PullRequests.AzureDevOps.Capabilities { using System.Linq; - using Cake.AzureDevOps.PullRequest.CommentThread; + using Cake.AzureDevOps.Repos.PullRequest.CommentThread; /// /// Extensions for . diff --git a/src/Cake.Issues.PullRequests.AzureDevOps/IAzureDevOpsPullRequestSystem.cs b/src/Cake.Issues.PullRequests.AzureDevOps/IAzureDevOpsPullRequestSystem.cs index 96887cf..2aae084 100644 --- a/src/Cake.Issues.PullRequests.AzureDevOps/IAzureDevOpsPullRequestSystem.cs +++ b/src/Cake.Issues.PullRequests.AzureDevOps/IAzureDevOpsPullRequestSystem.cs @@ -1,6 +1,6 @@ namespace Cake.Issues.PullRequests.AzureDevOps { - using Cake.AzureDevOps.PullRequest; + using Cake.AzureDevOps.Repos.PullRequest; /// /// Interface for writing issues to Azure DevOps pull requests. From 41af3dd576541c2370b26c3d9c5ae0d59681f0c5 Mon Sep 17 00:00:00 2001 From: Pascal Berger Date: Fri, 21 Aug 2020 23:55:20 +0200 Subject: [PATCH 4/5] Update Cake.AzureDevOps to 0.5.0 --- .../Cake.Issues.PullRequests.AzureDevOps.Tests.csproj | 2 +- .../Cake.Issues.PullRequests.AzureDevOps.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Cake.Issues.PullRequests.AzureDevOps.Tests.csproj b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Cake.Issues.PullRequests.AzureDevOps.Tests.csproj index 202fc11..cff58f9 100644 --- a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Cake.Issues.PullRequests.AzureDevOps.Tests.csproj +++ b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Cake.Issues.PullRequests.AzureDevOps.Tests.csproj @@ -20,7 +20,7 @@ - + diff --git a/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj b/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj index da40263..a4947e6 100644 --- a/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj +++ b/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj @@ -45,7 +45,7 @@ See the Project Site for an overview of the whole ecosystem of addins for workin - + From c906a29845de9e9424c89d0c51e254bf5c7491eb Mon Sep 17 00:00:00 2001 From: Pascal Berger Date: Sat, 22 Aug 2020 20:44:54 +0200 Subject: [PATCH 5/5] Update to Cake.Issues 0.9.0 final --- .../Cake.Issues.PullRequests.AzureDevOps.Tests.csproj | 6 +++--- .../Cake.Issues.PullRequests.AzureDevOps.csproj | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Cake.Issues.PullRequests.AzureDevOps.Tests.csproj b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Cake.Issues.PullRequests.AzureDevOps.Tests.csproj index cff58f9..7e18af9 100644 --- a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Cake.Issues.PullRequests.AzureDevOps.Tests.csproj +++ b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Cake.Issues.PullRequests.AzureDevOps.Tests.csproj @@ -16,9 +16,9 @@ - - - + + + diff --git a/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj b/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj index a4947e6..3213abb 100644 --- a/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj +++ b/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj @@ -43,8 +43,8 @@ See the Project Site for an overview of the whole ecosystem of addins for workin - - + +