Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eng/update-dependencies/AzdoAuthProvider.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using Maestro.Common.AzureDevOpsTokens;
using Microsoft.DotNet.Internal.AzureDevOps.Authentication;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.Services.Common;
Expand Down
4 changes: 2 additions & 2 deletions eng/update-dependencies/Git/RemoteGitRepoHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ public async Task<string> CreatePullRequestAsync(PullRequestCreationInfo request
"Creating pull request '{PrTitle}' from branch {PrHeadBranch} to {PrBaseBranch}",
darcPullRequest.Title, darcPullRequest.HeadBranch, darcPullRequest.BaseBranch);

var pullRequestApiUrl = await _remoteGitRepo.CreatePullRequestAsync(RemoteUrl, darcPullRequest);
var pullRequestInfo = await GetPullRequestInfoAsync(pullRequestApiUrl);
var pullRequestInfo = await _remoteGitRepo.CreatePullRequestAsync(RemoteUrl, darcPullRequest);
var pullRequestApiUrl = pullRequestInfo.Url;

_logger.LogInformation(
"Created pull request {PullRequestTitle} at {PullRequestUrl}",
Expand Down
4 changes: 3 additions & 1 deletion eng/update-dependencies/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@

using System.CommandLine;
using Maestro.Common;
using Maestro.Common.AzureDevOpsTokens;
using Maestro.Common.Telemetry;
using Microsoft.DotNet.DarcLib;
using Microsoft.DotNet.DarcLib.Helpers;
using Microsoft.DotNet.Docker.UpdateDependencies;
using Microsoft.DotNet.Docker.UpdateDependencies.Commands;
using Microsoft.DotNet.Docker.UpdateDependencies.Git;
using Microsoft.DotNet.Docker.UpdateDependencies.Sync;
using Microsoft.DotNet.Docker.UpdateDependencies.Updaters;
using Microsoft.DotNet.Internal.AzureDevOps.Authentication;
using Microsoft.DotNet.Internal.Credentials;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
Expand Down
8 changes: 4 additions & 4 deletions eng/update-dependencies/update-dependencies.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Azure.Identity" Version="1.14.2" />
<PackageReference Include="Azure.Identity" Version="1.21.0" />
<PackageReference Include="Azure.Storage.Blobs" Version="12.24.0" />
<PackageReference Include="LibGit2Sharp" Version="0.30.0" />
<PackageReference Include="Microsoft.DotNet.DarcLib" Version="1.1.0-beta.25461.2" />
<PackageReference Include="LibGit2Sharp" Version="0.32.0" />
<PackageReference Include="Microsoft.DotNet.DarcLib" Version="1.1.0-beta.26519.4" />
<PackageReference Include="Microsoft.DotNet.GitAutomation" Version="0.3.0-beta.26453.2" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.11" />
<PackageReference Include="Microsoft.TeamFoundationServer.Client" Version="19.232.0-preview" />
<PackageReference Include="Microsoft.TeamFoundationServer.Client" Version="20.264.0-preview" />
<PackageReference Include="Octokit" Version="14.0.0" />
<PackageReference Include="System.CommandLine" Version="2.0.2" />
</ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions tests/UpdateDependencies.Tests/TempRepo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
// The .NET Foundation licenses this file to you under the MIT license.

using Maestro.Common;
using Maestro.Common.Telemetry;
using Microsoft.DotNet.DarcLib;
using Microsoft.DotNet.DarcLib.Helpers;
using Microsoft.DotNet.Internal.Credentials;
using Microsoft.Extensions.Logging;

namespace UpdateDependencies.Tests;
Expand Down
Loading