From 54703d26827b51913dc1a9d9014ba608b083c2bc Mon Sep 17 00:00:00 2001 From: Vincenzo Parrilla <31706143+NeferS@users.noreply.github.com> Date: Fri, 15 Mar 2024 17:37:31 +0100 Subject: [PATCH 1/3] Add ClosedXML and its dependencies --- registry.json | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/registry.json b/registry.json index 1453fe6..d10b31f 100644 --- a/registry.json +++ b/registry.json @@ -135,6 +135,10 @@ "listed": true, "version": "1.0.2" }, + "ClosedXML": { + "listed": true, + "version": "0.92.1" + }, "CLSS.Constants.CollectionPool": { "listed": true, "version": "1.1.0" @@ -348,6 +352,14 @@ "listed": true, "version": "1.1.0" }, + "DocumentFormat.OpenXml": { + "listed": true, + "version": "2.10.0" + }, + "DocumentFormat.OpenXml.Framework": { + "listed": true, + "version": "3.0.0" + }, "DotNetty.Buffers": { "listed": true, "version": "0.7.0" @@ -404,6 +416,14 @@ "listed": true, "version": "1.0.0" }, + "FastMember": { + "listed": true, + "version": "1.4.0" + }, + "FastMember.Signed": { + "listed": true, + "version": "1.4.0" + }, "FluentAssertions": { "listed": true, "version": "5.0.0", @@ -506,6 +526,10 @@ "listed": true, "version": "1.0.0" }, + "Irony": { + "listed": true, + "version": "1.5.0" + }, "Jdenticon-net": { "listed": true, "version": "2.2.0" @@ -1367,6 +1391,10 @@ "listed": true, "version": "4.5.0" }, + "System.Drawing.Common": { + "listed": true, + "version": "4.5.0" + }, "System.Formats.Asn1": { "listed": true, "version": "5.0.0" @@ -1387,6 +1415,10 @@ "listed": true, "version": "4.4.0" }, + "System.IO.Packaging": { + "listed": true, + "version": "6.0.0" + }, "System.IO.Pipelines": { "listed": true, "version": "4.5.0" @@ -1573,6 +1605,10 @@ "listed": true, "version": "1.0.0" }, + "XLParser": { + "listed": true, + "version": "1.7.0" + }, "YamlDotNet": { "listed": true, "version": "12.0.0" From c9e2774d216a4cd164dc8e4f080b83977aeeb7c4 Mon Sep 17 00:00:00 2001 From: NeferSeti Date: Sun, 17 Mar 2024 03:09:02 +0100 Subject: [PATCH 2/3] Fix min version and missing dependencies --- registry.json | 15 +++++++++++---- src/UnityNuGet.Tests/RegistryTests.cs | 4 +++- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/registry.json b/registry.json index d10b31f..5356c63 100644 --- a/registry.json +++ b/registry.json @@ -418,11 +418,11 @@ }, "FastMember": { "listed": true, - "version": "1.4.0" + "version": "1.2.0" }, "FastMember.Signed": { "listed": true, - "version": "1.4.0" + "version": "1.2.0" }, "FluentAssertions": { "listed": true, @@ -1189,6 +1189,9 @@ "version": "4.10.0", "analyzer": true }, + "runtime.native.System.Data.SqlClient.sni": { + "ignore": true + }, "Scriban": { "listed": true, "version": "1.2.4" @@ -1295,7 +1298,7 @@ }, "SixLabors.Fonts": { "listed": true, - "version": "1.0.0" + "version": "[1.0.0,2.0.0)" }, "SixLabors.ImageSharp": { "listed": true, @@ -1383,6 +1386,10 @@ "listed": true, "version": "4.4.0" }, + "System.Data.SqlClient": { + "listed": true, + "version": "4.4.0" + }, "System.Diagnostics.DiagnosticSource": { "listed": true, "version": "4.5.0" @@ -1417,7 +1424,7 @@ }, "System.IO.Packaging": { "listed": true, - "version": "6.0.0" + "version": "4.5.0" }, "System.IO.Pipelines": { "listed": true, diff --git a/src/UnityNuGet.Tests/RegistryTests.cs b/src/UnityNuGet.Tests/RegistryTests.cs index 79c231e..7b8ef86 100644 --- a/src/UnityNuGet.Tests/RegistryTests.cs +++ b/src/UnityNuGet.Tests/RegistryTests.cs @@ -140,7 +140,9 @@ public async Task Ensure_Min_Version_Is_Correct_Ignoring_Analyzers_And_Native_Li @"Dapplo.Windows.Messages", @"Dapplo.Windows.User32", // It has too many versions, the minimum version is lifted so as not to process so many versions - @"UnitsNet.*" + @"UnitsNet.*", + // Most versions < 1.7.0 don't target .netstandard2.0 + @"XLParser" }; var excludedPackagesRegex = new Regex(@$"^{string.Join('|', excludedPackages)}$"); From dc635cb90894dbd90c0099d426821f69d7673c9c Mon Sep 17 00:00:00 2001 From: Vincenzo Parrilla <31706143+NeferS@users.noreply.github.com> Date: Mon, 18 Mar 2024 09:09:02 +0100 Subject: [PATCH 3/3] Fix wrong indentations --- registry.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/registry.json b/registry.json index 5356c63..bb366ce 100644 --- a/registry.json +++ b/registry.json @@ -417,8 +417,8 @@ "version": "1.0.0" }, "FastMember": { - "listed": true, - "version": "1.2.0" + "listed": true, + "version": "1.2.0" }, "FastMember.Signed": { "listed": true, @@ -1190,7 +1190,7 @@ "analyzer": true }, "runtime.native.System.Data.SqlClient.sni": { - "ignore": true + "ignore": true }, "Scriban": { "listed": true, @@ -1387,8 +1387,8 @@ "version": "4.4.0" }, "System.Data.SqlClient": { - "listed": true, - "version": "4.4.0" + "listed": true, + "version": "4.4.0" }, "System.Diagnostics.DiagnosticSource": { "listed": true,