From 5a06ace4697cef56a95a117e265d673cf5a42841 Mon Sep 17 00:00:00 2001
From: "dotnet-maestro[bot]"
<42748379+dotnet-maestro[bot]@users.noreply.github.com>
Date: Thu, 24 Nov 2022 10:44:49 +0000
Subject: [PATCH] [main] Update dependencies from dotnet/arcade-services
(#15030)
[main] Update dependencies from dotnet/arcade-services
- Add N/A tokens
- Remove IRemoteFactory
---
.config/dotnet-tools.json | 2 +-
eng/Version.Details.xml | 8 ++--
eng/Versions.props | 2 +-
src/VirtualMonoRepo/Tasks/RemoteFactory.cs | 42 -------------------
.../Tasks/VirtualMonoRepo_Initialize.cs | 3 +-
5 files changed, 7 insertions(+), 50 deletions(-)
delete mode 100644 src/VirtualMonoRepo/Tasks/RemoteFactory.cs
diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json
index 26b81283a..c0c165e09 100644
--- a/.config/dotnet-tools.json
+++ b/.config/dotnet-tools.json
@@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"microsoft.dotnet.darc": {
- "version": "1.1.0-beta.22561.2",
+ "version": "1.1.0-beta.22573.3",
"commands": [
"darc"
]
diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml
index 88dd16791..139873ebb 100644
--- a/eng/Version.Details.xml
+++ b/eng/Version.Details.xml
@@ -205,13 +205,13 @@
https://github.com/dotnet/arcade
80b6be47e1425ea90c5febffac119250043a0c92
-
+
https://github.com/dotnet/arcade-services
- e1c11c90d26581339cca9684399250101cbbc3bb
+ a0237ac5a1c16bca4ede7a6201f2abb165dcaabc
-
+
https://github.com/dotnet/arcade-services
- e1c11c90d26581339cca9684399250101cbbc3bb
+ a0237ac5a1c16bca4ede7a6201f2abb165dcaabc
https://github.com/dotnet/runtime
diff --git a/eng/Versions.props b/eng/Versions.props
index 3fb6360fd..94f1cefb3 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -30,7 +30,7 @@
- 1.1.0-beta.22561.2
+ 1.1.0-beta.22573.3
diff --git a/src/VirtualMonoRepo/Tasks/RemoteFactory.cs b/src/VirtualMonoRepo/Tasks/RemoteFactory.cs
deleted file mode 100644
index 24d8914f3..000000000
--- a/src/VirtualMonoRepo/Tasks/RemoteFactory.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-
-using System;
-using System.Threading.Tasks;
-using Microsoft.DotNet.DarcLib;
-using Microsoft.DotNet.DarcLib.Helpers;
-using Microsoft.Extensions.Logging;
-
-namespace Microsoft.DotNet.VirtualMonoRepo.Tasks;
-
-internal class RemoteFactory : IRemoteFactory
-{
- private readonly IProcessManager _processManager;
- private readonly IVersionDetailsParser _versionDetailsParser;
- private readonly string _tmpPath;
-
- public RemoteFactory(IProcessManager processManager, IVersionDetailsParser versionDetailsParser, string tmpPath)
- {
- _processManager = processManager;
- _versionDetailsParser = versionDetailsParser;
- _tmpPath = tmpPath;
- }
-
- public Task GetBarOnlyRemoteAsync(ILogger logger)
- {
- throw new NotImplementedException();
- }
-
- public Task GetRemoteAsync(string repoUrl, ILogger logger)
- {
- var githubClient = new DarcLib.GitHubClient(
- _processManager.GitExecutable,
- accessToken: null,
- logger,
- _tmpPath,
- cache: null);
-
- IRemote remote = new Remote(githubClient, barClient: null, _versionDetailsParser, logger);
- return Task.FromResult(remote);
- }
-}
diff --git a/src/VirtualMonoRepo/Tasks/VirtualMonoRepo_Initialize.cs b/src/VirtualMonoRepo/Tasks/VirtualMonoRepo_Initialize.cs
index 7a28720d9..6390e4b56 100644
--- a/src/VirtualMonoRepo/Tasks/VirtualMonoRepo_Initialize.cs
+++ b/src/VirtualMonoRepo/Tasks/VirtualMonoRepo_Initialize.cs
@@ -61,7 +61,6 @@ public class VirtualMonoRepo_Initialize : Build.Utilities.Task, ICancelableTask
private IServiceProvider CreateServiceProvider() => new ServiceCollection()
.AddLogging(b => b.AddConsole().AddFilter(l => l >= LogLevel.Information))
- .AddSingleton(sp => ActivatorUtilities.CreateInstance(sp, TmpPath))
- .AddVmrManagers("git", sp => new VmrInfo(VmrPath, TmpPath))
+ .AddVmrManagers("git", VmrPath, TmpPath, null, null)
.BuildServiceProvider();
}