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
10 changes: 8 additions & 2 deletions .github/workflows/assets/Tests/overwritePackageInformation.json
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,7 @@
"Copyright": "\u00A9 Microsoft Corporation. All rights reserved.",
"Authors": "Microsoft",
"License": "MIT",
"LicenseUrl": "http://go.microsoft.com/fwlink/?LinkId=329770",
"LicenseInformationOrigin": 1
"LicenseUrl": "http://go.microsoft.com/fwlink/?LinkId=329770"
},
{
"Id": "NetArchTest.Rules",
Expand All @@ -492,5 +491,12 @@
"Copyright": "Copyright (c) 2021 Ben Morris",
"Authors": "Ben Morris",
"License": "MIT"
},
{
"Id": "Bogus",
"Version": "35.6.2",
"ProjectUrl": "https://github.com/bchavez/Bogus",
"Authors": "Brian Chavez",
"License": "MIT AND BSD-3-Clause"
}
]
2 changes: 0 additions & 2 deletions src/NuGetUtility/LicenseValidator/UrlToLicenseMapping.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ public static class UrlToLicenseMapping
private const string Gpl20 = "GPL-2.0";
private const string Mit = "MIT";
private const string MsPl = "MS-PL";
private const string MitAndBsd3Clause = "MIT AND BSD-3-Clause";

public static IImmutableDictionary<Uri, string> Default { get; } = ImmutableDictionary.CreateRange(
new[]
Expand All @@ -37,7 +36,6 @@ public static class UrlToLicenseMapping
new KeyValuePair<Uri, string>(new Uri("http://go.microsoft.com/fwlink/?linkid=833178"), Mit),
new KeyValuePair<Uri, string>(new Uri("http://www.gnu.org/licenses/old-licenses/gpl-2.0.html"), Gpl20),
new KeyValuePair<Uri, string>(new Uri("https://raw.githubusercontent.com/AArnott/Validation/8377954d86/LICENSE.txt"), MsPl),
new KeyValuePair<Uri, string>(new Uri("https://raw.githubusercontent.com/bchavez/Bogus/master/LICENSE"), MitAndBsd3Clause),
new KeyValuePair<Uri, string>(new Uri("https://github.com/Microsoft/dotnet/blob/master/LICENSE"), Mit)
}
);
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion tests/NuGetUtility.Test/NuGetUtility.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<PackageReference Include="AutoFixture" Version="5.0.0-preview0012" />
<PackageReference Include="AutoFixture.AutoNSubstitute" Version="5.0.0-preview0012" />
<PackageReference Include="AutoFixture.NUnit4" Version="5.0.0-preview0012" />
<PackageReference Include="Bogus" Version="35.6.1" />
<PackageReference Include="Bogus" Version="35.6.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
<PackageReference Include="Mono.Cecil" Version="0.11.6" />
<PackageReference Include="NetArchTest.Rules" Version="1.3.2" />
Expand Down