dependabot-nuget 0.346.0 → 0.347.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/helpers/lib/NuGetUpdater/NuGetProjects/Directory.Build.props +4 -0
- data/helpers/lib/NuGetUpdater/NuGetProjects/NuGet.Build.Tasks/NuGet.Build.Tasks.csproj +1 -0
- data/helpers/lib/NuGetUpdater/NuGetProjects/NuGet.Build.Tasks.Pack/NuGet.Build.Tasks.Pack.csproj +28 -0
- data/helpers/lib/NuGetUpdater/NuGetUpdater.Cli/Commands/RunCommand.cs +2 -1
- data/helpers/lib/NuGetUpdater/NuGetUpdater.Cli.Test/EntryPointTests.Run.cs +78 -2
- data/helpers/lib/NuGetUpdater/NuGetUpdater.Core/FrameworkChecker/SupportedFrameworks.cs +12 -0
- data/helpers/lib/NuGetUpdater/NuGetUpdater.Core/Run/RunWorker.cs +10 -5
- data/helpers/lib/NuGetUpdater/NuGetUpdater.Core.Test/Discover/DiscoveryWorkerTests.Project.cs +0 -47
- data/helpers/lib/NuGetUpdater/NuGetUpdater.Core.Test/FrameworkChecker/CompatibilityCheckerFacts.cs +2 -0
- data/helpers/lib/NuGetUpdater/NuGetUpdater.Core.Test/FrameworkChecker/FrameworkCompatibilityServiceFacts.cs +1 -1
- data/helpers/lib/NuGetUpdater/NuGetUpdater.sln +7 -0
- data/helpers/lib/NuGetUpdater/global.json +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: da9cef14339b67d5ca762313740cdd74cd6f5da3cb95b500cd26d859247ade11
|
|
4
|
+
data.tar.gz: 8f62b4d3b6a2bade7ad801141bf4c720dbde9b1af7255ff7ba61f255d3fb746e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: defdaec5ceb1970b9503d6e354491fcacf209ae858e1486c664e407bfd67bbbf454d21465f487d2ad4f3e89bc1373da1b7fc870f3ed948b09d6c24062610d969
|
|
7
|
+
data.tar.gz: 2236ac46be0f2606d395e6e90194329c49da81ec3feba63cf0560ff7e077ee2f64ae072fbe73cf2848781831a760608f5f9eabbb77ba47d48434b82f23b952f1
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
</PropertyGroup>
|
|
7
7
|
|
|
8
8
|
<ItemGroup>
|
|
9
|
+
<ProjectReference Include="..\NuGet.Build.Tasks.Pack\NuGet.Build.Tasks.Pack.csproj" />
|
|
9
10
|
<ProjectReference Include="..\NuGet.Commands\NuGet.Commands.csproj" />
|
|
10
11
|
<ProjectReference Include="..\NuGet.PackageManagement\NuGet.PackageManagement.csproj" />
|
|
11
12
|
</ItemGroup>
|
data/helpers/lib/NuGetUpdater/NuGetProjects/NuGet.Build.Tasks.Pack/NuGet.Build.Tasks.Pack.csproj
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<Project Sdk="Microsoft.NET.Sdk">
|
|
2
|
+
|
|
3
|
+
<PropertyGroup>
|
|
4
|
+
<TargetFramework>$(CommonTargetFramework)</TargetFramework>
|
|
5
|
+
<NoWarn>$(NoWarn);CS1591</NoWarn>
|
|
6
|
+
<DefineConstants>$(DefineConstants);PACK_TASKS</DefineConstants>
|
|
7
|
+
</PropertyGroup>
|
|
8
|
+
|
|
9
|
+
<ItemGroup>
|
|
10
|
+
<ProjectReference Include="..\NuGet.Commands\NuGet.Commands.csproj" />
|
|
11
|
+
</ItemGroup>
|
|
12
|
+
|
|
13
|
+
<ItemGroup>
|
|
14
|
+
<PackageReference Include="Microsoft.Build.Framework" ExcludeAssets="runtime" />
|
|
15
|
+
<PackageReference Include="Microsoft.Build.Tasks.Core" ExcludeAssets="runtime" />
|
|
16
|
+
<PackageReference Include="Microsoft.Build.Utilities.Core" ExcludeAssets="runtime" />
|
|
17
|
+
</ItemGroup>
|
|
18
|
+
|
|
19
|
+
<ItemGroup>
|
|
20
|
+
<Compile Include="$(NuGetSourceLocation)\src\NuGet.Core\NuGet.Build.Tasks.Pack\**\*.cs" />
|
|
21
|
+
<Compile Include="$(NuGetSourceLocation)\src\NuGet.Core\NuGet.Build.Tasks\Common\MSBuildLogger.cs" />
|
|
22
|
+
</ItemGroup>
|
|
23
|
+
|
|
24
|
+
<ItemGroup>
|
|
25
|
+
<EmbeddedResource Include="$(NuGetSourceLocation)\src\NuGet.Core\NuGet.Build.Tasks.Pack\**\*.resx" />
|
|
26
|
+
</ItemGroup>
|
|
27
|
+
|
|
28
|
+
</Project>
|
|
@@ -50,7 +50,8 @@ internal static class RunCommand
|
|
|
50
50
|
var analyzeWorker = new AnalyzeWorker(jobId!, experimentsManager, logger);
|
|
51
51
|
var updateWorker = new UpdaterWorker(jobId!, experimentsManager, logger);
|
|
52
52
|
var worker = new RunWorker(jobId!, apiHandler, discoverWorker, analyzeWorker, updateWorker, logger);
|
|
53
|
-
await worker.RunAsync(jobPath!, repoContentsPath!, caseInsensitiveRepoContentsPath, baseCommitSha!);
|
|
53
|
+
var result = await worker.RunAsync(jobPath!, repoContentsPath!, caseInsensitiveRepoContentsPath, baseCommitSha!);
|
|
54
|
+
setExitCode(result);
|
|
54
55
|
return 0;
|
|
55
56
|
});
|
|
56
57
|
|
|
@@ -67,7 +67,83 @@ public partial class EntryPointTests
|
|
|
67
67
|
);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
[Fact]
|
|
71
|
+
public async Task Run_ExitCodeIsSet()
|
|
72
|
+
{
|
|
73
|
+
using var http = TestHttpServer.CreateTestStringServer(url =>
|
|
74
|
+
{
|
|
75
|
+
var uri = new Uri(url, UriKind.Absolute);
|
|
76
|
+
var baseUrl = $"{uri.Scheme}://{uri.Host}:{uri.Port}";
|
|
77
|
+
return uri.PathAndQuery switch
|
|
78
|
+
{
|
|
79
|
+
// initial and search query are good, update should be possible...
|
|
80
|
+
"/index.json" => (200, $$"""
|
|
81
|
+
{
|
|
82
|
+
"version": "3.0.0",
|
|
83
|
+
"resources": [
|
|
84
|
+
{
|
|
85
|
+
"@id": "{{baseUrl}}/download",
|
|
86
|
+
"@type": "PackageBaseAddress/3.0.0"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"@id": "{{baseUrl}}/query",
|
|
90
|
+
"@type": "SearchQueryService"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"@id": "{{baseUrl}}/registrations",
|
|
94
|
+
"@type": "RegistrationsBaseUrl"
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
"""),
|
|
99
|
+
_ => (401, "") // everything else is unauthorized
|
|
100
|
+
};
|
|
101
|
+
});
|
|
102
|
+
var feedUrl = $"{http.BaseUrl.TrimEnd('/')}/index.json";
|
|
103
|
+
await RunAsync(
|
|
104
|
+
files: [
|
|
105
|
+
("NuGet.Config", $"""
|
|
106
|
+
<configuration>
|
|
107
|
+
<packageSources>
|
|
108
|
+
<clear />
|
|
109
|
+
<add key="private_feed" value="{feedUrl}" allowInsecureConnections="true" />
|
|
110
|
+
</packageSources>
|
|
111
|
+
</configuration>
|
|
112
|
+
"""),
|
|
113
|
+
("src/Directory.Build.props", "<Project />"),
|
|
114
|
+
("src/Directory.Build.targets", "<Project />"),
|
|
115
|
+
("src/Directory.Packages.props", "<Project />"),
|
|
116
|
+
("src/project.csproj", """
|
|
117
|
+
<Project Sdk="Microsoft.NET.Sdk">
|
|
118
|
+
<PropertyGroup>
|
|
119
|
+
<TargetFramework>net8.0</TargetFramework>
|
|
120
|
+
</PropertyGroup>
|
|
121
|
+
<ItemGroup>
|
|
122
|
+
<PackageReference Include="Some.Package" Version="1.2.3" />
|
|
123
|
+
</ItemGroup>
|
|
124
|
+
</Project>
|
|
125
|
+
""")
|
|
126
|
+
],
|
|
127
|
+
job: new Job()
|
|
128
|
+
{
|
|
129
|
+
Source = new()
|
|
130
|
+
{
|
|
131
|
+
Provider = "github",
|
|
132
|
+
Repo = "test",
|
|
133
|
+
Directory = "src",
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
expectedUrls:
|
|
137
|
+
[
|
|
138
|
+
"POST /update_jobs/TEST-ID/increment_metric",
|
|
139
|
+
"POST /update_jobs/TEST-ID/record_update_job_error",
|
|
140
|
+
"PATCH /update_jobs/TEST-ID/mark_as_processed",
|
|
141
|
+
],
|
|
142
|
+
expectedExitCode: 1
|
|
143
|
+
);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
private static async Task RunAsync(TestFile[] files, Job job, string[] expectedUrls, MockNuGetPackage[]? packages = null, string? repoContentsPath = null, int expectedExitCode = 0)
|
|
71
147
|
{
|
|
72
148
|
using var tempDirectory = new TemporaryDirectory();
|
|
73
149
|
|
|
@@ -124,7 +200,7 @@ public partial class EntryPointTests
|
|
|
124
200
|
throw;
|
|
125
201
|
}
|
|
126
202
|
|
|
127
|
-
Assert.True(result ==
|
|
203
|
+
Assert.True(result == expectedExitCode, $"Expected exit code {expectedExitCode} but got {result}.\nSTDOUT:\n" + output.ToString());
|
|
128
204
|
Assert.Equal(expectedUrls, actualUrls);
|
|
129
205
|
}
|
|
130
206
|
}
|
|
@@ -22,6 +22,7 @@ namespace NuGetGallery.Frameworks
|
|
|
22
22
|
{
|
|
23
23
|
public static readonly Version Version8 = new Version(8, 0, 0, 0);
|
|
24
24
|
public static readonly Version Version9 = new Version(9, 0, 0, 0);
|
|
25
|
+
public static readonly Version Version10 = new Version(10, 0, 0, 0);
|
|
25
26
|
|
|
26
27
|
public static readonly NuGetFramework MonoAndroid = new NuGetFramework(FrameworkIdentifiers.MonoAndroid, EmptyVersion);
|
|
27
28
|
public static readonly NuGetFramework MonoTouch = new NuGetFramework(FrameworkIdentifiers.MonoTouch, EmptyVersion);
|
|
@@ -61,6 +62,14 @@ namespace NuGetGallery.Frameworks
|
|
|
61
62
|
public static readonly NuGetFramework Net90TvOs = new NuGetFramework(FrameworkIdentifiers.NetCoreApp, Version9, "tvos", EmptyVersion);
|
|
62
63
|
public static readonly NuGetFramework Net90Windows = new NuGetFramework(FrameworkIdentifiers.NetCoreApp, Version9, "windows", EmptyVersion);
|
|
63
64
|
|
|
65
|
+
public static readonly NuGetFramework Net100 = new NuGetFramework(FrameworkIdentifiers.NetCoreApp, Version10);
|
|
66
|
+
public static readonly NuGetFramework Net100Android = new NuGetFramework(FrameworkIdentifiers.NetCoreApp, Version10, "android", EmptyVersion);
|
|
67
|
+
public static readonly NuGetFramework Net100Ios = new NuGetFramework(FrameworkIdentifiers.NetCoreApp, Version10, "ios", EmptyVersion);
|
|
68
|
+
public static readonly NuGetFramework Net100MacOs = new NuGetFramework(FrameworkIdentifiers.NetCoreApp, Version10, "macos", EmptyVersion);
|
|
69
|
+
public static readonly NuGetFramework Net100MacCatalyst = new NuGetFramework(FrameworkIdentifiers.NetCoreApp, Version10, "maccatalyst", EmptyVersion);
|
|
70
|
+
public static readonly NuGetFramework Net100TvOs = new NuGetFramework(FrameworkIdentifiers.NetCoreApp, Version10, "tvos", EmptyVersion);
|
|
71
|
+
public static readonly NuGetFramework Net100Windows = new NuGetFramework(FrameworkIdentifiers.NetCoreApp, Version10, "windows", EmptyVersion);
|
|
72
|
+
|
|
64
73
|
public static readonly NuGetFramework NetCore = new NuGetFramework(FrameworkIdentifiers.NetCore, EmptyVersion);
|
|
65
74
|
public static readonly NuGetFramework NetMf = new NuGetFramework(FrameworkIdentifiers.NetMicro, EmptyVersion);
|
|
66
75
|
public static readonly NuGetFramework UAP = new NuGetFramework(FrameworkIdentifiers.UAP, EmptyVersion);
|
|
@@ -74,6 +83,7 @@ namespace NuGetGallery.Frameworks
|
|
|
74
83
|
public static readonly NuGetFramework Net70Windows7 = new NuGetFramework(FrameworkIdentifiers.NetCoreApp, Version7, "windows", Version7);
|
|
75
84
|
public static readonly NuGetFramework Net80Windows7 = new NuGetFramework(FrameworkIdentifiers.NetCoreApp, Version8, "windows", Version7);
|
|
76
85
|
public static readonly NuGetFramework Net90Windows7 = new NuGetFramework(FrameworkIdentifiers.NetCoreApp, Version9, "windows", Version7);
|
|
86
|
+
public static readonly NuGetFramework Net100Windows7 = new NuGetFramework(FrameworkIdentifiers.NetCoreApp, Version10, "windows", Version7);
|
|
77
87
|
|
|
78
88
|
public static readonly IReadOnlyList<NuGetFramework> AllSupportedNuGetFrameworks;
|
|
79
89
|
|
|
@@ -89,6 +99,7 @@ namespace NuGetGallery.Frameworks
|
|
|
89
99
|
Net70, Net70Android, Net70Ios, Net70MacCatalyst, Net70MacOs, Net70TvOs, Net70Windows, Net70Windows7,
|
|
90
100
|
Net80, Net80Android, Net80Ios, Net80MacCatalyst, Net80MacOs, Net80TvOs, Net80Windows, Net80Windows7,
|
|
91
101
|
Net90, Net90Android, Net90Ios, Net90MacCatalyst, Net90MacOs, Net90TvOs, Net90Windows, Net90Windows7,
|
|
102
|
+
Net100, Net100Android, Net100Ios, Net100MacCatalyst, Net100MacOs, Net100TvOs, Net100Windows, Net100Windows7,
|
|
92
103
|
NetCore, NetCore45, NetCore451,
|
|
93
104
|
NetCoreApp10, NetCoreApp11, NetCoreApp20, NetCoreApp21, NetCoreApp22, NetCoreApp30, NetCoreApp31,
|
|
94
105
|
NetMf,
|
|
@@ -108,6 +119,7 @@ namespace NuGetGallery.Frameworks
|
|
|
108
119
|
{
|
|
109
120
|
public static readonly List<NuGetFramework> NetTfms =
|
|
110
121
|
[
|
|
122
|
+
Net100,
|
|
111
123
|
Net90,
|
|
112
124
|
Net80,
|
|
113
125
|
Net70,
|
|
@@ -40,17 +40,19 @@ public class RunWorker
|
|
|
40
40
|
_updaterWorker = updateWorker;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
public async Task RunAsync(FileInfo jobFilePath, DirectoryInfo repoContentsPath, DirectoryInfo? caseInsensitiveRepoContentsPath, string baseCommitSha)
|
|
43
|
+
public async Task<int> RunAsync(FileInfo jobFilePath, DirectoryInfo repoContentsPath, DirectoryInfo? caseInsensitiveRepoContentsPath, string baseCommitSha)
|
|
44
44
|
{
|
|
45
45
|
var jobFileContent = await File.ReadAllTextAsync(jobFilePath.FullName);
|
|
46
46
|
var jobWrapper = Deserialize(jobFileContent);
|
|
47
47
|
var experimentsManager = ExperimentsManager.GetExperimentsManager(jobWrapper.Job.Experiments);
|
|
48
|
-
await RunAsync(jobWrapper.Job, repoContentsPath, caseInsensitiveRepoContentsPath, baseCommitSha, experimentsManager);
|
|
48
|
+
var result = await RunAsync(jobWrapper.Job, repoContentsPath, caseInsensitiveRepoContentsPath, baseCommitSha, experimentsManager);
|
|
49
|
+
return result;
|
|
49
50
|
}
|
|
50
51
|
|
|
51
|
-
public async Task RunAsync(Job job, DirectoryInfo repoContentsPath, DirectoryInfo? caseInsensitiveRepoContentsPath, string baseCommitSha, ExperimentsManager experimentsManager)
|
|
52
|
+
public async Task<int> RunAsync(Job job, DirectoryInfo repoContentsPath, DirectoryInfo? caseInsensitiveRepoContentsPath, string baseCommitSha, ExperimentsManager experimentsManager)
|
|
52
53
|
{
|
|
53
|
-
await RunScenarioHandlersWithErrorHandlingAsync(job, repoContentsPath, caseInsensitiveRepoContentsPath, baseCommitSha, experimentsManager);
|
|
54
|
+
var result = await RunScenarioHandlersWithErrorHandlingAsync(job, repoContentsPath, caseInsensitiveRepoContentsPath, baseCommitSha, experimentsManager);
|
|
55
|
+
return result;
|
|
54
56
|
}
|
|
55
57
|
|
|
56
58
|
private static readonly ImmutableArray<IUpdateHandler> UpdateHandlers =
|
|
@@ -65,8 +67,9 @@ public class RunWorker
|
|
|
65
67
|
public static IUpdateHandler GetUpdateHandler(Job job) =>
|
|
66
68
|
UpdateHandlers.FirstOrDefault(h => h.CanHandle(job)) ?? throw new InvalidOperationException("Unable to find appropriate update handler.");
|
|
67
69
|
|
|
68
|
-
private async Task RunScenarioHandlersWithErrorHandlingAsync(Job job, DirectoryInfo repoContentsPath, DirectoryInfo? caseInsensitiveRepoContentsPath, string baseCommitSha, ExperimentsManager experimentsManager)
|
|
70
|
+
private async Task<int> RunScenarioHandlersWithErrorHandlingAsync(Job job, DirectoryInfo repoContentsPath, DirectoryInfo? caseInsensitiveRepoContentsPath, string baseCommitSha, ExperimentsManager experimentsManager)
|
|
69
71
|
{
|
|
72
|
+
int result = 0;
|
|
70
73
|
JobErrorBase? error = null;
|
|
71
74
|
|
|
72
75
|
try
|
|
@@ -83,9 +86,11 @@ public class RunWorker
|
|
|
83
86
|
if (error is not null)
|
|
84
87
|
{
|
|
85
88
|
await _apiHandler.RecordUpdateJobError(error, _logger);
|
|
89
|
+
result = 1;
|
|
86
90
|
}
|
|
87
91
|
|
|
88
92
|
await _apiHandler.MarkAsProcessed(new(baseCommitSha));
|
|
93
|
+
return result;
|
|
89
94
|
}
|
|
90
95
|
|
|
91
96
|
internal static ImmutableArray<UpdateOperationBase> PatchInOldVersions(ImmutableArray<UpdateOperationBase> updateOperations, ProjectDiscoveryResult? projectDiscovery)
|
data/helpers/lib/NuGetUpdater/NuGetUpdater.Core.Test/Discover/DiscoveryWorkerTests.Project.cs
CHANGED
|
@@ -258,53 +258,6 @@ public partial class DiscoveryWorkerTests
|
|
|
258
258
|
);
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
[Fact]
|
|
262
|
-
public async Task ReturnsDependenciesThatCannotBeEvaluated()
|
|
263
|
-
{
|
|
264
|
-
await TestDiscoveryAsync(
|
|
265
|
-
packages:
|
|
266
|
-
[
|
|
267
|
-
MockNuGetPackage.CreateSimplePackage("Package.A", "1.2.3", "net8.0"),
|
|
268
|
-
MockNuGetPackage.CreateSimplePackage("Package.B", "4.5.6", "net8.0"),
|
|
269
|
-
],
|
|
270
|
-
workspacePath: "",
|
|
271
|
-
files: [
|
|
272
|
-
("myproj.csproj", """
|
|
273
|
-
<Project Sdk="Microsoft.NET.Sdk">
|
|
274
|
-
<PropertyGroup>
|
|
275
|
-
<TargetFramework>net8.0</TargetFramework>
|
|
276
|
-
</PropertyGroup>
|
|
277
|
-
<ItemGroup>
|
|
278
|
-
<PackageReference Include="Package.A" Version="1.2.3" />
|
|
279
|
-
<PackageReference Include="Package.B" Version="$(ThisPropertyCannotBeResolved)" />
|
|
280
|
-
</ItemGroup>
|
|
281
|
-
</Project>
|
|
282
|
-
""")
|
|
283
|
-
],
|
|
284
|
-
expectedResult: new()
|
|
285
|
-
{
|
|
286
|
-
Path = "",
|
|
287
|
-
Projects = [
|
|
288
|
-
new()
|
|
289
|
-
{
|
|
290
|
-
FilePath = "myproj.csproj",
|
|
291
|
-
Dependencies = [
|
|
292
|
-
new("Package.A", "1.2.3", DependencyType.PackageReference, TargetFrameworks: ["net8.0"], IsDirect: true),
|
|
293
|
-
new("Package.B", "4.5.6", DependencyType.PackageReference, TargetFrameworks: ["net8.0"], IsDirect: true),
|
|
294
|
-
],
|
|
295
|
-
Properties = [
|
|
296
|
-
new("TargetFramework", "net8.0", "myproj.csproj"),
|
|
297
|
-
],
|
|
298
|
-
TargetFrameworks = ["net8.0"],
|
|
299
|
-
ReferencedProjectPaths = [],
|
|
300
|
-
ImportedFiles = [],
|
|
301
|
-
AdditionalFiles = [],
|
|
302
|
-
}
|
|
303
|
-
],
|
|
304
|
-
}
|
|
305
|
-
);
|
|
306
|
-
}
|
|
307
|
-
|
|
308
261
|
[Fact]
|
|
309
262
|
public async Task TargetFrameworkCanBeResolvedFromImplicitlyImportedFile()
|
|
310
263
|
{
|
data/helpers/lib/NuGetUpdater/NuGetUpdater.Core.Test/FrameworkChecker/CompatibilityCheckerFacts.cs
CHANGED
|
@@ -7,6 +7,8 @@ namespace NuGetUpdater.Core.Test.FrameworkChecker;
|
|
|
7
7
|
public class CompatibilityCheckerFacts
|
|
8
8
|
{
|
|
9
9
|
[Theory]
|
|
10
|
+
[InlineData("net10.0", "net10.0")]
|
|
11
|
+
[InlineData("net10.0", "net9.0")]
|
|
10
12
|
[InlineData("net9.0", "net9.0")]
|
|
11
13
|
[InlineData("net9.0", "net8.0")]
|
|
12
14
|
[InlineData("net8.0", "net8.0")]
|
|
@@ -99,7 +99,7 @@ public class FrameworkCompatibilityServiceFacts
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
[Theory]
|
|
102
|
-
[InlineData("net6.0-windows7.0", "net6.0-windows", "net6.0-windows7.0", "net7.0-windows", "net7.0-windows7.0", "net8.0-windows", "net8.0-windows7.0", "net9.0-windows", "net9.0-windows7.0")]
|
|
102
|
+
[InlineData("net6.0-windows7.0", "net6.0-windows", "net6.0-windows7.0", "net7.0-windows", "net7.0-windows7.0", "net8.0-windows", "net8.0-windows7.0", "net9.0-windows", "net9.0-windows7.0", "net10.0-windows", "net10.0-windows7.0")]
|
|
103
103
|
public void WindowsPlatformVersionsShouldContainAllSpecifiedFrameworks(string windowsDefaultVersionFramework, params string[] windowsProjectFrameworks)
|
|
104
104
|
{
|
|
105
105
|
var packageFramework = NuGetFramework.Parse(windowsDefaultVersionFramework);
|
|
@@ -48,6 +48,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetPackageCorrelation.Te
|
|
|
48
48
|
EndProject
|
|
49
49
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetPackageCorrelation.Cli", "DotNetPackageCorrelation.Cli\DotNetPackageCorrelation.Cli.csproj", "{509454EE-629F-4767-B1D4-7F2DF86C11B5}"
|
|
50
50
|
EndProject
|
|
51
|
+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NuGet.Build.Tasks.Pack", "NuGetProjects\NuGet.Build.Tasks.Pack\NuGet.Build.Tasks.Pack.csproj", "{8A9D0668-DE71-3803-FD2E-E3CEFC18DBFA}"
|
|
52
|
+
EndProject
|
|
51
53
|
Global
|
|
52
54
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
53
55
|
Debug|Any CPU = Debug|Any CPU
|
|
@@ -142,6 +144,10 @@ Global
|
|
|
142
144
|
{509454EE-629F-4767-B1D4-7F2DF86C11B5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
143
145
|
{509454EE-629F-4767-B1D4-7F2DF86C11B5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
144
146
|
{509454EE-629F-4767-B1D4-7F2DF86C11B5}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
147
|
+
{8A9D0668-DE71-3803-FD2E-E3CEFC18DBFA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
148
|
+
{8A9D0668-DE71-3803-FD2E-E3CEFC18DBFA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
149
|
+
{8A9D0668-DE71-3803-FD2E-E3CEFC18DBFA}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
150
|
+
{8A9D0668-DE71-3803-FD2E-E3CEFC18DBFA}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
145
151
|
EndGlobalSection
|
|
146
152
|
GlobalSection(SolutionProperties) = preSolution
|
|
147
153
|
HideSolutionNode = FALSE
|
|
@@ -162,6 +168,7 @@ Global
|
|
|
162
168
|
{0AEA8D0D-6FFE-46A3-B078-B08C409C1731} = {1095100B-0857-4132-A4CF-D54C4124DED9}
|
|
163
169
|
{F3AAC7AB-DC59-4290-8BBF-59EF80BA6DB3} = {1095100B-0857-4132-A4CF-D54C4124DED9}
|
|
164
170
|
{0DCEEE7C-C53C-446C-A3BC-D5C254A952F4} = {1095100B-0857-4132-A4CF-D54C4124DED9}
|
|
171
|
+
{8A9D0668-DE71-3803-FD2E-E3CEFC18DBFA} = {1095100B-0857-4132-A4CF-D54C4124DED9}
|
|
165
172
|
EndGlobalSection
|
|
166
173
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
|
167
174
|
SolutionGuid = {3DAF2124-E0B2-45D5-9059-3E5516C2531C}
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dependabot-nuget
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.347.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dependabot
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 0.
|
|
18
|
+
version: 0.347.0
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - '='
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 0.
|
|
25
|
+
version: 0.347.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: debug
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -266,6 +266,7 @@ files:
|
|
|
266
266
|
- helpers/lib/NuGetUpdater/DotNetPackageCorrelation/Model/SemVersionConverter.cs
|
|
267
267
|
- helpers/lib/NuGetUpdater/NuGetProjects/Directory.Build.props
|
|
268
268
|
- helpers/lib/NuGetUpdater/NuGetProjects/Directory.Build.targets
|
|
269
|
+
- helpers/lib/NuGetUpdater/NuGetProjects/NuGet.Build.Tasks.Pack/NuGet.Build.Tasks.Pack.csproj
|
|
269
270
|
- helpers/lib/NuGetUpdater/NuGetProjects/NuGet.Build.Tasks/NuGet.Build.Tasks.csproj
|
|
270
271
|
- helpers/lib/NuGetUpdater/NuGetProjects/NuGet.CommandLine/AssemblyMetadataExtractor.cs
|
|
271
272
|
- helpers/lib/NuGetUpdater/NuGetProjects/NuGet.CommandLine/NuGet.CommandLine.csproj
|
|
@@ -551,7 +552,7 @@ licenses:
|
|
|
551
552
|
- MIT
|
|
552
553
|
metadata:
|
|
553
554
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
|
554
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
|
555
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.347.0
|
|
555
556
|
rdoc_options: []
|
|
556
557
|
require_paths:
|
|
557
558
|
- lib
|