From b530e362377d19c777212c8d989ff7c48a3e5917 Mon Sep 17 00:00:00 2001 From: Simon Ensslen Date: Tue, 13 Feb 2024 17:28:22 +0100 Subject: [PATCH] Add test that checks whether the licenses in UrlToLicenseMapping are valid --- src/NuGetUtility/AppLifetime.cs | 5 +- .../Extension/AsyncEnumerableExtension.cs | 5 +- .../Extensions/HashSetExtension.cs | 5 +- .../Extensions/ProjectExtensions.cs | 5 +- .../Extensions/StringExtensions.cs | 5 +- .../LicenseDownloadException.cs | 3 + .../LicenseInformationOrigin.cs | 5 +- .../LicenseValidationResult.cs | 3 + .../LicenseValidator/LicenseValidator.cs | 3 + .../LicenseValidator/UrlToLicenseMapping.cs | 13 +- .../LicenseValidator/ValidationError.cs | 5 +- src/NuGetUtility/Output/IOutputFormatter.cs | 5 +- .../Output/Json/JsonOutputFormatter.cs | 3 + .../Output/Table/TableOutputFormatter.cs | 3 + src/NuGetUtility/Output/Table/TablePrinter.cs | 3 + .../Output/Table/TablePrinterExtensions.cs | 3 + src/NuGetUtility/OutputType.cs | 5 +- .../CustomPackageInformation.cs | 3 + .../PackageInformationReader.cs | 3 + .../PackageMetadata.cs | 3 + .../ProjectWithReferencedPackages.cs | 3 + .../ReferencedPackageWithContext.cs | 3 + src/NuGetUtility/Program.cs | 6 +- .../ProjectsCollector.cs | 5 +- .../ReferencedPackageReader.cs | 3 + .../ReferencedPackageReaderException.cs | 5 +- .../NuGetVersionJsonConverter.cs | 3 + .../UriDictionaryJsonConverter.cs | 5 +- ...JsonConverterWithOmittingEmptyErrorList.cs | 3 + .../HttpClientWrapper/FileDownloader.cs | 5 +- .../HttpClientWrapper/IFileDownloader.cs | 5 +- .../HttpClientWrapper/NopFileDownloader.cs | 5 +- .../MsBuildWrapper/IMsBuildAbstraction.cs | 5 +- .../Wrapper/MsBuildWrapper/IProject.cs | 5 +- .../MsBuildWrapper/MsBuildAbstraction.cs | 3 + .../MsBuildAbstractionException.cs | 5 +- .../MsBuildWrapper/PackageReference.cs | 5 +- .../Wrapper/MsBuildWrapper/ProjectWrapper.cs | 5 +- .../WindowsMsBuildAbstraction.cs | 5 +- .../Frameworks/INuGetFramework.cs | 5 +- .../Frameworks/WrappedNuGetFramework.cs | 5 +- .../NuGetWrapper/NugetWrapperException.cs | 5 +- .../Core/FailingPackagesConfigReader.cs | 5 +- .../Packaging/Core/IPackagesConfigReader.cs | 3 + .../Packaging/Core/PackageIdentity.cs | 3 + .../Core/PackagesConfigReaderException.cs | 5 +- .../Core/WindowsPackagesConfigReader.cs | 5 +- .../Packaging/IPackageMetadata.cs | 3 + .../NuGetWrapper/Packaging/LicenseMetadata.cs | 3 + .../NuGetWrapper/Packaging/LicenseType.cs | 3 + .../NuGetWrapper/ProjectModel/ILockFile.cs | 5 +- .../ProjectModel/ILockFileFactory.cs | 5 +- .../ProjectModel/ILockFileLibrary.cs | 5 +- .../ProjectModel/ILockFileTarget.cs | 5 +- .../NuGetWrapper/ProjectModel/IPackageSpec.cs | 5 +- .../ITargetFrameworkInformation.cs | 5 +- .../ProjectModel/LockFileFactory.cs | 5 +- .../ProjectModel/WrappedLockFile.cs | 5 +- .../ProjectModel/WrappedLockFileLibrary.cs | 5 +- .../ProjectModel/WrappedLockFileTarget.cs | 5 +- .../ProjectModel/WrappedPackageSpec.cs | 5 +- .../WrappedTargetFrameworkInformation.cs | 5 +- .../CachingDisposableSourceRepository.cs | 3 + .../Types/CachingPackageMetadataResource.cs | 3 + .../Core/Types/IDisposableSourceRepository.cs | 3 + .../Core/Types/IPackageMetadataResource.cs | 3 + .../Protocol/Core/Types/ISourceRepository.cs | 5 +- .../Types/IWrappedSourceRepositoryProvider.cs | 3 + .../Types/WrappedSourceRepositoryProvider.cs | 3 + .../Protocol/GlobalPackagesFolderUtility.cs | 3 + .../Protocol/IGlobalPackagesFolderUtility.cs | 3 + .../Protocol/WrappedPackageMetadata.cs | 3 + .../NuGetWrapper/Versioning/INuGetVersion.cs | 5 +- .../Versioning/WrappedNuGetVersion.cs | 3 + .../Architecture/ArchitectureTest.cs | 3 + .../Architecture/ConditionsExtensions.cs | 3 + .../Rules/NugetAbstractionTest.cs | 3 +- .../Extensions/HashSetExtensionTestObject.cs | 5 +- .../Extensions/HashSetExtensionsTest.cs | 5 +- .../Extensions/MemoryStreamExtension.cs | 5 +- .../Extensions/ProjectExtensionsTest.cs | 5 +- .../AsyncEnumerable.cs | 5 +- .../AsyncEnumerableExtension.cs | 5 +- .../AsyncEnumerator.cs | 5 +- .../Versioning/ExtendedAutoDataAttribute.cs | 5 +- .../ExtendedInlineAutoDataAttribute.cs | 5 +- .../NuGet/Versioning/NuGetVersionBuilder.cs | 3 + .../EnumEnumerableWithException.cs | 5 +- .../EnumEnumeratorWithExceptions.cs | 5 +- .../EnumValuesExceptAttribute.cs | 5 +- .../EnumerableExtensions.cs | 5 +- .../Helper/Type/TypeExtensions.cs | 5 +- ...seValidationResultValueEqualityComparer.cs | 5 +- .../LicenseValidator/LicenseValidatorTest.cs | 3 + ...zon.com-apache2.0-=Apache-2.0.verified.txt | 510 ++++++ ...fwlink--LinkID=214339=MS-EULA.verified.txt | 916 ++++++++++ ...fwlink--LinkId=329770=MS-EULA.verified.txt | 252 +++ ...fwlink--LinkId=529443=MS-EULA.verified.txt | 252 +++ ...4=MS-EULA-Non-Redistributable.verified.txt | 224 +++ ...com-fwlink--linkid=833178=MIT.verified.txt | 26 + ...g4net-license.html=Apache-2.0.verified.txt | 209 +++ ...tp---max.mit-license.org-=MIT.verified.txt | 47 + ...s-LICENSE-2.0.html=Apache-2.0.verified.txt | 468 ++++++ ...censes-LICENSE-2.0=Apache-2.0.verified.txt | 202 +++ ...licenses-gpl-2.0.html=GPL-2.0.verified.txt | 769 +++++++++ ...r-blob-master-LICENSE.txt=MIT.verified.txt | 1456 ++++++++++++++++ ...tream-blob-master-LICENSE=MIT.verified.txt | 1425 ++++++++++++++++ ...x-blob-master-LICENSE.TXT=MIT.verified.txt | 1348 +++++++++++++++ ...master-LICENSE.txt=Apache-2.0.verified.txt | 1428 ++++++++++++++++ ...-pack-blob-master-LICENSE=MIT.verified.txt | 1375 +++++++++++++++ ...com-fwlink--linkid=868514=MIT.verified.txt | 1479 +++++++++++++++++ ...---licenses.nuget.org-MIT=MIT.verified.txt | 63 + ...ft.Json-master-LICENSE.md=MIT.verified.txt | 20 + ...-8377954d86-LICENSE.txt=MS-PL.verified.txt | 21 + ...-2.0.0-LICENSE.txt=Apache-2.0.verified.txt | 14 + ...kdownsharp-master-LICENSE=MIT.verified.txt | 21 + ...etmvc3update-eula.htm=MS-EULA.verified.txt | 916 ++++++++++ ...m=MS-EULA-Non-Redistributable.verified.txt | 224 +++ ..._library_eula_enu.htm=MS-EULA.verified.txt | 248 +++ .../UrlToLicenseMappingTest.cs | 22 + .../NuGetUtility.Test.csproj | 1 + .../Output/Json/JsonOutputFormatterTest.cs | 5 +- .../Output/Table/TableOutputFormatterTest.cs | 5 +- tests/NuGetUtility.Test/Output/TestBase.cs | 3 + .../PackageInformationReaderTest.cs | 3 + .../ProjectsCollectorTest.cs | 5 +- .../ReferencedPackageReaderTest.cs | 4 +- ...ReferencedPackagesReaderIntegrationTest.cs | 4 +- 128 files changed, 14297 insertions(+), 75 deletions(-) create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---aws.amazon.com-apache2.0-=Apache-2.0.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---go.microsoft.com-fwlink--LinkID=214339=MS-EULA.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---go.microsoft.com-fwlink--LinkId=329770=MS-EULA.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---go.microsoft.com-fwlink--LinkId=529443=MS-EULA.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---go.microsoft.com-fwlink--LinkId=529444=MS-EULA-Non-Redistributable.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---go.microsoft.com-fwlink--linkid=833178=MIT.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---logging.apache.org-log4net-license.html=Apache-2.0.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---max.mit-license.org-=MIT.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---www.apache.org-licenses-LICENSE-2.0.html=Apache-2.0.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---www.apache.org-licenses-LICENSE-2.0=Apache-2.0.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---www.gnu.org-licenses-old-licenses-gpl-2.0.html=GPL-2.0.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---github.com-AutoMapper-AutoMapper-blob-master-LICENSE.txt=MIT.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---github.com-Microsoft-Microsoft.IO.RecyclableMemoryStream-blob-master-LICENSE=MIT.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---github.com-dotnet-corefx-blob-master-LICENSE.TXT=MIT.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---github.com-owin-contrib-owin-hosting-blob-master-LICENSE.txt=Apache-2.0.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---github.com-zzzprojects-html-agility-pack-blob-master-LICENSE=MIT.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---go.microsoft.com-fwlink--linkid=868514=MIT.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---licenses.nuget.org-MIT=MIT.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---raw.github.com-JamesNK-Newtonsoft.Json-master-LICENSE.md=MIT.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---raw.githubusercontent.com-AArnott-Validation-8377954d86-LICENSE.txt=MS-PL.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---raw.githubusercontent.com-aspnet-Home-2.0.0-LICENSE.txt=Apache-2.0.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---raw.githubusercontent.com-hey-red-markdownsharp-master-LICENSE=MIT.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---www.microsoft.com-web-webpi-eula-aspnetmvc3update-eula.htm=MS-EULA.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---www.microsoft.com-web-webpi-eula-dotnet_library_license_non_redistributable.htm=MS-EULA-Non-Redistributable.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---www.microsoft.com-web-webpi-eula-net_library_eula_enu.htm=MS-EULA.verified.txt create mode 100644 tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.cs diff --git a/src/NuGetUtility/AppLifetime.cs b/src/NuGetUtility/AppLifetime.cs index 6c96f5ab..b1cd8e32 100644 --- a/src/NuGetUtility/AppLifetime.cs +++ b/src/NuGetUtility/AppLifetime.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility { /// /// Inspired by: https://github.com/dotnet/aspnetcore/search?q=WebHostLifetime diff --git a/src/NuGetUtility/Extension/AsyncEnumerableExtension.cs b/src/NuGetUtility/Extension/AsyncEnumerableExtension.cs index 8253d9fa..79757601 100644 --- a/src/NuGetUtility/Extension/AsyncEnumerableExtension.cs +++ b/src/NuGetUtility/Extension/AsyncEnumerableExtension.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.Extension +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.Extension { public static class AsyncEnumerableExtension { diff --git a/src/NuGetUtility/Extensions/HashSetExtension.cs b/src/NuGetUtility/Extensions/HashSetExtension.cs index 027d36cb..3e9b9512 100644 --- a/src/NuGetUtility/Extensions/HashSetExtension.cs +++ b/src/NuGetUtility/Extensions/HashSetExtension.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.Extensions +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.Extensions { public static class HashSetExtension { diff --git a/src/NuGetUtility/Extensions/ProjectExtensions.cs b/src/NuGetUtility/Extensions/ProjectExtensions.cs index 95a650bd..55b5c927 100644 --- a/src/NuGetUtility/Extensions/ProjectExtensions.cs +++ b/src/NuGetUtility/Extensions/ProjectExtensions.cs @@ -1,4 +1,7 @@ -using NuGetUtility.Wrapper.MsBuildWrapper; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using NuGetUtility.Wrapper.MsBuildWrapper; namespace NuGetUtility.Extensions { diff --git a/src/NuGetUtility/Extensions/StringExtensions.cs b/src/NuGetUtility/Extensions/StringExtensions.cs index bec2f7fb..b1c0c792 100644 --- a/src/NuGetUtility/Extensions/StringExtensions.cs +++ b/src/NuGetUtility/Extensions/StringExtensions.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using System.Text.RegularExpressions; namespace NuGetUtility.Extensions { diff --git a/src/NuGetUtility/LicenseValidator/LicenseDownloadException.cs b/src/NuGetUtility/LicenseValidator/LicenseDownloadException.cs index 74b43e99..48c07d7e 100644 --- a/src/NuGetUtility/LicenseValidator/LicenseDownloadException.cs +++ b/src/NuGetUtility/LicenseValidator/LicenseDownloadException.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using NuGetUtility.Wrapper.NuGetWrapper.Packaging.Core; namespace NuGetUtility.LicenseValidator diff --git a/src/NuGetUtility/LicenseValidator/LicenseInformationOrigin.cs b/src/NuGetUtility/LicenseValidator/LicenseInformationOrigin.cs index 6f536419..2e1b26f4 100644 --- a/src/NuGetUtility/LicenseValidator/LicenseInformationOrigin.cs +++ b/src/NuGetUtility/LicenseValidator/LicenseInformationOrigin.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.LicenseValidator +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.LicenseValidator { public enum LicenseInformationOrigin { diff --git a/src/NuGetUtility/LicenseValidator/LicenseValidationResult.cs b/src/NuGetUtility/LicenseValidator/LicenseValidationResult.cs index 00705ac4..3192cc79 100644 --- a/src/NuGetUtility/LicenseValidator/LicenseValidationResult.cs +++ b/src/NuGetUtility/LicenseValidator/LicenseValidationResult.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using NuGetUtility.Wrapper.NuGetWrapper.Versioning; namespace NuGetUtility.LicenseValidator diff --git a/src/NuGetUtility/LicenseValidator/LicenseValidator.cs b/src/NuGetUtility/LicenseValidator/LicenseValidator.cs index d2c63983..e08e0f7c 100644 --- a/src/NuGetUtility/LicenseValidator/LicenseValidator.cs +++ b/src/NuGetUtility/LicenseValidator/LicenseValidator.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using System.Collections.Concurrent; using System.Collections.Immutable; using NuGetUtility.Extensions; diff --git a/src/NuGetUtility/LicenseValidator/UrlToLicenseMapping.cs b/src/NuGetUtility/LicenseValidator/UrlToLicenseMapping.cs index df70ae90..cc6e6d99 100644 --- a/src/NuGetUtility/LicenseValidator/UrlToLicenseMapping.cs +++ b/src/NuGetUtility/LicenseValidator/UrlToLicenseMapping.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using System.Collections.Immutable; namespace NuGetUtility.LicenseValidator @@ -5,7 +8,6 @@ namespace NuGetUtility.LicenseValidator public static class UrlToLicenseMapping { private const string Apache20 = "Apache-2.0"; - private const string Bsd3Clause = "BSD-3-Clause"; private const string Gpl20 = "GPL-2.0"; private const string Mit = "MIT"; private const string MsPl = "MS-PL"; @@ -17,12 +19,10 @@ public static class UrlToLicenseMapping { KeyValuePair.Create( new Uri("http://www.apache.org/licenses/LICENSE-2.0.html"), Apache20 ), KeyValuePair.Create( new Uri("http://www.apache.org/licenses/LICENSE-2.0"), Apache20 ), - KeyValuePair.Create( new Uri("http://opensource.org/licenses/Apache-2.0"), Apache20 ), KeyValuePair.Create( new Uri("http://aws.amazon.com/apache2.0/"), Apache20 ), KeyValuePair.Create( new Uri("http://logging.apache.org/log4net/license.html"), Apache20 ), KeyValuePair.Create( new Uri("https://github.com/owin-contrib/owin-hosting/blob/master/LICENSE.txt"), Apache20 ), KeyValuePair.Create( new Uri("https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt"), Apache20 ), - KeyValuePair.Create( new Uri("http://opensource.org/licenses/BSD-3-Clause"), Bsd3Clause ), KeyValuePair.Create( new Uri("https://github.com/Microsoft/Microsoft.IO.RecyclableMemoryStream/blob/master/LICENSE"), Mit ), @@ -31,18 +31,11 @@ public static class UrlToLicenseMapping KeyValuePair.Create( new Uri("https://raw.githubusercontent.com/hey-red/markdownsharp/master/LICENSE"), Mit ), KeyValuePair.Create( new Uri("https://raw.github.com/JamesNK/Newtonsoft.Json/master/LICENSE.md"), Mit ), KeyValuePair.Create( new Uri("https://licenses.nuget.org/MIT"), Mit ), - KeyValuePair.Create( new Uri("http://opensource.org/licenses/MIT"), Mit ), - KeyValuePair.Create( new Uri("http://opensource.org/licenses/mit-license.php"), Mit ), - KeyValuePair.Create( new Uri("http://www.opensource.org/licenses/mit-license.php"), Mit ), KeyValuePair.Create( new Uri("http://max.mit-license.org/"), Mit ), KeyValuePair.Create( new Uri("https://github.com/dotnet/corefx/blob/master/LICENSE.TXT"), Mit ), KeyValuePair.Create( new Uri("https://go.microsoft.com/fwlink/?linkid=868514"), Mit ), KeyValuePair.Create( new Uri("http://go.microsoft.com/fwlink/?linkid=833178"), Mit ), - KeyValuePair.Create( new Uri("http://sourceforge.net/directory/license:mit/"), Mit ), KeyValuePair.Create( new Uri("http://www.gnu.org/licenses/old-licenses/gpl-2.0.html"), Gpl20 ), - KeyValuePair.Create( new Uri("http://opensource.org/licenses/MS-PL"), MsPl ), - KeyValuePair.Create( new Uri("https://opensource.org/licenses/MS-PL"), MsPl ), - KeyValuePair.Create( new Uri("http://www.opensource.org/licenses/ms-pl"), MsPl ), KeyValuePair.Create( new Uri("https://raw.githubusercontent.com/AArnott/Validation/8377954d86/LICENSE.txt"), MsPl ), KeyValuePair.Create( new Uri("https://www.microsoft.com/web/webpi/eula/aspnetmvc3update-eula.htm"), MsEula ), KeyValuePair.Create( new Uri("http://go.microsoft.com/fwlink/?LinkID=214339"), MsEula ), diff --git a/src/NuGetUtility/LicenseValidator/ValidationError.cs b/src/NuGetUtility/LicenseValidator/ValidationError.cs index 2f22ad4b..4b01f3ae 100644 --- a/src/NuGetUtility/LicenseValidator/ValidationError.cs +++ b/src/NuGetUtility/LicenseValidator/ValidationError.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.LicenseValidator +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.LicenseValidator { public record ValidationError(string Error, string Context); } diff --git a/src/NuGetUtility/Output/IOutputFormatter.cs b/src/NuGetUtility/Output/IOutputFormatter.cs index f8a63113..5c4e3f7e 100644 --- a/src/NuGetUtility/Output/IOutputFormatter.cs +++ b/src/NuGetUtility/Output/IOutputFormatter.cs @@ -1,4 +1,7 @@ -using NuGetUtility.LicenseValidator; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using NuGetUtility.LicenseValidator; namespace NuGetUtility.Output { diff --git a/src/NuGetUtility/Output/Json/JsonOutputFormatter.cs b/src/NuGetUtility/Output/Json/JsonOutputFormatter.cs index a0aa044e..c54f4fe7 100644 --- a/src/NuGetUtility/Output/Json/JsonOutputFormatter.cs +++ b/src/NuGetUtility/Output/Json/JsonOutputFormatter.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using System.Text.Json; using NuGetUtility.LicenseValidator; using NuGetUtility.Serialization; diff --git a/src/NuGetUtility/Output/Table/TableOutputFormatter.cs b/src/NuGetUtility/Output/Table/TableOutputFormatter.cs index 351ef000..0f25f7af 100644 --- a/src/NuGetUtility/Output/Table/TableOutputFormatter.cs +++ b/src/NuGetUtility/Output/Table/TableOutputFormatter.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using NuGetUtility.LicenseValidator; namespace NuGetUtility.Output.Table diff --git a/src/NuGetUtility/Output/Table/TablePrinter.cs b/src/NuGetUtility/Output/Table/TablePrinter.cs index 2ea1193b..d029be57 100644 --- a/src/NuGetUtility/Output/Table/TablePrinter.cs +++ b/src/NuGetUtility/Output/Table/TablePrinter.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + namespace NuGetUtility.Output.Table { /// diff --git a/src/NuGetUtility/Output/Table/TablePrinterExtensions.cs b/src/NuGetUtility/Output/Table/TablePrinterExtensions.cs index cb467342..24b5ce4b 100644 --- a/src/NuGetUtility/Output/Table/TablePrinterExtensions.cs +++ b/src/NuGetUtility/Output/Table/TablePrinterExtensions.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + namespace NuGetUtility.Output.Table { internal static class TablePrinterExtensions diff --git a/src/NuGetUtility/OutputType.cs b/src/NuGetUtility/OutputType.cs index bb751eca..4605a123 100644 --- a/src/NuGetUtility/OutputType.cs +++ b/src/NuGetUtility/OutputType.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility { public enum OutputType { diff --git a/src/NuGetUtility/PackageInformationReader/CustomPackageInformation.cs b/src/NuGetUtility/PackageInformationReader/CustomPackageInformation.cs index b247672d..3c93f68d 100644 --- a/src/NuGetUtility/PackageInformationReader/CustomPackageInformation.cs +++ b/src/NuGetUtility/PackageInformationReader/CustomPackageInformation.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using NuGetUtility.Wrapper.NuGetWrapper.Versioning; namespace NuGetUtility.PackageInformationReader diff --git a/src/NuGetUtility/PackageInformationReader/PackageInformationReader.cs b/src/NuGetUtility/PackageInformationReader/PackageInformationReader.cs index befbc792..77c20c48 100644 --- a/src/NuGetUtility/PackageInformationReader/PackageInformationReader.cs +++ b/src/NuGetUtility/PackageInformationReader/PackageInformationReader.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using System.Runtime.CompilerServices; using NuGetUtility.Wrapper.NuGetWrapper.Packaging; using NuGetUtility.Wrapper.NuGetWrapper.Packaging.Core; diff --git a/src/NuGetUtility/PackageInformationReader/PackageMetadata.cs b/src/NuGetUtility/PackageInformationReader/PackageMetadata.cs index 7c9f3769..0489020a 100644 --- a/src/NuGetUtility/PackageInformationReader/PackageMetadata.cs +++ b/src/NuGetUtility/PackageInformationReader/PackageMetadata.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using NuGetUtility.Wrapper.NuGetWrapper.Packaging; using NuGetUtility.Wrapper.NuGetWrapper.Packaging.Core; diff --git a/src/NuGetUtility/PackageInformationReader/ProjectWithReferencedPackages.cs b/src/NuGetUtility/PackageInformationReader/ProjectWithReferencedPackages.cs index 196376ca..716e4f02 100644 --- a/src/NuGetUtility/PackageInformationReader/ProjectWithReferencedPackages.cs +++ b/src/NuGetUtility/PackageInformationReader/ProjectWithReferencedPackages.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using NuGetUtility.Wrapper.NuGetWrapper.Packaging.Core; namespace NuGetUtility.PackageInformationReader diff --git a/src/NuGetUtility/PackageInformationReader/ReferencedPackageWithContext.cs b/src/NuGetUtility/PackageInformationReader/ReferencedPackageWithContext.cs index 4fc616a9..c095e6a9 100644 --- a/src/NuGetUtility/PackageInformationReader/ReferencedPackageWithContext.cs +++ b/src/NuGetUtility/PackageInformationReader/ReferencedPackageWithContext.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using NuGetUtility.Wrapper.NuGetWrapper.Packaging; namespace NuGetUtility.PackageInformationReader diff --git a/src/NuGetUtility/Program.cs b/src/NuGetUtility/Program.cs index dd841b14..3da8fd81 100644 --- a/src/NuGetUtility/Program.cs +++ b/src/NuGetUtility/Program.cs @@ -1,10 +1,12 @@ -using System.Collections.Immutable; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using System.Collections.Immutable; using System.Reflection; using System.Text.Json; using McMaster.Extensions.CommandLineUtils; using NuGet.Configuration; using NuGet.Protocol.Core.Types; -using NuGet.Versioning; using NuGetUtility.Extension; using NuGetUtility.LicenseValidator; using NuGetUtility.Output; diff --git a/src/NuGetUtility/ReferencedPackagesReader/ProjectsCollector.cs b/src/NuGetUtility/ReferencedPackagesReader/ProjectsCollector.cs index 6e26a0fe..22a726b5 100644 --- a/src/NuGetUtility/ReferencedPackagesReader/ProjectsCollector.cs +++ b/src/NuGetUtility/ReferencedPackagesReader/ProjectsCollector.cs @@ -1,4 +1,7 @@ -using NuGetUtility.Wrapper.MsBuildWrapper; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using NuGetUtility.Wrapper.MsBuildWrapper; namespace NuGetUtility.ReferencedPackagesReader { diff --git a/src/NuGetUtility/ReferencedPackagesReader/ReferencedPackageReader.cs b/src/NuGetUtility/ReferencedPackagesReader/ReferencedPackageReader.cs index 2c38a019..47fcb793 100644 --- a/src/NuGetUtility/ReferencedPackagesReader/ReferencedPackageReader.cs +++ b/src/NuGetUtility/ReferencedPackagesReader/ReferencedPackageReader.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using NuGetUtility.Extensions; using NuGetUtility.Wrapper.MsBuildWrapper; using NuGetUtility.Wrapper.NuGetWrapper.Packaging.Core; diff --git a/src/NuGetUtility/ReferencedPackagesReader/ReferencedPackageReaderException.cs b/src/NuGetUtility/ReferencedPackagesReader/ReferencedPackageReaderException.cs index 861fdbb8..a1805dfc 100644 --- a/src/NuGetUtility/ReferencedPackagesReader/ReferencedPackageReaderException.cs +++ b/src/NuGetUtility/ReferencedPackagesReader/ReferencedPackageReaderException.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.ReferencedPackagesReader +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.ReferencedPackagesReader { public class ReferencedPackageReaderException : Exception { diff --git a/src/NuGetUtility/Serialization/NuGetVersionJsonConverter.cs b/src/NuGetUtility/Serialization/NuGetVersionJsonConverter.cs index 9523d736..087251e3 100644 --- a/src/NuGetUtility/Serialization/NuGetVersionJsonConverter.cs +++ b/src/NuGetUtility/Serialization/NuGetVersionJsonConverter.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using System.Text.Json; using System.Text.Json.Serialization; using NuGetUtility.Wrapper.NuGetWrapper.Versioning; diff --git a/src/NuGetUtility/Serialization/UriDictionaryJsonConverter.cs b/src/NuGetUtility/Serialization/UriDictionaryJsonConverter.cs index 0bb18242..c2eda893 100644 --- a/src/NuGetUtility/Serialization/UriDictionaryJsonConverter.cs +++ b/src/NuGetUtility/Serialization/UriDictionaryJsonConverter.cs @@ -1,4 +1,7 @@ -using System.Text.Json; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using System.Text.Json; using System.Text.Json.Serialization; namespace NuGetUtility.Serialization diff --git a/src/NuGetUtility/Serialization/ValidatedLicenseJsonConverterWithOmittingEmptyErrorList.cs b/src/NuGetUtility/Serialization/ValidatedLicenseJsonConverterWithOmittingEmptyErrorList.cs index 8d8cb520..1e32218b 100644 --- a/src/NuGetUtility/Serialization/ValidatedLicenseJsonConverterWithOmittingEmptyErrorList.cs +++ b/src/NuGetUtility/Serialization/ValidatedLicenseJsonConverterWithOmittingEmptyErrorList.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using System.Text.Json; using System.Text.Json.Serialization; using NuGetUtility.LicenseValidator; diff --git a/src/NuGetUtility/Wrapper/HttpClientWrapper/FileDownloader.cs b/src/NuGetUtility/Wrapper/HttpClientWrapper/FileDownloader.cs index a62edc6f..3b7b72c7 100644 --- a/src/NuGetUtility/Wrapper/HttpClientWrapper/FileDownloader.cs +++ b/src/NuGetUtility/Wrapper/HttpClientWrapper/FileDownloader.cs @@ -1,4 +1,5 @@ -using System; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root namespace NuGetUtility.Wrapper.HttpClientWrapper { @@ -27,12 +28,12 @@ public async Task DownloadFile(Uri url, string fileName, CancellationToken token var request = new HttpRequestMessage(HttpMethod.Get, url); HttpResponseMessage response = await _client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead, token); - response.EnsureSuccessStatusCode(); if (response.StatusCode == System.Net.HttpStatusCode.TooManyRequests) { await Task.Delay((int)Math.Pow(EXPONENTIAL_BACKOFF_WAIT_TIME_MILLISECONDS, i + 1), token); continue; } + response.EnsureSuccessStatusCode(); using Stream downloadStream = await response.Content.ReadAsStreamAsync(token); await downloadStream.CopyToAsync(file, token); diff --git a/src/NuGetUtility/Wrapper/HttpClientWrapper/IFileDownloader.cs b/src/NuGetUtility/Wrapper/HttpClientWrapper/IFileDownloader.cs index a60e8a82..1d948666 100644 --- a/src/NuGetUtility/Wrapper/HttpClientWrapper/IFileDownloader.cs +++ b/src/NuGetUtility/Wrapper/HttpClientWrapper/IFileDownloader.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.Wrapper.HttpClientWrapper +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.Wrapper.HttpClientWrapper { public interface IFileDownloader { diff --git a/src/NuGetUtility/Wrapper/HttpClientWrapper/NopFileDownloader.cs b/src/NuGetUtility/Wrapper/HttpClientWrapper/NopFileDownloader.cs index 11eebf9d..3c28c656 100644 --- a/src/NuGetUtility/Wrapper/HttpClientWrapper/NopFileDownloader.cs +++ b/src/NuGetUtility/Wrapper/HttpClientWrapper/NopFileDownloader.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.Wrapper.HttpClientWrapper +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.Wrapper.HttpClientWrapper { public class NopFileDownloader : IFileDownloader { diff --git a/src/NuGetUtility/Wrapper/MsBuildWrapper/IMsBuildAbstraction.cs b/src/NuGetUtility/Wrapper/MsBuildWrapper/IMsBuildAbstraction.cs index 5ef6c703..d5fc59de 100644 --- a/src/NuGetUtility/Wrapper/MsBuildWrapper/IMsBuildAbstraction.cs +++ b/src/NuGetUtility/Wrapper/MsBuildWrapper/IMsBuildAbstraction.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.Wrapper.MsBuildWrapper +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.Wrapper.MsBuildWrapper { public interface IMsBuildAbstraction { diff --git a/src/NuGetUtility/Wrapper/MsBuildWrapper/IProject.cs b/src/NuGetUtility/Wrapper/MsBuildWrapper/IProject.cs index 444ca279..6c7c51bc 100644 --- a/src/NuGetUtility/Wrapper/MsBuildWrapper/IProject.cs +++ b/src/NuGetUtility/Wrapper/MsBuildWrapper/IProject.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.Wrapper.MsBuildWrapper +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.Wrapper.MsBuildWrapper { public interface IProject { diff --git a/src/NuGetUtility/Wrapper/MsBuildWrapper/MsBuildAbstraction.cs b/src/NuGetUtility/Wrapper/MsBuildWrapper/MsBuildAbstraction.cs index 0bb47fce..505cb497 100644 --- a/src/NuGetUtility/Wrapper/MsBuildWrapper/MsBuildAbstraction.cs +++ b/src/NuGetUtility/Wrapper/MsBuildWrapper/MsBuildAbstraction.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using Microsoft.Build.Construction; using Microsoft.Build.Evaluation; using Microsoft.Build.Exceptions; diff --git a/src/NuGetUtility/Wrapper/MsBuildWrapper/MsBuildAbstractionException.cs b/src/NuGetUtility/Wrapper/MsBuildWrapper/MsBuildAbstractionException.cs index 65074f85..54dee559 100644 --- a/src/NuGetUtility/Wrapper/MsBuildWrapper/MsBuildAbstractionException.cs +++ b/src/NuGetUtility/Wrapper/MsBuildWrapper/MsBuildAbstractionException.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.Wrapper.MsBuildWrapper +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.Wrapper.MsBuildWrapper { public class MsBuildAbstractionException : Exception { diff --git a/src/NuGetUtility/Wrapper/MsBuildWrapper/PackageReference.cs b/src/NuGetUtility/Wrapper/MsBuildWrapper/PackageReference.cs index 87cfe6bb..68919d3e 100644 --- a/src/NuGetUtility/Wrapper/MsBuildWrapper/PackageReference.cs +++ b/src/NuGetUtility/Wrapper/MsBuildWrapper/PackageReference.cs @@ -1,4 +1,7 @@ -using NuGetUtility.Wrapper.NuGetWrapper.Versioning; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using NuGetUtility.Wrapper.NuGetWrapper.Versioning; namespace NuGetUtility.Wrapper.MsBuildWrapper { diff --git a/src/NuGetUtility/Wrapper/MsBuildWrapper/ProjectWrapper.cs b/src/NuGetUtility/Wrapper/MsBuildWrapper/ProjectWrapper.cs index a6cc98a4..d0932d31 100644 --- a/src/NuGetUtility/Wrapper/MsBuildWrapper/ProjectWrapper.cs +++ b/src/NuGetUtility/Wrapper/MsBuildWrapper/ProjectWrapper.cs @@ -1,4 +1,7 @@ -using Microsoft.Build.Evaluation; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using Microsoft.Build.Evaluation; namespace NuGetUtility.Wrapper.MsBuildWrapper { diff --git a/src/NuGetUtility/Wrapper/MsBuildWrapper/WindowsMsBuildAbstraction.cs b/src/NuGetUtility/Wrapper/MsBuildWrapper/WindowsMsBuildAbstraction.cs index 789035aa..4496ca0c 100644 --- a/src/NuGetUtility/Wrapper/MsBuildWrapper/WindowsMsBuildAbstraction.cs +++ b/src/NuGetUtility/Wrapper/MsBuildWrapper/WindowsMsBuildAbstraction.cs @@ -1,4 +1,7 @@ -using System.Management; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using System.Management; using System.Runtime.Versioning; namespace NuGetUtility.Wrapper.MsBuildWrapper diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/Frameworks/INuGetFramework.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/Frameworks/INuGetFramework.cs index 32235c3a..a662ed91 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/Frameworks/INuGetFramework.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/Frameworks/INuGetFramework.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.Wrapper.NuGetWrapper.Frameworks +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.Wrapper.NuGetWrapper.Frameworks { public interface INuGetFramework { diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/Frameworks/WrappedNuGetFramework.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/Frameworks/WrappedNuGetFramework.cs index d46c82a0..6d4c4234 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/Frameworks/WrappedNuGetFramework.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/Frameworks/WrappedNuGetFramework.cs @@ -1,4 +1,7 @@ -using NuGet.Frameworks; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using NuGet.Frameworks; namespace NuGetUtility.Wrapper.NuGetWrapper.Frameworks { diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/NugetWrapperException.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/NugetWrapperException.cs index 3923d300..c78bc068 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/NugetWrapperException.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/NugetWrapperException.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.Wrapper.NuGetWrapper +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.Wrapper.NuGetWrapper { internal class NugetWrapperException : Exception { diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/Core/FailingPackagesConfigReader.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/Core/FailingPackagesConfigReader.cs index 5d4fe468..101cfa0f 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/Core/FailingPackagesConfigReader.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/Core/FailingPackagesConfigReader.cs @@ -1,4 +1,7 @@ -using NuGetUtility.Wrapper.MsBuildWrapper; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using NuGetUtility.Wrapper.MsBuildWrapper; namespace NuGetUtility.Wrapper.NuGetWrapper.Packaging.Core { diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/Core/IPackagesConfigReader.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/Core/IPackagesConfigReader.cs index fc863e15..4477c548 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/Core/IPackagesConfigReader.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/Core/IPackagesConfigReader.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using NuGetUtility.Wrapper.MsBuildWrapper; namespace NuGetUtility.Wrapper.NuGetWrapper.Packaging.Core diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/Core/PackageIdentity.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/Core/PackageIdentity.cs index 3f64e23e..ff068d5a 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/Core/PackageIdentity.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/Core/PackageIdentity.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using NuGetUtility.Wrapper.NuGetWrapper.Versioning; namespace NuGetUtility.Wrapper.NuGetWrapper.Packaging.Core diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/Core/PackagesConfigReaderException.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/Core/PackagesConfigReaderException.cs index fcc36362..e160ef7f 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/Core/PackagesConfigReaderException.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/Core/PackagesConfigReaderException.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.Wrapper.NuGetWrapper.Packaging.Core +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.Wrapper.NuGetWrapper.Packaging.Core { public class PackagesConfigReaderException : Exception { diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/Core/WindowsPackagesConfigReader.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/Core/WindowsPackagesConfigReader.cs index bd9bef66..0d73a6ed 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/Core/WindowsPackagesConfigReader.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/Core/WindowsPackagesConfigReader.cs @@ -1,4 +1,7 @@ -using System.Xml.Linq; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using System.Xml.Linq; using NuGetUtility.Extensions; using NuGetUtility.Wrapper.MsBuildWrapper; using NuGetUtility.Wrapper.NuGetWrapper.Versioning; diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/IPackageMetadata.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/IPackageMetadata.cs index cb2cd39b..874aca0c 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/IPackageMetadata.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/IPackageMetadata.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using NuGetUtility.Wrapper.NuGetWrapper.Packaging.Core; namespace NuGetUtility.Wrapper.NuGetWrapper.Packaging diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/LicenseMetadata.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/LicenseMetadata.cs index 3bdec780..15ca2fa4 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/LicenseMetadata.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/LicenseMetadata.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using System.ComponentModel; using OriginalLicenseType = NuGet.Packaging.LicenseType; using WrappedLicenseType = NuGetUtility.Wrapper.NuGetWrapper.Packaging.LicenseType; diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/LicenseType.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/LicenseType.cs index 7d99eab2..773c7bb5 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/LicenseType.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/Packaging/LicenseType.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + namespace NuGetUtility.Wrapper.NuGetWrapper.Packaging { public enum LicenseType diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/ILockFile.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/ILockFile.cs index a9e91d34..d5ad2c83 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/ILockFile.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/ILockFile.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.Wrapper.NuGetWrapper.ProjectModel +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.Wrapper.NuGetWrapper.ProjectModel { public interface ILockFile { diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/ILockFileFactory.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/ILockFileFactory.cs index df6ca90a..3a488df3 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/ILockFileFactory.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/ILockFileFactory.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.Wrapper.NuGetWrapper.ProjectModel +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.Wrapper.NuGetWrapper.ProjectModel { public interface ILockFileFactory { diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/ILockFileLibrary.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/ILockFileLibrary.cs index 297e2612..b54eaace 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/ILockFileLibrary.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/ILockFileLibrary.cs @@ -1,4 +1,7 @@ -using NuGetUtility.Wrapper.NuGetWrapper.Versioning; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using NuGetUtility.Wrapper.NuGetWrapper.Versioning; namespace NuGetUtility.Wrapper.NuGetWrapper.ProjectModel { diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/ILockFileTarget.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/ILockFileTarget.cs index af8763bf..3d09503c 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/ILockFileTarget.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/ILockFileTarget.cs @@ -1,4 +1,7 @@ -using NuGetUtility.Wrapper.NuGetWrapper.Frameworks; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using NuGetUtility.Wrapper.NuGetWrapper.Frameworks; namespace NuGetUtility.Wrapper.NuGetWrapper.ProjectModel { diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/IPackageSpec.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/IPackageSpec.cs index d6856891..9767157f 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/IPackageSpec.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/IPackageSpec.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.Wrapper.NuGetWrapper.ProjectModel +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.Wrapper.NuGetWrapper.ProjectModel { public interface IPackageSpec { diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/ITargetFrameworkInformation.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/ITargetFrameworkInformation.cs index 0d207aea..ef94813a 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/ITargetFrameworkInformation.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/ITargetFrameworkInformation.cs @@ -1,4 +1,7 @@ -using NuGetUtility.Wrapper.NuGetWrapper.Frameworks; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using NuGetUtility.Wrapper.NuGetWrapper.Frameworks; namespace NuGetUtility.Wrapper.NuGetWrapper.ProjectModel { diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/LockFileFactory.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/LockFileFactory.cs index 75b4dadf..9aff0eca 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/LockFileFactory.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/LockFileFactory.cs @@ -1,4 +1,7 @@ -using NuGet.ProjectModel; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using NuGet.ProjectModel; namespace NuGetUtility.Wrapper.NuGetWrapper.ProjectModel { diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/WrappedLockFile.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/WrappedLockFile.cs index bd33d88c..3734a61e 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/WrappedLockFile.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/WrappedLockFile.cs @@ -1,4 +1,7 @@ -using NuGet.ProjectModel; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using NuGet.ProjectModel; namespace NuGetUtility.Wrapper.NuGetWrapper.ProjectModel { diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/WrappedLockFileLibrary.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/WrappedLockFileLibrary.cs index 55eb8ac3..f16c25b6 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/WrappedLockFileLibrary.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/WrappedLockFileLibrary.cs @@ -1,4 +1,7 @@ -using NuGet.ProjectModel; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using NuGet.ProjectModel; using NuGetUtility.Wrapper.NuGetWrapper.Versioning; namespace NuGetUtility.Wrapper.NuGetWrapper.ProjectModel diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/WrappedLockFileTarget.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/WrappedLockFileTarget.cs index 924d3ff5..cfd316f1 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/WrappedLockFileTarget.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/WrappedLockFileTarget.cs @@ -1,4 +1,7 @@ -using NuGet.ProjectModel; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using NuGet.ProjectModel; using NuGetUtility.Wrapper.NuGetWrapper.Frameworks; namespace NuGetUtility.Wrapper.NuGetWrapper.ProjectModel diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/WrappedPackageSpec.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/WrappedPackageSpec.cs index 1529ab2d..6b31dd74 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/WrappedPackageSpec.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/WrappedPackageSpec.cs @@ -1,4 +1,7 @@ -using NuGet.ProjectModel; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using NuGet.ProjectModel; namespace NuGetUtility.Wrapper.NuGetWrapper.ProjectModel { diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/WrappedTargetFrameworkInformation.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/WrappedTargetFrameworkInformation.cs index f6cb8946..fa4e9516 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/WrappedTargetFrameworkInformation.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/ProjectModel/WrappedTargetFrameworkInformation.cs @@ -1,4 +1,7 @@ -using NuGet.ProjectModel; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using NuGet.ProjectModel; using NuGetUtility.Wrapper.NuGetWrapper.Frameworks; namespace NuGetUtility.Wrapper.NuGetWrapper.ProjectModel diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/CachingDisposableSourceRepository.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/CachingDisposableSourceRepository.cs index 396c06da..4190f814 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/CachingDisposableSourceRepository.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/CachingDisposableSourceRepository.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using NuGet.Protocol.Core.Types; namespace NuGetUtility.Wrapper.NuGetWrapper.Protocol.Core.Types diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/CachingPackageMetadataResource.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/CachingPackageMetadataResource.cs index c0d6c88b..6bf0f555 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/CachingPackageMetadataResource.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/CachingPackageMetadataResource.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using NuGet.Common; using NuGet.Protocol.Core.Types; using NuGet.Versioning; diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/IDisposableSourceRepository.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/IDisposableSourceRepository.cs index 0bfe3b79..739b2dc8 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/IDisposableSourceRepository.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/IDisposableSourceRepository.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + namespace NuGetUtility.Wrapper.NuGetWrapper.Protocol.Core.Types { public interface IDisposableSourceRepository : ISourceRepository, IDisposable diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/IPackageMetadataResource.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/IPackageMetadataResource.cs index 8a3a2352..7120c16f 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/IPackageMetadataResource.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/IPackageMetadataResource.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using NuGetUtility.Wrapper.NuGetWrapper.Packaging; using NuGetUtility.Wrapper.NuGetWrapper.Packaging.Core; diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/ISourceRepository.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/ISourceRepository.cs index af4d85df..fb68bc99 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/ISourceRepository.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/ISourceRepository.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.Wrapper.NuGetWrapper.Protocol.Core.Types +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.Wrapper.NuGetWrapper.Protocol.Core.Types { public interface ISourceRepository { diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/IWrappedSourceRepositoryProvider.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/IWrappedSourceRepositoryProvider.cs index 3d7495e3..9298dad8 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/IWrappedSourceRepositoryProvider.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/IWrappedSourceRepositoryProvider.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + namespace NuGetUtility.Wrapper.NuGetWrapper.Protocol.Core.Types { public interface IWrappedSourceRepositoryProvider diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/WrappedSourceRepositoryProvider.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/WrappedSourceRepositoryProvider.cs index fd275b54..0971052f 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/WrappedSourceRepositoryProvider.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/Core/Types/WrappedSourceRepositoryProvider.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using NuGet.Protocol.Core.Types; namespace NuGetUtility.Wrapper.NuGetWrapper.Protocol.Core.Types diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/GlobalPackagesFolderUtility.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/GlobalPackagesFolderUtility.cs index f9ab1aec..0d861ebb 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/GlobalPackagesFolderUtility.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/GlobalPackagesFolderUtility.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using NuGet.Configuration; using NuGet.Packaging; using NuGet.Protocol.Core.Types; diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/IGlobalPackagesFolderUtility.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/IGlobalPackagesFolderUtility.cs index cc313b24..99601d6e 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/IGlobalPackagesFolderUtility.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/IGlobalPackagesFolderUtility.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using NuGetUtility.Wrapper.NuGetWrapper.Packaging; using NuGetUtility.Wrapper.NuGetWrapper.Packaging.Core; diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/WrappedPackageMetadata.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/WrappedPackageMetadata.cs index f765cd84..c49b9898 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/WrappedPackageMetadata.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/Protocol/WrappedPackageMetadata.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using NuGet.Packaging; using NuGetUtility.Wrapper.NuGetWrapper.Packaging.Core; using NuGetUtility.Wrapper.NuGetWrapper.Versioning; diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/Versioning/INuGetVersion.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/Versioning/INuGetVersion.cs index 9147a652..9ef64c4e 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/Versioning/INuGetVersion.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/Versioning/INuGetVersion.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.Wrapper.NuGetWrapper.Versioning +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.Wrapper.NuGetWrapper.Versioning { public interface INuGetVersion : IComparable { } } diff --git a/src/NuGetUtility/Wrapper/NuGetWrapper/Versioning/WrappedNuGetVersion.cs b/src/NuGetUtility/Wrapper/NuGetWrapper/Versioning/WrappedNuGetVersion.cs index b2faf496..aaa572c9 100644 --- a/src/NuGetUtility/Wrapper/NuGetWrapper/Versioning/WrappedNuGetVersion.cs +++ b/src/NuGetUtility/Wrapper/NuGetWrapper/Versioning/WrappedNuGetVersion.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using NuGet.Versioning; namespace NuGetUtility.Wrapper.NuGetWrapper.Versioning diff --git a/tests/NuGetUtility.Test/Architecture/ArchitectureTest.cs b/tests/NuGetUtility.Test/Architecture/ArchitectureTest.cs index 02401b89..3d543680 100644 --- a/tests/NuGetUtility.Test/Architecture/ArchitectureTest.cs +++ b/tests/NuGetUtility.Test/Architecture/ArchitectureTest.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using System.Reflection; using NetArchTest.Rules; diff --git a/tests/NuGetUtility.Test/Architecture/ConditionsExtensions.cs b/tests/NuGetUtility.Test/Architecture/ConditionsExtensions.cs index 99dcc3c5..87a2cd23 100644 --- a/tests/NuGetUtility.Test/Architecture/ConditionsExtensions.cs +++ b/tests/NuGetUtility.Test/Architecture/ConditionsExtensions.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using NetArchTest.Rules; namespace NuGetUtility.Test.Architecture diff --git a/tests/NuGetUtility.Test/Architecture/Rules/NugetAbstractionTest.cs b/tests/NuGetUtility.Test/Architecture/Rules/NugetAbstractionTest.cs index 2fd1e3ea..9665cb50 100644 --- a/tests/NuGetUtility.Test/Architecture/Rules/NugetAbstractionTest.cs +++ b/tests/NuGetUtility.Test/Architecture/Rules/NugetAbstractionTest.cs @@ -1,4 +1,5 @@ - +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root namespace NuGetUtility.Test.Architecture.Rules { diff --git a/tests/NuGetUtility.Test/Extensions/HashSetExtensionTestObject.cs b/tests/NuGetUtility.Test/Extensions/HashSetExtensionTestObject.cs index 89d252be..6ddea37e 100644 --- a/tests/NuGetUtility.Test/Extensions/HashSetExtensionTestObject.cs +++ b/tests/NuGetUtility.Test/Extensions/HashSetExtensionTestObject.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.Test.Extensions +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.Test.Extensions { internal record struct HashSetExtensionTestObject(string A, int B); } diff --git a/tests/NuGetUtility.Test/Extensions/HashSetExtensionsTest.cs b/tests/NuGetUtility.Test/Extensions/HashSetExtensionsTest.cs index 3e4484e2..0d534295 100644 --- a/tests/NuGetUtility.Test/Extensions/HashSetExtensionsTest.cs +++ b/tests/NuGetUtility.Test/Extensions/HashSetExtensionsTest.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using System.Collections.Immutable; using AutoFixture; using AutoFixture.NUnit3; using NuGetUtility.Extensions; diff --git a/tests/NuGetUtility.Test/Extensions/MemoryStreamExtension.cs b/tests/NuGetUtility.Test/Extensions/MemoryStreamExtension.cs index 17c09442..ff0d59b6 100644 --- a/tests/NuGetUtility.Test/Extensions/MemoryStreamExtension.cs +++ b/tests/NuGetUtility.Test/Extensions/MemoryStreamExtension.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.Test.Extensions +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.Test.Extensions { public static class MemoryStreamExtension { diff --git a/tests/NuGetUtility.Test/Extensions/ProjectExtensionsTest.cs b/tests/NuGetUtility.Test/Extensions/ProjectExtensionsTest.cs index 20480091..f8f98379 100644 --- a/tests/NuGetUtility.Test/Extensions/ProjectExtensionsTest.cs +++ b/tests/NuGetUtility.Test/Extensions/ProjectExtensionsTest.cs @@ -1,4 +1,7 @@ -using NSubstitute; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using NSubstitute; using NuGetUtility.Extensions; using NuGetUtility.Wrapper.MsBuildWrapper; diff --git a/tests/NuGetUtility.Test/Helper/AsyncEnumerableExtension/AsyncEnumerable.cs b/tests/NuGetUtility.Test/Helper/AsyncEnumerableExtension/AsyncEnumerable.cs index 25800d52..981afdfd 100644 --- a/tests/NuGetUtility.Test/Helper/AsyncEnumerableExtension/AsyncEnumerable.cs +++ b/tests/NuGetUtility.Test/Helper/AsyncEnumerableExtension/AsyncEnumerable.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.Test.Helper.AsyncEnumerableExtension +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.Test.Helper.AsyncEnumerableExtension { internal class AsyncEnumerable : IAsyncEnumerable { diff --git a/tests/NuGetUtility.Test/Helper/AsyncEnumerableExtension/AsyncEnumerableExtension.cs b/tests/NuGetUtility.Test/Helper/AsyncEnumerableExtension/AsyncEnumerableExtension.cs index 51527a21..7733163e 100644 --- a/tests/NuGetUtility.Test/Helper/AsyncEnumerableExtension/AsyncEnumerableExtension.cs +++ b/tests/NuGetUtility.Test/Helper/AsyncEnumerableExtension/AsyncEnumerableExtension.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.Test.Helper.AsyncEnumerableExtension +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.Test.Helper.AsyncEnumerableExtension { internal static class AsyncEnumerableExtension { diff --git a/tests/NuGetUtility.Test/Helper/AsyncEnumerableExtension/AsyncEnumerator.cs b/tests/NuGetUtility.Test/Helper/AsyncEnumerableExtension/AsyncEnumerator.cs index 281ac27c..cc74533a 100644 --- a/tests/NuGetUtility.Test/Helper/AsyncEnumerableExtension/AsyncEnumerator.cs +++ b/tests/NuGetUtility.Test/Helper/AsyncEnumerableExtension/AsyncEnumerator.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.Test.Helper.AsyncEnumerableExtension +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.Test.Helper.AsyncEnumerableExtension { internal class AsyncEnumerator : IAsyncEnumerator { diff --git a/tests/NuGetUtility.Test/Helper/AutoFixture/NuGet/Versioning/ExtendedAutoDataAttribute.cs b/tests/NuGetUtility.Test/Helper/AutoFixture/NuGet/Versioning/ExtendedAutoDataAttribute.cs index adae1b84..0f2b8801 100644 --- a/tests/NuGetUtility.Test/Helper/AutoFixture/NuGet/Versioning/ExtendedAutoDataAttribute.cs +++ b/tests/NuGetUtility.Test/Helper/AutoFixture/NuGet/Versioning/ExtendedAutoDataAttribute.cs @@ -1,4 +1,7 @@ -using AutoFixture; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using AutoFixture; using AutoFixture.NUnit3; using NuGetUtility.Test.Extensions; diff --git a/tests/NuGetUtility.Test/Helper/AutoFixture/NuGet/Versioning/ExtendedInlineAutoDataAttribute.cs b/tests/NuGetUtility.Test/Helper/AutoFixture/NuGet/Versioning/ExtendedInlineAutoDataAttribute.cs index 2f276473..24234e69 100644 --- a/tests/NuGetUtility.Test/Helper/AutoFixture/NuGet/Versioning/ExtendedInlineAutoDataAttribute.cs +++ b/tests/NuGetUtility.Test/Helper/AutoFixture/NuGet/Versioning/ExtendedInlineAutoDataAttribute.cs @@ -1,4 +1,7 @@ -using AutoFixture; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using AutoFixture; using AutoFixture.NUnit3; using NuGetUtility.Test.Extensions; diff --git a/tests/NuGetUtility.Test/Helper/AutoFixture/NuGet/Versioning/NuGetVersionBuilder.cs b/tests/NuGetUtility.Test/Helper/AutoFixture/NuGet/Versioning/NuGetVersionBuilder.cs index 34a4dbfe..efbf99e9 100644 --- a/tests/NuGetUtility.Test/Helper/AutoFixture/NuGet/Versioning/NuGetVersionBuilder.cs +++ b/tests/NuGetUtility.Test/Helper/AutoFixture/NuGet/Versioning/NuGetVersionBuilder.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using AutoFixture.Kernel; using NuGetUtility.Wrapper.NuGetWrapper.Versioning; diff --git a/tests/NuGetUtility.Test/Helper/NUnitExtension/EnumEnumerableWithException.cs b/tests/NuGetUtility.Test/Helper/NUnitExtension/EnumEnumerableWithException.cs index 91bf4310..c0e36b75 100644 --- a/tests/NuGetUtility.Test/Helper/NUnitExtension/EnumEnumerableWithException.cs +++ b/tests/NuGetUtility.Test/Helper/NUnitExtension/EnumEnumerableWithException.cs @@ -1,4 +1,7 @@ -using System.Collections; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using System.Collections; namespace NuGetUtility.Test.Helper.NUnitExtension { diff --git a/tests/NuGetUtility.Test/Helper/NUnitExtension/EnumEnumeratorWithExceptions.cs b/tests/NuGetUtility.Test/Helper/NUnitExtension/EnumEnumeratorWithExceptions.cs index e0e864d4..940b2283 100644 --- a/tests/NuGetUtility.Test/Helper/NUnitExtension/EnumEnumeratorWithExceptions.cs +++ b/tests/NuGetUtility.Test/Helper/NUnitExtension/EnumEnumeratorWithExceptions.cs @@ -1,4 +1,7 @@ -using System.Collections; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using System.Collections; namespace NuGetUtility.Test.Helper.NUnitExtension { diff --git a/tests/NuGetUtility.Test/Helper/NUnitExtension/EnumValuesExceptAttribute.cs b/tests/NuGetUtility.Test/Helper/NUnitExtension/EnumValuesExceptAttribute.cs index 1f8b37f1..d35f2341 100644 --- a/tests/NuGetUtility.Test/Helper/NUnitExtension/EnumValuesExceptAttribute.cs +++ b/tests/NuGetUtility.Test/Helper/NUnitExtension/EnumValuesExceptAttribute.cs @@ -1,4 +1,7 @@ -using System.Collections; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using System.Collections; using NUnit.Framework.Interfaces; namespace NuGetUtility.Test.Helper.NUnitExtension diff --git a/tests/NuGetUtility.Test/Helper/ShuffelledEnumerable/EnumerableExtensions.cs b/tests/NuGetUtility.Test/Helper/ShuffelledEnumerable/EnumerableExtensions.cs index 5da8378c..1e1b6d0d 100644 --- a/tests/NuGetUtility.Test/Helper/ShuffelledEnumerable/EnumerableExtensions.cs +++ b/tests/NuGetUtility.Test/Helper/ShuffelledEnumerable/EnumerableExtensions.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.Test.Helper.ShuffelledEnumerable +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.Test.Helper.ShuffelledEnumerable { /// /// credit: https://stackoverflow.com/a/5807238/1199089 diff --git a/tests/NuGetUtility.Test/Helper/Type/TypeExtensions.cs b/tests/NuGetUtility.Test/Helper/Type/TypeExtensions.cs index d0854582..db2f1f99 100644 --- a/tests/NuGetUtility.Test/Helper/Type/TypeExtensions.cs +++ b/tests/NuGetUtility.Test/Helper/Type/TypeExtensions.cs @@ -1,4 +1,7 @@ -namespace NuGetUtility.Test.Helper.Type +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +namespace NuGetUtility.Test.Helper.Type { /// /// credit: https://stackoverflow.com/a/29823390/1199089 diff --git a/tests/NuGetUtility.Test/LicenseValidator/LicenseValidationResultValueEqualityComparer.cs b/tests/NuGetUtility.Test/LicenseValidator/LicenseValidationResultValueEqualityComparer.cs index 3232e700..c4626789 100644 --- a/tests/NuGetUtility.Test/LicenseValidator/LicenseValidationResultValueEqualityComparer.cs +++ b/tests/NuGetUtility.Test/LicenseValidator/LicenseValidationResultValueEqualityComparer.cs @@ -1,4 +1,7 @@ -using NuGetUtility.LicenseValidator; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using NuGetUtility.LicenseValidator; namespace NuGetUtility.Test.LicenseValidator { diff --git a/tests/NuGetUtility.Test/LicenseValidator/LicenseValidatorTest.cs b/tests/NuGetUtility.Test/LicenseValidator/LicenseValidatorTest.cs index 7747e755..2d3b97bf 100644 --- a/tests/NuGetUtility.Test/LicenseValidator/LicenseValidatorTest.cs +++ b/tests/NuGetUtility.Test/LicenseValidator/LicenseValidatorTest.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using System.Collections.Immutable; using AutoFixture; using NSubstitute; diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---aws.amazon.com-apache2.0-=Apache-2.0.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---aws.amazon.com-apache2.0-=Apache-2.0.verified.txt new file mode 100644 index 00000000..e34b60eb --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---aws.amazon.com-apache2.0-=Apache-2.0.verified.txt @@ -0,0 +1,510 @@ + + + + + + + + + + + + Apache 2.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to main content + + + + + + Click here to return to Amazon Web Services homepage + + + + Contact Us + Support  + English  + My Account  + + + + + Sign In + + + Create an AWS Account + + + + + + + + + + Products + Solutions + Pricing + Documentation + Learn + Partner Network + AWS Marketplace + Customer Enablement + Events + Explore More + + + + + + + + + + + + + + + + + + Close + + + + عربي + Bahasa Indonesia + Deutsch + English + Español + Français + Italiano + Português + + + + + Tiếng Việt + Türkçe + Ρусский + ไทย + 日本語 + 한국어 + 中文 (简体) + 中文 (繁體) + + + + + + Close + + My Profile + Sign out of AWS Builder ID + AWS Management Console + Account Settings + Billing & Cost Management + Security Credentials + AWS Personal Health Dashboard + + + + Close + + Support Center + Expert Help + Knowledge Center + AWS Support Overview + AWS re:Post + + + + + + + + + + + + + Click here to return to Amazon Web Services homepage + + + + + + + + Get Started for Free + + + Contact Us + + + + + + + + + + + + + Products + Solutions + Pricing + Introduction to AWS + Getting Started + Documentation + Training and Certification + Developer Center + Customer Success + Partner Network + AWS Marketplace + Support + AWS re:Post + Log into Console + Download the Mobile App + + + + + + + + + + + + + + + Amazon Web Services + + + Legal + + +  + + + + Apache 2.0 + + + + Related Links + + Documentation + Tools + + + + Get Started for Free + Create Free Account + + + + + + + + + + + + Apache License + + + + + + + + + + + + + + + Version 2.0, January 2004 + + + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + + 1. Definitions. + “License” shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + “Licensor” shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + “Legal Entity” shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, “control” means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + “You” (or “Your”) shall mean an individual or Legal Entity exercising permissions granted by this License. + “Source” form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + “Object” form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + “Work” shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + “Derivative Works” shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + “Contribution” shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, “submitted” means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as “Not a Contribution.” + “Contributor” shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + + + 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + + + 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + + + 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + You must give any other recipients of the Work or Derivative Works a copy of this License; and + You must cause any modified files to carry prominent notices stating that You changed the files; and + You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + If the Work includes a “NOTICE” text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + + + 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + + + 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + + + 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + + + 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. + + + END OF TERMS AND CONDITIONS + + + + + + + + + + + + + + + + + + + + Sign In to the Console + + Learn About AWS + + What Is AWS? + What Is Cloud Computing? + AWS Inclusion, Diversity & Equity + What Is DevOps? + What Is a Container? + What Is a Data Lake? + What is Generative AI? + AWS Cloud Security + What's New + Blogs + Press Releases + + + + Resources for AWS + + Getting Started + Training and Certification + AWS Solutions Library + Architecture Center + Product and Technical FAQs + Analyst Reports + AWS Partners + + + + Developers on AWS + + Developer Center + SDKs & Tools + .NET on AWS + Python on AWS + Java on AWS + PHP on AWS + JavaScript on AWS + + + + Help + + Contact Us + Get Expert Help + File a Support Ticket + AWS re:Post + Knowledge Center + AWS Support Overview + Legal + AWS Careers + + + + + + + + Create an AWS Account + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Amazon is an Equal Opportunity Employer: + Minority / Women / Disability / Veteran / Gender Identity / Sexual Orientation / Age. + + + + + + + + + + Language + عربي + Bahasa Indonesia + Deutsch + English + Español + Français + Italiano + Português + Tiếng Việt + Türkçe + Ρусский + ไทย + 日本語 + 한국어 + 中文 (简体) + 中文 (繁體) + + + + + + + + + Privacy + | + Site Terms + | + Cookie Preferences + | + © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. + + + + + + + + + + + + + + + + Ending Support for Internet Explorer + Got it + + + AWS support for Internet Explorer ends on 07/31/2022. Supported browsers are Chrome, Firefox, Edge, and Safari. + Learn more » + + + Got it + + + + + + + diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---go.microsoft.com-fwlink--LinkID=214339=MS-EULA.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---go.microsoft.com-fwlink--LinkID=214339=MS-EULA.verified.txt new file mode 100644 index 00000000..58b4d6c9 --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---go.microsoft.com-fwlink--LinkID=214339=MS-EULA.verified.txt @@ -0,0 +1,916 @@ + + + + + + + + + + + + + +This installation contains the following software, the +license terms of each of which are included below: + +�         +Microsoft ASP.NET +Model View Controller 3 Tools Update + +�         +Microsoft ASP.NET +Web Pages + +�         +Microsoft Package +Manager for .NET + +�         +Microsoft +software update to Visual Studio, KB2483190 + +MICROSOFT +SOFTWARE LICENSE TERMS + + + +MICROSOFT ASP.NET MODEL VIEW CONTROLLER 3 TOOLS UPDATE + + + +These +license terms are an agreement between Microsoft Corporation (or based on where +you live, one of its affiliates) and you. Please read them. They apply to the +software named above, which includes the media on which you received it, if +any. The terms also apply to any Microsoft + +�         +updates, + +�         +supplements, + +�         +Internet-based services, and + +�         +support services + +for +this software, unless other terms accompany those items. If so, those terms +apply. + +BY +USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT +USE THE SOFTWARE. + + + +If you comply with these license terms, you have the +rights below. + + + +1.�� INSTALLATION AND USE RIGHTS. One user may install and use any number of copies of +the software on your devices to design, develop and test your ASP.NET programs.� +You may modify, copy, and distribute or deploy any .js files contained in the +software as part of your ASP.NET programs. + +2.�� ADDITIONAL LICENSING REQUIREMENTS +AND/OR USE RIGHTS. + +a.    +Distributable Code. In addition +to the .js files described above, the software contains code that you are +permitted to distribute in ASP.NET programs you develop if you comply with the +terms below. + +i.      Right to Use and Distribute. The code and +text files listed below are �Distributable Code.� + +�         +System.Web.Mvc.dll.� You may copy and distribute the object code form +of System.Web.Mvc.dll. + +�         +Third Party +Distribution.� You +may permit distributors of your programs to copy and distribute the +Distributable Code as part of those programs. + +ii.    +Distribution Requirements. For any Distributable Code you distribute, you must + +�         +add significant primary +functionality to it in your programs; + +�         +require distributors and external +end users to agree to terms that protect it at least as much as this agreement; + + +�         +display your valid copyright +notice on your programs; and + +�         +indemnify, defend, and hold +harmless Microsoft from any claims, including attorneys� fees, related to the +distribution or use of your programs. + +iii.   Distribution Restrictions. You may not + +�         +alter any copyright, trademark or +patent notice in the Distributable Code; + +�         +use Microsoft�s trademarks in your +programs� names or in a way that suggests your programs come from or are +endorsed by Microsoft; + +�         +distribute Distributable Code to +run on a platform other than the Windows platform; + +�         +include Distributable Code in +malicious, deceptive or unlawful programs; or + +�         +modify or distribute the source +code of any Distributable Code so that any part of it becomes subject to an +Excluded License. An Excluded License is one that requires, as a condition of +use, modification or distribution, that + +�         +the code be disclosed or +distributed in source code form; or + +�         +others have the right to modify +it. + +3.�� THIRD PARTY NOTICES.� The software may include third party code that Microsoft, not the +third party, licenses to you under this agreement. Notices, if any, for the +third party code are included for your information only. Microsoft�s service +and support obligations, if any, apply only to the unmodified third party code running +on ASP.NET. + +4.�� Scope of +License. The software is licensed, not sold. This agreement +only gives you some rights to use the software. Microsoft reserves all other +rights. Unless applicable law gives you more rights despite this limitation, +you may use the software only as expressly permitted in this agreement. In +doing so, you must comply with any technical limitations in the software that +only allow you to use it in certain ways. You may not + +�         +work around any technical +limitations in the software; + +�         +reverse engineer, decompile or +disassemble the software, except and only to the extent that applicable law +expressly permits, despite this limitation; + +�         +make more copies of the software +than specified in this agreement or allowed by applicable law, despite this +limitation; + +�         +publish the software for others to +copy; + +�         +rent, lease or lend the software; +or + +�         +transfer the software or this +agreement to any third party. + +5.�� BACKUP COPY. You may make one backup copy of the software. You may +use it only to reinstall the software. + +6.�� DOCUMENTATION. Any person that has valid access to your computer or +internal network may copy and use the documentation for your internal, reference +purposes. + +7.�� Export +Restrictions. The software is subject to United States export laws +and regulations. You must comply with all domestic and international export +laws and regulations that apply to the software. These laws include +restrictions on destinations, end users and end use. For additional +information, see www.microsoft.com/exporting. + +8.�� SUPPORT +SERVICES. Because this software is �as is,� we may not provide +support services for it. + +9.�� Entire +Agreement. This agreement, and the +terms for supplements, updates, Internet-based services and support services +that you use, are the entire agreement for the software and support services. + +10. Applicable +Law. + +a.�� United States. If you acquired the software in the United States, +Washington state law governs the interpretation of this agreement and applies +to claims for breach of it, regardless of conflict of laws principles. The laws +of the state where you live govern all other claims, including claims under +state consumer protection laws, unfair competition laws, and in tort. + +b.�� Outside the United States. If you acquired the software in any other country, +the laws of that country apply. + +11. Legal +Effect. This agreement describes +certain legal rights. You may have other rights under the laws of your country. +You may also have rights with respect to the party from whom you acquired the +software. This agreement does not change your rights under the laws of your +country if the laws of your country do not permit it to do so. + +12. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED +�AS-IS.� YOU BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, +GUARANTEES OR CONDITIONS. YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS UNDER YOUR +LOCAL LAWS WHICH THIS AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED UNDER +YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. + +13. LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. +YOU CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. +$5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST +PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES. + +This limitation applies to + +�         +anything related to the software, +services, content (including code) on third party Internet sites, or third +party programs; and + +�         +claims for breach of contract, +breach of warranty, guarantee or condition, strict liability, negligence, or +other tort to the extent permitted by applicable law. + +It also applies even if Microsoft knew or should have +known about the possibility of the damages. The above limitation or exclusion +may not apply to you because your country may not allow the exclusion or +limitation of incidental, consequential or other damages. + +  + +*��� *�� *�� *�� * + +MICROSOFT +SOFTWARE LICENSE TERMS + + + +MICROSOFT ASP.NET WEB PAGES + + + +These +license terms are an agreement between Microsoft Corporation (or based on where +you live, one of its affiliates) and you. Please read them. They apply to the +software named above, which includes the media on which you received it, if +any. The terms also apply to any Microsoft + +�         +updates, + +�         +supplements, + +�         +Internet-based services, and + +�         +support services + +for +this software, unless other terms accompany those items. If so, those terms +apply. + +BY +USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT +USE THE SOFTWARE. + +AS +DESCRIBED BELOW, USING SOME FEATURES ALSO OPERATES AS YOUR CONSENT TO THE +TRANSMISSION OF CERTAIN STANDARD COMPUTER INFORMATION FOR INTERNET-BASED +SERVICES. + + + +If you comply with these license terms, you have the +rights below. + + + +1.�� INSTALLATION AND USE RIGHTS. One user may install and use any number of copies of +the software on your devices to design, develop and test your ASP.NET programs. + +2.�� ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS.� + +a.    +Distributable Code. The software contains code that you are permitted to +distribute in programs you develop if you comply with the terms below. + +i.      Right to Use and Distribute. The code and +text files listed below are �Distributable Code.� + +�         +Redistributable +DLL Files.� You +may copy and distribute the object code form of the following files: + +�  +Microsoft.Web.Infrastructure.dll; + +�  +NuGet.Core.dll; + +�  +System.Web.Helpers.dll; + +�  +System.Web.Razor.dll; + +�  +System.Web.WebPages.Administration.dll; + +�  +System.Web.WebPages.Deployment.dll; + +�  +System.Web.WebPages.dll; + +�  +System.Web.WebPages.Razor.dll; + +�  +WebMatrix.Data.dll; + +�  +WebMatrix.WebData.dll. + +�         +Third Party Distribution.� You may +permit distributors of your programs to copy and distribute the Distributable +Code as part of those programs. + +ii.    +Distribution Requirements. For any +Distributable Code you distribute, you must + +�         +add significant primary +functionality to it in your programs; + +�         +require distributors and external +end users to agree to terms that protect it at least as much as this agreement; + + +�         +display your valid copyright +notice on your programs; and + +�         +indemnify, defend, and hold +harmless Microsoft from any claims, including attorneys� fees, related to the +distribution or use of your programs. + +iii.   Distribution Restrictions. You may not + +�         +alter any copyright, trademark or +patent notice in the Distributable Code; + +�         +use Microsoft�s trademarks in your +programs� names or in a way that suggests your programs come from or are +endorsed by Microsoft; + +�         +distribute Distributable Code to +run on a platform other than the Windows platform; + +�         +include Distributable Code in +malicious, deceptive or unlawful programs; or + +�         +modify or distribute the source +code of any Distributable Code so that any part of it becomes subject to an +Excluded License. An Excluded License is one that requires, as a condition of +use, modification or distribution, that + +�         +the code be disclosed or +distributed in source code form; or + +�         +others have the right to modify +it. + +3.�� INTERNET-BASED SERVICES. Microsoft provides Internet-based services with the software. +It may change or cancel them at any time. + +a.    +Consent for Internet-Based +Services. The software +feature described below connects to Microsoft +or service provider computer systems over the Internet. +In some cases, you will not receive a separate notice when they connect. You +may elect to not use it. For more information about this feature, see the +software documentation and the privacy statement available at go.microsoft.com/fwlink/?LinkID=205205. BY USING THIS FEATURE, YOU CONSENT TO THE TRANSMISSION OF THIS +INFORMATION. Microsoft +does not use the information to identify or contact you. + +i.      +Computer Information. The following feature uses Internet protocols, which +send to the appropriate systems computer information, such as your Internet +protocol address, the type of operating system, browser and name and version of +the software you are using, and the language code of the device where you +installed the software. Microsoft or a third-party service provider uses this +information to make the Internet-based service available to you. + +A.    Open Data Protocol (OData) Service. This software will access a list of packages that is +supplied by means of an OData service online from Microsoft or a third-party +service provider. + +ii.    +Installing Packages and their Dependencies.� Please refer to the +�Package Manager Feature� section below for a description of this feature. + +iii.   +Use of Information. We or a third-party service provider may use the +computer information, to improve our or their software and services. We or they +may also share it with others, such as hardware and software vendors.� They may +use the information to improve how their products run with Microsoft software. + +b.    Misuse of Internet-based Services. You may not use this service in +any way that could harm it or impair anyone else�s use of it. You may not use +the service to try to gain unauthorized access to any service, data, account or +network by any means. + +4.�� PACKAGE +MANAGER FEATURE.  This +software includes a package manager feature, which enables you to obtain other +software packages from other sources.  Those packages are offered and +distributed in some cases by third parties or in some cases by Microsoft, but +each such package is under its own license terms.  Microsoft is not +developing, distributing or licensing any of the third-party packages to you, +but instead, as a convenience, is providing you with this package manager +feature in order to access any packages for your own use.  By using this +package manager feature, you acknowledge and agree that you may be accessing +and using the third-party packages as distributed by such third parties and +under the separate license terms applicable to each package, including any +terms applicable to software dependencies that may be included in the package. +You acknowledge and agree that it is your responsibility to locate, understand +and comply with all applicable license terms for each package and its +dependencies, for example, by following the package source (feed) URL or by +reviewing the packages for embedded notices or license terms.  The package +manager feature may have been pre-set to a feed that is hosted by Microsoft or +a third party service provider, located at go.microsoft.com/fwlink/?LinkID=206669.  The packages listed on this feed may include packages submitted by third parties.  Microsoft +makes no representations, warranties or guarantees as to the feed URL, any +feeds from such URL, the information contained therein, or any packages +referenced in or accessed by you through such feeds. Microsoft grants you no +license rights for third-party software that is obtained using this feature or +from the feed.� You may change the feed URL that the package manager feature +initially points to at any time at your discretion. + +5.�� THIRD PARTY NOTICES.� The package manager feature of the software includes +third party code. However, such code is licensed to you by Microsoft under this +license agreement, rather than licensed to you by any third party under some +other license terms.� Notices, if any, for the third party code are included +with this software for your information only. + +6.�� Scope of +License. The software is licensed, not sold. This agreement +only gives you some rights to use the software. Microsoft reserves all other +rights. Unless applicable law gives you more rights despite this limitation, +you may use the software only as expressly permitted in this agreement. In +doing so, you must comply with any technical limitations in the software that +only allow you to use it in certain ways. You may not + +�         +work around any technical +limitations in the software; + +�         +reverse engineer, decompile or +disassemble the software, except and only to the extent that applicable law +expressly permits, despite this limitation; + +�         +make more copies of the software +than specified in this agreement or allowed by applicable law, despite this +limitation; + +�         +publish the software for others to +copy; + +�         +rent, lease or lend the software; +or + +�         +transfer the software or this +agreement to any third party. + +7.�� BACKUP COPY. You may make one backup copy of the software. You may +use it only to reinstall the software. + +8.�� DOCUMENTATION. Any person that has valid access to your computer or +internal network may copy and use the documentation for your internal, reference +purposes. + +9.�� Export +Restrictions. The software is subject to United States export laws +and regulations. You must comply with all domestic and international export +laws and regulations that apply to the software. These laws include +restrictions on destinations, end users and end use. For additional +information, see www.microsoft.com/exporting. + +10. SUPPORT +SERVICES. Because this software is �as is,� we may not provide +support services for it. + +11. Entire +Agreement. This agreement, and the +terms for supplements, updates, Internet-based services and support services +that you use, are the entire agreement for the software and support services. + +12. Applicable +Law. + +a.�� United States. If you acquired the software in the United States, +Washington state law governs the interpretation of this agreement and applies +to claims for breach of it, regardless of conflict of laws principles. The laws +of the state where you live govern all other claims, including claims under +state consumer protection laws, unfair competition laws, and in tort. + +b.�� Outside the United States. If you acquired the software in any other country, +the laws of that country apply. + +13. Legal +Effect. This agreement describes +certain legal rights. You may have other rights under the laws of your country. +You may also have rights with respect to the party from whom you acquired the +software. This agreement does not change your rights under the laws of your +country if the laws of your country do not permit it to do so. + +14. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED +�AS-IS.� YOU BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, +GUARANTEES OR CONDITIONS. YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS UNDER YOUR +LOCAL LAWS WHICH THIS AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED UNDER +YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. + +15. LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. +YOU CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. +$5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST +PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES. + +This limitation applies to + +�         +anything related to the software, +services, content (including code) on third party Internet sites, or third +party programs; and + +�         +claims for breach of contract, +breach of warranty, guarantee or condition, strict liability, negligence, or +other tort to the extent permitted by applicable law. + +It also applies even if Microsoft knew or should have known about the +possibility of the damages. The above limitation or exclusion may not apply to +you because your country may not allow the exclusion or limitation of +incidental, consequential or other damages. + +*��� *�� *�� *�� * + +MICROSOFT +SOFTWARE LICENSE TERMS + + + +MICROSOFT PACKAGE MANAGER FOR .NET + + + +These +license terms are an agreement between Microsoft Corporation (or based on where +you live, one of its affiliates) and you. Please read them. They apply to the +software named above, which includes the media on which you received it, if +any. The terms also apply to any Microsoft + +������ updates, + +������ supplements, + +������ Internet-based services, and + +������ support services + +for +this software, unless other terms accompany those items. If so, those terms +apply. + +BY +USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT +USE THE SOFTWARE. + +AS +DESCRIBED BELOW, USING SOME FEATURES ALSO OPERATES AS YOUR CONSENT TO THE +TRANSMISSION OF CERTAIN STANDARD COMPUTER INFORMATION FOR INTERNET-BASED +SERVICES. + + + +If you comply with these license terms, you have the +rights below. + + + +1.�� INSTALLATION AND USE RIGHTS. One user may install and use any number of copies of +the software on your devices to design, develop and test your programs. + +2.�� ADDITIONAL +LICENSING REQUIREMENTS AND/OR USE RIGHTS. + +a.    +Distributable Code. The software contains code that you are permitted to +distribute in programs you develop if you comply with the terms below. + +i.      Right to Use and Distribute. The code and +text files listed below are �Distributable Code.� + +�         +NuGet.Core.dll. You may copy and distribute the +object code form of NuGet.Core.dll. + +�         +Third Party +Distribution. You +may permit distributors of your programs to copy and distribute the +Distributable Code as part of those programs. + +ii.    +Distribution Requirements. For any Distributable Code you distribute, you must + +�         +add significant primary +functionality to it in your programs; + +�         +require distributors and external +end users to agree to terms that protect it at least as much as this agreement; + + +�         +display your valid copyright +notice on your programs; and + +�         +indemnify, defend, and hold +harmless Microsoft from any claims, including attorneys� fees, related to the +distribution or use of your programs. + +iii.   Distribution Restrictions. You may not + +�         +alter any copyright, trademark or +patent notice in the Distributable Code; + +�         +use Microsoft�s trademarks in your +programs� names or in a way that suggests your programs come from or are +endorsed by Microsoft; + +�         +distribute Distributable Code to +run on a platform other than the Windows platform; + +�         +include Distributable Code in +malicious, deceptive or unlawful programs; or + +�         +modify or distribute the source +code of any Distributable Code so that any part of it becomes subject to an +Excluded License. An Excluded License is one that requires, as a condition of +use, modification or distribution, that + +�         +the code be disclosed or +distributed in source code form; or + +�         +others have the right to modify +it. + +3.�� INTERNET-BASED SERVICES. Microsoft provides Internet-based services with the software. +It may change or cancel them at any time. + +a.    +Consent for Internet-Based +Services. The software +feature described below connects to Microsoft +or service provider computer systems over the Internet. +In some cases, you will not receive a separate notice when they connect. You +may elect to not use it. For more information about this feature, see the +software documentation and the privacy statement available at go.microsoft.com/fwlink/?LinkID=205205. BY USING THIS FEATURE, YOU CONSENT TO THE TRANSMISSION OF THIS +INFORMATION. Microsoft +does not use the information to identify or contact you. + +i.      +Computer Information. The following feature uses Internet protocols, which +send to the appropriate systems computer information, such as your Internet +protocol address, the type of operating system, browser and name and version of +the software you are using, and the language code of the device where you +installed the software. Microsoft or a third-party service provider uses this +information to make the Internet-based service available to you. + +A.    Open Data Protocol (OData) Service. This software will access a list of packages that is +supplied by means of an OData service online from Microsoft or a third-party +service provider. + +ii.    +Installing Packages and their Dependencies.� Please refer to the +�Package Manager Feature� section below for a description of this feature. + +iii.   +Use of Information. We or a third-party service provider may use the +computer information, to improve our or their software and services. We or they +may also share it with others, such as hardware and software vendors.� They may +use the information to improve how their products run with Microsoft software. + +b.    Misuse of Internet-based Services. You may not use this service in +any way that could harm it or impair anyone else�s use of it. You may not use the +service to try to gain unauthorized access to any service, data, account or +network by any means. + +4.�� PACKAGE +MANAGER FEATURE.  This +software includes a package manager feature, which enables you to obtain other +software packages from other sources.  Those packages are offered and +distributed in some cases by third parties or in some cases by Microsoft, but +each such package is under its own license terms.  Microsoft is not +developing, distributing or licensing any of the third-party packages to you, +but instead, as a convenience, is providing you with this package manager +feature in order to access any packages for your own use.  By using this +package manager feature, you acknowledge and agree that you may be accessing +and using the third-party packages as distributed by such third parties and +under the separate license terms applicable to each package, including any +terms applicable to software dependencies that may be included in the package. +You acknowledge and agree that it is your responsibility to locate, understand +and comply with all applicable license terms for each package and its +dependencies, for example, by following the package source (feed) URL or by +reviewing the packages for embedded notices or license terms.  The package +manager feature may have been pre-set to a feed that is hosted by Microsoft or +a third party service provider, located at go.microsoft.com/fwlink/?LinkID=206669.  The packages listed on this feed may include packages submitted by third parties.  Microsoft +makes no representations, warranties or guarantees as to the feed URL, any +feeds from such URL, the information contained therein, or any packages +referenced in or accessed by you through such feeds. Microsoft grants you no +license rights for third-party software that is obtained using this feature or +from the feed.� You may change the feed URL that the package manager feature +initially points to at any time at your discretion. + +5.�� THIRD PARTY NOTICES.� The package manager feature of the software includes +third party code. However, such code is licensed to you by Microsoft under this +license agreement, rather than licensed to you by any third party under some +other license terms.� Notices, if any, for the third party code are included +with this software for your information only. + +6.�� Scope of +License. The software is licensed, not sold. This agreement +only gives you some rights to use the software. Microsoft reserves all other +rights. Unless applicable law gives you more rights despite this limitation, +you may use the software only as expressly permitted in this agreement. In +doing so, you must comply with any technical limitations in the software that +only allow you to use it in certain ways. You may not + +������ work around any technical limitations in the software; + +������ reverse engineer, decompile or disassemble the +software, except and only to the extent that applicable law expressly permits, +despite this limitation; + +������ make more copies of the software than specified in +this agreement or allowed by applicable law, despite this limitation; + +������ publish the software for others to copy; + +������ rent, lease or lend the software; or + +������ transfer the software or this agreement to any third +party. + +7.�� BACKUP COPY. You may make one backup copy of the software. You may +use it only to reinstall the software. + +8.�� DOCUMENTATION. Any person that has valid access to your computer or +internal network may copy and use the documentation for your internal, +reference purposes. + +9.�� Export +Restrictions. The software is subject to United States export laws +and regulations. You must comply with all domestic and international export +laws and regulations that apply to the software. These laws include +restrictions on destinations, end users and end use. For additional +information, see www.microsoft.com/exporting. + +10. SUPPORT +SERVICES. Because this software is �as is,� we may not provide +support services for it. + +11. Entire +Agreement. This agreement, and the +terms for supplements, updates, Internet-based services and support services +that you use, are the entire agreement for the software and support services. + +12. Applicable +Law. + +a.�� United States. If you acquired the software in the United States, +Washington state law governs the interpretation of this agreement and applies +to claims for breach of it, regardless of conflict of laws principles. The laws +of the state where you live govern all other claims, including claims under +state consumer protection laws, unfair competition laws, and in tort. + +b.�� Outside the United States. If you acquired the software in any other country, +the laws of that country apply. + +13. Legal +Effect. This agreement describes +certain legal rights. You may have other rights under the laws of your country. +You may also have rights with respect to the party from whom you acquired the +software. This agreement does not change your rights under the laws of your +country if the laws of your country do not permit it to do so. + +14. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED +�AS-IS.� YOU BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, +GUARANTEES OR CONDITIONS. YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS UNDER YOUR +LOCAL LAWS WHICH THIS AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED UNDER +YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. + +15. LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. +YOU CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. +$5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST +PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES. + +This limitation applies to + +������ anything related to the software, services, content +(including code) on third party Internet sites, or third party programs; and + +������ claims for breach of contract, breach of warranty, +guarantee or condition, strict liability, negligence, or other tort to the +extent permitted by applicable law. + +It also applies even if Microsoft knew or should have known about the +possibility of the damages. The above limitation or exclusion may not apply to +you because your country may not allow the exclusion or limitation of +incidental, consequential or other damages. + +*��� *�� *�� *�� * + +  + +MICROSOFT SOFTWARE LICENSE TERMS + +MICROSOFT SOFTWARE UPDATE TO VISUAL STUDIO, KB2483190 + +____________________________________________________________________________________ + +PLEASE +NOTE: Microsoft Corporation (or based +on where you live, one of its affiliates) licenses this supplement to you. You +may use it with each validly licensed copy of Microsoft Visual Studio 2010 or +Microsoft Windows operating system� software (for which this supplement is +applicable) (the �software�). You may not use the supplement if you do not have +a license for the software. The license terms for the software apply to your +use of this supplement. Microsoft provides support services for the supplement +as described at www.support.microsoft.com/common/international.aspx. + +  + + + + + + diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---go.microsoft.com-fwlink--LinkId=329770=MS-EULA.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---go.microsoft.com-fwlink--LinkId=329770=MS-EULA.verified.txt new file mode 100644 index 00000000..cf204a2b --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---go.microsoft.com-fwlink--LinkId=329770=MS-EULA.verified.txt @@ -0,0 +1,252 @@ + + + + + + + + +.NET Library License Terms | .NET + + + + + + + + +MICROSOFT SOFTWARE LICENSE +TERMS + + + +MICROSOFT .NET +LIBRARY + + + +These +license terms are an agreement between you and Microsoft Corporation (or based +on where you live, one of its affiliates). They apply to the software named +above. The terms also apply to any Microsoft services or updates for the +software, except to the extent those have different terms. + + + +If +you comply with these license terms, you have the rights below. + + + +1.    INSTALLATION AND USE RIGHTS. + +You may +install and use any number of copies of the software to develop and test your applications.  + + +2.    +THIRD PARTY COMPONENTS. The software may include third party components with +separate legal notices or governed by other agreements, as may be described in +the ThirdPartyNotices file(s) accompanying the software. + +3.    +ADDITIONAL LICENSING +REQUIREMENTS AND/OR USE RIGHTS. + +a.     +DISTRIBUTABLE +CODE.  The software is +comprised of Distributable Code. �Distributable Code� is code that you are +permitted to distribute in applications you develop if you comply with the +terms below. + +i.      Right to Use and Distribute. + +�        +You may copy and distribute the object code form of the software. + +�        +Third Party Distribution. You may permit distributors of your applications +to copy and distribute the Distributable Code as part of those applications. + +ii.     Distribution Requirements. For any +Distributable Code you distribute, you must + +�        +use the Distributable Code in your applications and not as a +standalone distribution; + +�        +require distributors and external end users to agree to terms that +protect it at least as much as this agreement; and + +�        +indemnify, defend, and hold harmless Microsoft from any claims, +including attorneys� fees, related to the distribution or use of your applications, +except to the extent that any claim is based solely on the unmodified Distributable +Code. + +iii.   Distribution Restrictions. You may not + +�        +use Microsoft�s trademarks in your applications� names or in a way +that suggests your applications come from or are endorsed by Microsoft; or + +�        +modify or distribute the source code of any Distributable Code so +that any part of it becomes subject to an Excluded License. An �Excluded +License� is one that requires, as a condition of use, modification or +distribution of code, that (i) it be disclosed or distributed in source code +form; or (ii) others have the right to modify it. + +4.    +DATA. + +a.     +Data Collection. The software may collect +information about you and your use of the software, and send that to Microsoft. +Microsoft may use this information to provide services and improve our products +and services.� You may opt-out of many of these scenarios, but not all, as +described in the software documentation.� There are also some features in the software that may enable you and +Microsoft to collect data from users of your applications. If you use +these features, you must comply with applicable law, including providing +appropriate notices to users of your applications together with Microsoft�s +privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data +collection and its use from the software documentation and our privacy +statement. Your use of the software operates as your consent to these +practices. + +b.    +Processing of Personal Data. To the extent Microsoft is a +processor or subprocessor of personal data in connection with the software, +Microsoft makes the commitments in the European Union General Data Protection +Regulation Terms of the Online Services Terms to all customers effective May +25, 2018, at https://learn.microsoft.com/en-us/legal/gdpr. + +5.    +Scope of +License. The software is licensed, not sold. This agreement +only gives you some rights to use the software. Microsoft reserves all other +rights. Unless applicable law gives you more rights despite this limitation, +you may use the software only as expressly permitted in this agreement. In +doing so, you must comply with any technical limitations in the software that +only allow you to use it in certain ways. You may not + +�        +work around any technical +limitations in the software; + +�        +reverse engineer, decompile or +disassemble the software, or otherwise attempt to derive the source code for +the software, except and to the extent required by third party licensing terms +governing use of certain open source components that may be included in the +software; + +�        +remove, minimize, block or modify +any notices of Microsoft or its suppliers in the software; + +�        +use the software in any way that +is against the law; or + +�        +share, publish, rent or lease the +software, provide the software as a stand-alone offering for others to use, or +transfer the software or this agreement to any third party. + +6.    +Export +Restrictions. You must comply with all domestic and international +export laws and regulations that apply to the software, which include +restrictions on destinations, end users, and end use. For further information +on export restrictions, visit www.microsoft.com/exporting. + +7.    +SUPPORT +SERVICES. Because this software is �as is,� we may not provide +support services for it. + +8.    +Entire +Agreement. This +agreement, and the terms for supplements, updates, Internet-based services and +support services that you use, are the entire agreement for the software and +support services. + +9.    Applicable Law.� If you acquired the software in the United States, Washington law +applies to interpretation of and claims for breach of this agreement, and the +laws of the state where you live apply to all other claims. If you acquired the +software in any other country, its laws apply. + +10. CONSUMER RIGHTS; REGIONAL VARIATIONS. This agreement describes certain legal rights. You +may have other rights, including consumer rights, under the laws of your state +or country. Separate and apart from your relationship with Microsoft, you may +also have rights with respect to the party from which you acquired the +software. This agreement does not change those other rights if the laws of your +state or country do not permit it to do so. For example, if you acquired the +software in one of the below regions, or mandatory country law applies, then +the following provisions apply to you: + +a)    Australia. You have statutory guarantees under the Australian Consumer +Law and nothing in this agreement is intended to affect those rights. + +b)    Canada. If you acquired this software in Canada, you may stop +receiving updates by turning off the automatic update feature, disconnecting +your device from the Internet (if and when you re-connect to the Internet, +however, the software will resume checking for and installing updates), or uninstalling +the software. The product documentation, if any, may also specify how to turn +off updates for your specific device or software. + +c)    Germany and Austria. + +(i)������� Warranty. The software will perform +substantially as described in any Microsoft materials that accompany it. +However, Microsoft gives no contractual guarantee in relation to the software. + +(ii)������ Limitation of Liability. In case of +intentional conduct, gross negligence, claims based on the Product Liability +Act, as well as in case of death or personal or physical injury, Microsoft is +liable according to the statutory law. + +Subject to the foregoing clause (ii), Microsoft will only +be liable for slight negligence if Microsoft is in breach of such material +contractual obligations, the fulfillment of which facilitate the due +performance of this agreement, the breach of which would endanger the purpose +of this agreement and the compliance with which a party may constantly trust in +(so-called "cardinal obligations"). In other cases of slight negligence, +Microsoft will not be liable for slight negligence + +11. Disclaimer of Warranty. THE SOFTWARE IS LICENSED �AS-IS.� YOU BEAR THE RISK +OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS. +TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NON-INFRINGEMENT. + +12. +Limitation +on and Exclusion of Remedies and Damages. YOU +CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. +$5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST +PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES. + +This limitation applies to (a) +anything related to the software, services, content (including code) on third +party Internet sites, or third party applications; and (b) claims for breach of +contract, breach of warranty, guarantee or condition, strict liability, +negligence, or other tort to the extent permitted by applicable law. + +It +also applies even if Microsoft knew or should have known about the possibility +of the damages. The above limitation or exclusion may not apply to you because +your state or country may not allow the exclusion or limitation of incidental, +consequential or other damages. + +  + + + + + + diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---go.microsoft.com-fwlink--LinkId=529443=MS-EULA.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---go.microsoft.com-fwlink--LinkId=529443=MS-EULA.verified.txt new file mode 100644 index 00000000..cf204a2b --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---go.microsoft.com-fwlink--LinkId=529443=MS-EULA.verified.txt @@ -0,0 +1,252 @@ + + + + + + + + +.NET Library License Terms | .NET + + + + + + + + +MICROSOFT SOFTWARE LICENSE +TERMS + + + +MICROSOFT .NET +LIBRARY + + + +These +license terms are an agreement between you and Microsoft Corporation (or based +on where you live, one of its affiliates). They apply to the software named +above. The terms also apply to any Microsoft services or updates for the +software, except to the extent those have different terms. + + + +If +you comply with these license terms, you have the rights below. + + + +1.    INSTALLATION AND USE RIGHTS. + +You may +install and use any number of copies of the software to develop and test your applications.  + + +2.    +THIRD PARTY COMPONENTS. The software may include third party components with +separate legal notices or governed by other agreements, as may be described in +the ThirdPartyNotices file(s) accompanying the software. + +3.    +ADDITIONAL LICENSING +REQUIREMENTS AND/OR USE RIGHTS. + +a.     +DISTRIBUTABLE +CODE.  The software is +comprised of Distributable Code. �Distributable Code� is code that you are +permitted to distribute in applications you develop if you comply with the +terms below. + +i.      Right to Use and Distribute. + +�        +You may copy and distribute the object code form of the software. + +�        +Third Party Distribution. You may permit distributors of your applications +to copy and distribute the Distributable Code as part of those applications. + +ii.     Distribution Requirements. For any +Distributable Code you distribute, you must + +�        +use the Distributable Code in your applications and not as a +standalone distribution; + +�        +require distributors and external end users to agree to terms that +protect it at least as much as this agreement; and + +�        +indemnify, defend, and hold harmless Microsoft from any claims, +including attorneys� fees, related to the distribution or use of your applications, +except to the extent that any claim is based solely on the unmodified Distributable +Code. + +iii.   Distribution Restrictions. You may not + +�        +use Microsoft�s trademarks in your applications� names or in a way +that suggests your applications come from or are endorsed by Microsoft; or + +�        +modify or distribute the source code of any Distributable Code so +that any part of it becomes subject to an Excluded License. An �Excluded +License� is one that requires, as a condition of use, modification or +distribution of code, that (i) it be disclosed or distributed in source code +form; or (ii) others have the right to modify it. + +4.    +DATA. + +a.     +Data Collection. The software may collect +information about you and your use of the software, and send that to Microsoft. +Microsoft may use this information to provide services and improve our products +and services.� You may opt-out of many of these scenarios, but not all, as +described in the software documentation.� There are also some features in the software that may enable you and +Microsoft to collect data from users of your applications. If you use +these features, you must comply with applicable law, including providing +appropriate notices to users of your applications together with Microsoft�s +privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data +collection and its use from the software documentation and our privacy +statement. Your use of the software operates as your consent to these +practices. + +b.    +Processing of Personal Data. To the extent Microsoft is a +processor or subprocessor of personal data in connection with the software, +Microsoft makes the commitments in the European Union General Data Protection +Regulation Terms of the Online Services Terms to all customers effective May +25, 2018, at https://learn.microsoft.com/en-us/legal/gdpr. + +5.    +Scope of +License. The software is licensed, not sold. This agreement +only gives you some rights to use the software. Microsoft reserves all other +rights. Unless applicable law gives you more rights despite this limitation, +you may use the software only as expressly permitted in this agreement. In +doing so, you must comply with any technical limitations in the software that +only allow you to use it in certain ways. You may not + +�        +work around any technical +limitations in the software; + +�        +reverse engineer, decompile or +disassemble the software, or otherwise attempt to derive the source code for +the software, except and to the extent required by third party licensing terms +governing use of certain open source components that may be included in the +software; + +�        +remove, minimize, block or modify +any notices of Microsoft or its suppliers in the software; + +�        +use the software in any way that +is against the law; or + +�        +share, publish, rent or lease the +software, provide the software as a stand-alone offering for others to use, or +transfer the software or this agreement to any third party. + +6.    +Export +Restrictions. You must comply with all domestic and international +export laws and regulations that apply to the software, which include +restrictions on destinations, end users, and end use. For further information +on export restrictions, visit www.microsoft.com/exporting. + +7.    +SUPPORT +SERVICES. Because this software is �as is,� we may not provide +support services for it. + +8.    +Entire +Agreement. This +agreement, and the terms for supplements, updates, Internet-based services and +support services that you use, are the entire agreement for the software and +support services. + +9.    Applicable Law.� If you acquired the software in the United States, Washington law +applies to interpretation of and claims for breach of this agreement, and the +laws of the state where you live apply to all other claims. If you acquired the +software in any other country, its laws apply. + +10. CONSUMER RIGHTS; REGIONAL VARIATIONS. This agreement describes certain legal rights. You +may have other rights, including consumer rights, under the laws of your state +or country. Separate and apart from your relationship with Microsoft, you may +also have rights with respect to the party from which you acquired the +software. This agreement does not change those other rights if the laws of your +state or country do not permit it to do so. For example, if you acquired the +software in one of the below regions, or mandatory country law applies, then +the following provisions apply to you: + +a)    Australia. You have statutory guarantees under the Australian Consumer +Law and nothing in this agreement is intended to affect those rights. + +b)    Canada. If you acquired this software in Canada, you may stop +receiving updates by turning off the automatic update feature, disconnecting +your device from the Internet (if and when you re-connect to the Internet, +however, the software will resume checking for and installing updates), or uninstalling +the software. The product documentation, if any, may also specify how to turn +off updates for your specific device or software. + +c)    Germany and Austria. + +(i)������� Warranty. The software will perform +substantially as described in any Microsoft materials that accompany it. +However, Microsoft gives no contractual guarantee in relation to the software. + +(ii)������ Limitation of Liability. In case of +intentional conduct, gross negligence, claims based on the Product Liability +Act, as well as in case of death or personal or physical injury, Microsoft is +liable according to the statutory law. + +Subject to the foregoing clause (ii), Microsoft will only +be liable for slight negligence if Microsoft is in breach of such material +contractual obligations, the fulfillment of which facilitate the due +performance of this agreement, the breach of which would endanger the purpose +of this agreement and the compliance with which a party may constantly trust in +(so-called "cardinal obligations"). In other cases of slight negligence, +Microsoft will not be liable for slight negligence + +11. Disclaimer of Warranty. THE SOFTWARE IS LICENSED �AS-IS.� YOU BEAR THE RISK +OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS. +TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NON-INFRINGEMENT. + +12. +Limitation +on and Exclusion of Remedies and Damages. YOU +CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. +$5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST +PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES. + +This limitation applies to (a) +anything related to the software, services, content (including code) on third +party Internet sites, or third party applications; and (b) claims for breach of +contract, breach of warranty, guarantee or condition, strict liability, +negligence, or other tort to the extent permitted by applicable law. + +It +also applies even if Microsoft knew or should have known about the possibility +of the damages. The above limitation or exclusion may not apply to you because +your state or country may not allow the exclusion or limitation of incidental, +consequential or other damages. + +  + + + + + + diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---go.microsoft.com-fwlink--LinkId=529444=MS-EULA-Non-Redistributable.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---go.microsoft.com-fwlink--LinkId=529444=MS-EULA-Non-Redistributable.verified.txt new file mode 100644 index 00000000..93943002 --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---go.microsoft.com-fwlink--LinkId=529444=MS-EULA-Non-Redistributable.verified.txt @@ -0,0 +1,224 @@ + + + + + + + + + + + + + +MICROSOFT SOFTWARE +LICENSE TERMS + +MICROSOFT .NET LIBRARY +(INSTALL AND USE) + +These license terms are +an agreement between Microsoft Corporation (or based on where you live, one of +its affiliates) and you. Please read them. They apply to the software named +above, which includes the media on which you received it, if any. The terms also +apply to any Microsoft + +�         +updates, + +�         +supplements, + +�         +Internet-based +services, and + +�         +support +services + +for this software, +unless other terms accompany those items. If so, those terms apply. + +BY USING THE SOFTWARE, +YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE. + +IF YOU COMPLY WITH +THESE LICENSE TERMS, YOU HAVE THE PERPETUAL RIGHTS BELOW. + +1.    INSTALLATION AND USE +RIGHTS. + +a.    Installation and Use. You may install and +use any number of copies of the software to design, develop and test your +programs. + +b.    Third Party Programs. The software may +include third party programs that Microsoft, not the third party, licenses to +you under this agreement. Notices, if any, for the third party program are included +for your information only. + +2.    SCOPE OF LICENSE. The software is +licensed, not sold. This agreement only gives you some rights to use the +software. Microsoft reserves all other rights. Unless applicable law gives you +more rights despite this limitation, you may use the software only as expressly +permitted in this agreement. In doing so, you must comply with any technical +limitations in the software that only allow you to use it in certain ways. You +may not + +�         +work +around any technical limitations in the software; + +�         +reverse +engineer, decompile or disassemble the software, except and only to the extent +that applicable law expressly permits, despite this limitation; + +�         +publish +the software for others to copy; + +�         +rent, +lease or lend the software; + +�         +transfer +the software or this agreement to any third party; or + +3.    BACKUP COPY. You may make one backup +copy of the software. You may use it only to reinstall the software. + +4.    DOCUMENTATION. Any person that has +valid access to your computer or internal network may copy and use the +documentation for your internal, reference purposes. + +5.    EXPORT RESTRICTIONS. The software is subject +to United States export laws and regulations. You must comply with all domestic +and international export laws and regulations that apply to the software. These +laws include restrictions on destinations, end users and end use. For +additional information, see www.microsoft.com/exporting. + +6.    SUPPORT SERVICES. Because this software +is �as is,� we may not provide support services for it. + +7.    ENTIRE AGREEMENT. This agreement, and the +terms for supplements, updates, Internet-based services and support services +that you use, are the entire agreement for the software and support services. + +8.    APPLICABLE LAW. + +a.    United States. If you acquired the +software in the United States, Washington state law governs the interpretation +of this agreement and applies to claims for breach of it, regardless of +conflict of laws principles. The laws of the state where you live govern all +other claims, including claims under state consumer protection laws, unfair +competition laws, and in tort. + +b.    Outside the United +States. If you acquired the software in any other country, the laws of that +country apply. + +9.  LEGAL EFFECT. This agreement +describes certain legal rights. You may have other rights under the laws of +your country. You may also have rights with respect to the party from whom you +acquired the software. This agreement does not change your rights under the +laws of your country if the laws of your country do not permit it to do so. + +10.  DISCLAIMER OF WARRANTY. +THE SOFTWARE IS LICENSED �AS-IS.� YOU BEAR THE RISK OF USING IT. MICROSOFT +GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS. YOU MAY HAVE ADDITIONAL +CONSUMER RIGHTS OR STATUTORY GUARANTEES UNDER YOUR LOCAL LAWS WHICH THIS +AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS, MICROSOFT +EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +PURPOSE AND NON-INFRINGEMENT. + +FOR AUSTRALIA � YOU +HAVE STATUTORY GUARANTEES UNDER THE AUSTRALIAN CONSUMER LAW AND NOTHING IN +THESE TERMS IS INTENDED TO AFFECT THOSE RIGHTS. + +11.  LIMITATION ON AND +EXCLUSION OF REMEDIES AND DAMAGES. YOU CAN RECOVER FROM MICROSOFT AND ITS +SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT RECOVER ANY OTHER +DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, INDIRECT OR INCIDENTAL +DAMAGES. + +This limitation applies +to + +�         +anything +related to the software, services, content (including code) on third party +Internet sites, or third party programs; and + +�         +claims for +breach of contract, breach of warranty, guarantee or condition, strict +liability, negligence, or other tort to the extent permitted by applicable law. + +It also applies even if Microsoft knew +or should have known about the possibility of the damages. The above limitation +or exclusion may not apply to you because your country may not allow the +exclusion or limitation of incidental, consequential or other damages. + +Please note: As this +software is distributed in Quebec, Canada, some of the clauses in this +agreement are provided below in French. + +Remarque : Ce logiciel +�tant distribu� au Qu�bec, Canada, certaines des clauses dans ce contrat sont +fournies ci-dessous en fran�ais. + +EXON�RATION DE +GARANTIE. Le +logiciel vis� par une licence est offert � tel quel �. Toute utilisation de ce +logiciel est � votre seule risque et p�ril. Microsoft n�accorde aucune autre +garantie expresse. Vous pouvez b�n�ficier de droits additionnels en vertu du +droit local sur la protection des consommateurs, que ce contrat ne peut +modifier. La ou elles sont permises par le droit locale, les garanties implicites +de qualit� marchande, d�ad�quation � un usage particulier et d�absence de +contrefa�on sont exclues. + +LIMITATION DES +DOMMAGES-INT�R�TS ET EXCLUSION DE RESPONSABILIT� POUR LES DOMMAGES. Vous pouvez obtenir de +Microsoft et de ses fournisseurs une indemnisation en cas de dommages directs +uniquement � hauteur de 5,00 $ US. Vous ne pouvez pr�tendre � aucune +indemnisation pour les autres dommages, y compris les dommages sp�ciaux, +indirects ou accessoires et pertes de b�n�fices. + +Cette limitation +concerne : + +�         +tout +ce qui est reli� au logiciel, aux services ou au contenu (y compris le code) +figurant sur des sites Internet tiers ou dans des programmes tiers ; et + +�         +les +r�clamations au titre de violation de contrat ou de garantie, ou au titre de +responsabilit� stricte, de n�gligence ou d�une autre faute dans la limite +autoris�e par la loi en vigueur. + +Elle s�applique +�galement, m�me si Microsoft connaissait ou devrait conna�tre l��ventualit� +d�un tel dommage. Si votre pays n�autorise pas l�exclusion ou la limitation de +responsabilit� pour les dommages indirects, accessoires ou de quelque nature +que ce soit, il se peut que la limitation ou l�exclusion ci-dessus ne s�appliquera +pas � votre �gard. + +EFFET JURIDIQUE. Le pr�sent contrat +d�crit certains droits juridiques. Vous pourriez avoir d�autres droits pr�vus +par les lois de votre pays. Le pr�sent contrat ne modifie pas les droits que +vous conf�rent les lois de votre pays si celles-ci ne le permettent pas. + +  + +  + + + + + + diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---go.microsoft.com-fwlink--linkid=833178=MIT.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---go.microsoft.com-fwlink--linkid=833178=MIT.verified.txt new file mode 100644 index 00000000..828c8283 --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---go.microsoft.com-fwlink--linkid=833178=MIT.verified.txt @@ -0,0 +1,26 @@ +OData .NET Libraries - ODataLib + +Copyright (c) 2018 Microsoft. All rights reserved. + +Material in this repository is made available under the following terms: + 1. Code is licensed under the MIT license, reproduced below. + 2. Documentation is licensed under the Creative Commons Attribution 3.0 United States (Unported) License. + The text of the license can be found here: http://creativecommons.org/licenses/by/3.0/legalcode + +The MIT License (MIT) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and +associated documentation files (the "Software"), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, publish, distribute, +sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial +portions of the Software. + +THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT +NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES +OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---logging.apache.org-log4net-license.html=Apache-2.0.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---logging.apache.org-log4net-license.html=Apache-2.0.verified.txt new file mode 100644 index 00000000..9dcdc3d1 --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---logging.apache.org-log4net-license.html=Apache-2.0.verified.txt @@ -0,0 +1,209 @@ + + + + + + + Apache log4net – Project License - Apache log4net + + + + + + + + + + + + + + + + + + + + + Apache log4net ™ + + + + + Logging Wiki + + + + + Apache + + + + + Logging Services + + + + + GitHub + + + + + + + + + + + + + Apache log4net + + About + + + Download + + + Security Reports + + + Release Notes + + + License + + + + Documentation + + Features + + + Supported Frameworks + + + Example Apps + + + Config Examples + + + Building + + + FAQ + + + How Tos + + + SDK Reference + + + + Manual + + Introduction + + + Configuration + + + Contexts + + + Plugins + + + Repositories + + + Internals + + + + For Contributors + + Mailing Lists + + + Issue Tracking + + + Repository + + + Continuous Integration + + + + Project Reports + + RAT Report + + + + Apache + + + + Home + + + + + License + + + + + Sponsorship + + + + + Thanks + + + + + Security + + + + + Conferences + + + + + + + + + + + +Overview +Typically the licenses listed for the project are that of the project itself, and not of dependencies. + +Project License + +Apache License, Version 2.0 + +- + + + + + + + Copyright © 2004-2022 Apache Software Foundation. All Rights Reserved. + Apache log4net, Apache, log4net, the Apache feather logo, the Apache Logging Services project logo and the Built by Maven logo are trademarks of The Apache Software Foundation. + Site powered by Twitter Bootstrap. Icons from Glyphicons Free. + + + + diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---max.mit-license.org-=MIT.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---max.mit-license.org-=MIT.verified.txt new file mode 100644 index 00000000..767d9c98 --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---max.mit-license.org-=MIT.verified.txt @@ -0,0 +1,47 @@ + + + + MIT License + + + + + + + + + + + + + + The MIT License (MIT) + + Copyright © 2024 Max Hauser + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the “Software”), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + + + Fork this project to create your own + MIT license that you can always link to. + + + + + diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---www.apache.org-licenses-LICENSE-2.0.html=Apache-2.0.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---www.apache.org-licenses-LICENSE-2.0.html=Apache-2.0.verified.txt new file mode 100644 index 00000000..fc35c28c --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---www.apache.org-licenses-LICENSE-2.0.html=Apache-2.0.verified.txt @@ -0,0 +1,468 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Apache License, Version 2.0 + + + + + + + + + + + + + + + + + + + + + + Skip to Main Content + + + + + + + Toggle navigation + + + + + + + + + + + + + + + Sponsor the ASF + + + + Community  + + Contributor Getting Started + Becoming a Committer + Code of Conduct + Community Resources + Community Over Code + Events + Store + + + + Projects  + + Projects + Incubator Projects + Projects Directory + Mailing Lists + Report a Vulnerability + + + + Downloads  + + Distributions + Releases + Infrastructure Status + Infrastructure Statistics + + + + Learn  + + Blog + How the ASF Works + The Apache Way + Legal & Trademark + Licenses + Glossary + FAQ + + + + Resources & Tools  + + Developer Information + Wiki + Issues + Slack + Self Serve Portal + Infrastructure + Whimsy + Brand Guidelines + Project Logos + + + + About  + + About + Our Sponsors + Corporate Sponsorship + Individual Supporters + Leadership + Members + Diversity & Inclusion + Newsroom + Contact + + + + + + + Search + + + + + + + + + + + + + + + + + + + + + + + + + + + + Apache License, Version 2.0¶ + +Text version: https://www.apache.org/licenses/LICENSE-2.0.txt +SPDX short identifier: Apache-2.0 +OSI Approved License: https://opensource.org/licenses/Apache-2.0 + +The 2.0 version of the Apache License, approved by the ASF in 2004, helps us achieve our goal of providing +reliable and long-lived software products through collaborative, open-source software development. +All packages produced by the ASF are implicitly licensed under the Apache +License, Version 2.0, unless otherwise explicitly stated. + + +Apache LicenseVersion 2.0, January 2004 +http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, and +distribution as defined by Sections 1 through 9 of this document. +"Licensor" shall mean the copyright owner or entity authorized by the +copyright owner that is granting the License. +"Legal Entity" shall mean the union of the acting entity and all other +entities that control, are controlled by, or are under common control with +that entity. For the purposes of this definition, "control" means (i) the +power, direct or indirect, to cause the direction or management of such +entity, whether by contract or otherwise, or (ii) ownership of fifty +percent (50%) or more of the outstanding shares, or (iii) beneficial +ownership of such entity. +"You" (or "Your") shall mean an individual or Legal Entity exercising +permissions granted by this License. +"Source" form shall mean the preferred form for making modifications, +including but not limited to software source code, documentation source, +and configuration files. +"Object" form shall mean any form resulting from mechanical transformation +or translation of a Source form, including but not limited to compiled +object code, generated documentation, and conversions to other media types. +"Work" shall mean the work of authorship, whether in Source or Object form, +made available under the License, as indicated by a copyright notice that +is included in or attached to the work (an example is provided in the +Appendix below). +"Derivative Works" shall mean any work, whether in Source or Object form, +that is based on (or derived from) the Work and for which the editorial +revisions, annotations, elaborations, or other modifications represent, as +a whole, an original work of authorship. For the purposes of this License, +Derivative Works shall not include works that remain separable from, or +merely link (or bind by name) to the interfaces of, the Work and Derivative +Works thereof. +"Contribution" shall mean any work of authorship, including the original +version of the Work and any modifications or additions to that Work or +Derivative Works thereof, that is intentionally submitted to Licensor for +inclusion in the Work by the copyright owner or by an individual or Legal +Entity authorized to submit on behalf of the copyright owner. For the +purposes of this definition, "submitted" means any form of electronic, +verbal, or written communication sent to the Licensor or its +representatives, including but not limited to communication on electronic +mailing lists, source code control systems, and issue tracking systems that +are managed by, or on behalf of, the Licensor for the purpose of discussing +and improving the Work, but excluding communication that is conspicuously +marked or otherwise designated in writing by the copyright owner as "Not a +Contribution." +"Contributor" shall mean Licensor and any individual or Legal Entity on +behalf of whom a Contribution has been received by Licensor and +subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the +terms and conditions of this License, each Contributor hereby grants to You +a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable +copyright license to reproduce, prepare Derivative Works of, publicly +display, publicly perform, sublicense, and distribute the Work and such +Derivative Works in Source or Object form. +3. Grant of Patent License. Subject to the terms +and conditions of this License, each Contributor hereby grants to You a +perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable +(except as stated in this section) patent license to make, have made, use, +offer to sell, sell, import, and otherwise transfer the Work, where such +license applies only to those patent claims licensable by such Contributor +that are necessarily infringed by their Contribution(s) alone or by +combination of their Contribution(s) with the Work to which such +Contribution(s) was submitted. If You institute patent litigation against +any entity (including a cross-claim or counterclaim in a lawsuit) alleging +that the Work or a Contribution incorporated within the Work constitutes +direct or contributory patent infringement, then any patent licenses +granted to You under this License for that Work shall terminate as of the +date such litigation is filed. +4. Redistribution. You may reproduce and +distribute copies of the Work or Derivative Works thereof in any medium, +with or without modifications, and in Source or Object form, provided that +You meet the following conditions: + +You must give any other recipients of the Work or Derivative Works a +copy of this License; and +You must cause any modified files to carry prominent notices stating +that You changed the files; and +You must retain, in the Source form of any Derivative Works that You +distribute, all copyright, patent, trademark, and attribution notices from +the Source form of the Work, excluding those notices that do not pertain to +any part of the Derivative Works; and +If the Work includes a "NOTICE" text file as part of its distribution, +then any Derivative Works that You distribute must include a readable copy +of the attribution notices contained within such NOTICE file, excluding +those notices that do not pertain to any part of the Derivative Works, in +at least one of the following places: within a NOTICE text file distributed +as part of the Derivative Works; within the Source form or documentation, +if provided along with the Derivative Works; or, within a display generated +by the Derivative Works, if and wherever such third-party notices normally +appear. The contents of the NOTICE file are for informational purposes only +and do not modify the License. You may add Your own attribution notices +within Derivative Works that You distribute, alongside or as an addendum to +the NOTICE text from the Work, provided that such additional attribution +notices cannot be construed as modifying the License. + + +You may add Your own copyright statement to Your modifications and may +provide additional or different license terms and conditions for use, +reproduction, or distribution of Your modifications, or for any such +Derivative Works as a whole, provided Your use, reproduction, and +distribution of the Work otherwise complies with the conditions stated in +this License. +5. Submission of Contributions. Unless You +explicitly state otherwise, any Contribution intentionally submitted for +inclusion in the Work by You to the Licensor shall be under the terms and +conditions of this License, without any additional terms or conditions. +Notwithstanding the above, nothing herein shall supersede or modify the +terms of any separate license agreement you may have executed with Licensor +regarding such Contributions. +6. Trademarks. This License does not grant +permission to use the trade names, trademarks, service marks, or product +names of the Licensor, except as required for reasonable and customary use +in describing the origin of the Work and reproducing the content of the +NOTICE file. +7. Disclaimer of Warranty. Unless required by +applicable law or agreed to in writing, Licensor provides the Work (and +each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, +without limitation, any warranties or conditions of TITLE, +NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You +are solely responsible for determining the appropriateness of using or +redistributing the Work and assume any risks associated with Your exercise +of permissions under this License. +8. Limitation of Liability. In no event and +under no legal theory, whether in tort (including negligence), contract, or +otherwise, unless required by applicable law (such as deliberate and +grossly negligent acts) or agreed to in writing, shall any Contributor be +liable to You for damages, including any direct, indirect, special, +incidental, or consequential damages of any character arising as a result +of this License or out of the use or inability to use the Work (including +but not limited to damages for loss of goodwill, work stoppage, computer +failure or malfunction, or any and all other commercial damages or losses), +even if such Contributor has been advised of the possibility of such +damages. +9. Accepting Warranty or Additional Liability. +While redistributing the Work or Derivative Works thereof, You may choose +to offer, and charge a fee for, acceptance of support, warranty, indemnity, +or other liability obligations and/or rights consistent with this License. +However, in accepting such obligations, You may act only on Your own behalf +and on Your sole responsibility, not on behalf of any other Contributor, +and only if You agree to indemnify, defend, and hold each Contributor +harmless for any liability incurred by, or claims asserted against, such +Contributor by reason of your accepting any such warranty or additional +liability. +END OF TERMS AND CONDITIONS + +How to apply the Apache License to your work¶ +Include a copy of the Apache License, typically in a file called +LICENSE, in your work, and consider also including a NOTICE file that references the License. +To apply the Apache License to specific files in your work, attach the following boilerplate +declaration, replacing the fields enclosed by brackets "[]" with your own +identifying information. (Don't include the brackets!) Enclose the text in the appropriate comment syntax for the file format. We also +recommend that you include a file or class name and description of purpose on the same "printed page" as the copyright notice for easier +identification within third-party archives. +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + + + + + + + + + + + Community + + Contributor Getting Started + Becoming a Committer + Code of Conduct + Community Resources + Community Over Code + Events + Store + + + + + Projects + + Projects + Incubator Projects + Projects Directory + Mailing Lists + Report a Vulnerability + + + + Downloads + + Distributions + Releases + Infrastructure Status + Infrastructure Statistics + + + + + Learn + + Blog + How the ASF Works + The Apache Way + Legal & Trademark + Licenses + Glossary + FAQ + + + + + Resources & Tools + + Developer Information + Wiki + Issues + Slack + Self Serve Portal + Infrastructure + Whimsy + Brand Guidelines + Project Logos + + + + + About + + About + Our Sponsors + Corporate Sponsorship + Individual Supporters + Leadership + Members + Diversity & Inclusion + Newsroom + Contact + Privacy Policy + + + + + + + + + Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0. + Apache and the Apache feather logo are trademarks of The Apache Software Foundation. + + + + + + + + + + + + + diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---www.apache.org-licenses-LICENSE-2.0=Apache-2.0.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---www.apache.org-licenses-LICENSE-2.0=Apache-2.0.verified.txt new file mode 100644 index 00000000..6fc753f0 --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---www.apache.org-licenses-LICENSE-2.0=Apache-2.0.verified.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---www.gnu.org-licenses-old-licenses-gpl-2.0.html=GPL-2.0.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---www.gnu.org-licenses-old-licenses-gpl-2.0.html=GPL-2.0.verified.txt new file mode 100644 index 00000000..9b6769dc --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=http---www.gnu.org-licenses-old-licenses-gpl-2.0.html=GPL-2.0.verified.txt @@ -0,0 +1,769 @@ + + + + + + + + + + + + + + +GNU General Public License v2.0 - GNU Project - Free Software Foundation + + + + + + + + + + + + + + + + + + + + + + + + + +Skip to main text + + + + + + + + + + + Free Software Supporter: + + + + + + +JOIN THE FSF + + + + + + + GNU Operating System + Supported by the + Free Software Foundation + + + + + + + + + + + + + + + + + + + + + + + + + Site navigation + Skip + + + ABOUT GNU + + + PHILOSOPHY + + + + = + LICENSES + + = + + + + EDUCATION + + + SOFTWARE + + + DISTROS + + + DOCS + + + MALWARE + + + HELP GNU + + + AUDIO & VIDEO + + + GNU ART + + + FUN + + + GNU'S WHO? + + SOFTWARE DIRECTORY + HARDWARE + SITEMAP + + + + + + + + + +GNU General Public License, version 2 + + + Skip to license text + + + The latest version of the GPL, version 3 + What to do if you see a possible + GPL violation + Translations + of GPLv2 + GPLv2 Frequently Asked + Questions + The GNU General Public License version 2 (GPLv2) in other formats: plain text, Texinfo, LaTeX, standalone HTML, Docbook, Markdown, ODF, RTF + + + + +Table of Contents + + GNU GENERAL PUBLIC LICENSE + + + Preamble + TERMS AND CONDITIONS FOR COPYING, + DISTRIBUTION AND MODIFICATION + How to Apply These Terms to Your New + Programs + + + + + + + + +GNU GENERAL PUBLIC LICENSE + +Version 2, June 1991 + + + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. + + + +Preamble + + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + + + The precise terms and conditions for copying, distribution and +modification follow. + + + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + +0. + This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + + + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + + +1. + You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + + + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + + +2. + You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + + + + + a) + You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + + + b) + You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + + + c) + If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + + + + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + + + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + + + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + + +3. + You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + + + + + + + + a) + Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + + + b) + Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + + + c) + Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + + + + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + + + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + + +4. + You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + + +5. + You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + + +6. + Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + + +7. + If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + + + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + + + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + + + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + + +8. + If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + + +9. + The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + + +10. + If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + +NO WARRANTY + + +11. + BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + + +12. + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + +END OF TERMS AND CONDITIONS + + +How to Apply These Terms to Your New Programs + + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + +one line to give the program's name and an idea of what it does. +Copyright (C) yyyy name of author + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation; either version 2 +of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + + +Also add information on how to contact you by electronic and paper mail. + + + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + + +Gnomovision version 69, Copyright (C) year name of author +Gnomovision comes with ABSOLUTELY NO WARRANTY; for details +type `show w'. This is free software, and you are welcome +to redistribute it under certain conditions; type `show c' +for details. + + + +The hypothetical commands `show w' and `show c' should show +the appropriate parts of the General Public License. Of course, the +commands you use may be called something other than `show w' and +`show c'; they could even be mouse-clicks or menu items--whatever +suits your program. + + + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + + + +Yoyodyne, Inc., hereby disclaims all copyright +interest in the program `Gnomovision' +(which makes passes at compilers) written +by James Hacker. + +signature of Ty Coon, 1 April 1989 +Ty Coon, President of Vice + + + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the +GNU Lesser General Public License +instead of this License. + + + + + + + + + + + + + + + + + + + + ▲ + + + + BACK TO TOP + + + + + Set language + + + + Available for this page: + + +[en] English   +[cs] čeština   +[de] Deutsch   +[fr] français   +[ja] 日本語   +[pt-br] português   +[ru] русский   +[uk] українська   +[zh-cn] 简体中文   + + + + + + + + + BACK TO TOP ▲ + + + + +“The Free Software Foundation (FSF) is a nonprofit with a worldwide +mission to promote computer user freedom. We defend the rights of all +software users.” + + + + JOIN + DONATE + SHOP + + + + + + + + +Please send general FSF & GNU inquiries to +<gnu@gnu.org>. +There are also other ways to contact +the FSF. Broken links and other corrections or suggestions can be sent +to <webmasters@gnu.org>. + + +Please see the Translations +README for information on coordinating and contributing translations +of this article. + + +Copyright notice above. + + + +Copyright Infringement Notification + + + + + + + + +Updated: + +$Date: 2023/11/30 09:46:01 $ + + + + + diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---github.com-AutoMapper-AutoMapper-blob-master-LICENSE.txt=MIT.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---github.com-AutoMapper-AutoMapper-blob-master-LICENSE.txt=MIT.verified.txt new file mode 100644 index 00000000..a6a383cc --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---github.com-AutoMapper-AutoMapper-blob-master-LICENSE.txt=MIT.verified.txt @@ -0,0 +1,1456 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AutoMapper/LICENSE.txt at master · AutoMapper/AutoMapper · GitHub + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Sign in + + + + + + + + + + + + + + + + + + + + + Product + + + + + + + + + + + + + + Actions + Automate any workflow + + + + + + + + + + + + Packages + Host and manage packages + + + + + + + + + + + + Security + Find and fix vulnerabilities + + + + + + + + + + + + Codespaces + Instant dev environments + + + + + + + + + + + + Copilot + Write better code with AI + + + + + + + + + + + + Code review + Manage code changes + + + + + + + + + + + + Issues + Plan and track work + + + + + + + + + + + + Discussions + Collaborate outside of code + + + + + + + + + Explore + + + + All features + + + + + + + Documentation + + + + + + + + + GitHub Skills + + + + + + + + + Blog + + + + + + + + + + + + + + + Solutions + + + + + + + For + + + + Enterprise + + + + + + + Teams + + + + + + + Startups + + + + + + + Education + + + + + + + + + + By Solution + + + + CI/CD & Automation + + + + + + + DevOps + + + + + + + + + DevSecOps + + + + + + + + + + Resources + + + + Learning Pathways + + + + + + + + + White papers, Ebooks, Webinars + + + + + + + + + Customer Stories + + + + + + + Partners + + + + + + + + + + + + + + + Open Source + + + + + + + + + + + + GitHub Sponsors + Fund open source developers + + + + + + + + + + + + + + The ReadME Project + GitHub community articles + + + + + + + + + Repositories + + + + Topics + + + + + + + Trending + + + + + + + Collections + + + + + + + + + + + + Pricing + + + + + + + + + + + + + + + + + + Search or jump to... + + + + + + + + + + + + Search code, repositories, users, issues, pull requests... + + + + + + + + Search + + + + + + + + + + + + + + + Clear + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Search syntax tips + + + + + + + + + + + + + + + + + + Provide feedback + + + + + + + + + + + + We read every piece of feedback, and take your input very seriously. + + + Include my email address so I can be contacted + + + Cancel + + Submit feedback + + + + + + + + + + + + + Saved searches + + Use saved searches to filter your results more quickly + + + + + + + + + + + + + + + + + + + Name + + + + + + + + Query + + + + + To see all available qualifiers, see our documentation. + + + + + + + + + + Cancel + + Create saved search + + + + + + + + + + + Sign in + + + + + Sign up + + + + + + + + + + + + + You signed in with another tab or window. Reload to refresh your session. + You signed out in another tab or window. Reload to refresh your session. + You switched accounts on another tab or window. Reload to refresh your session. + + + + +Dismiss alert + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ message }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AutoMapper + + / + + AutoMapper + + + Public + + + + + + + + + + + + + + + + + +Notifications + + + + + + +Fork + 1.7k + + + + + + + + + Star + 9.7k + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Code + + + + + + + + + + + + Issues + 0 + + + + + + + + + + + Pull requests + 0 + + + + + + + + + + + Discussions + + + + + + + + + + + + Actions + + + + + + + + + + + + Wiki + + + + + + + + + + + + Security + + + + + + + + + + + Insights + + + + + + + + + + + +Additional navigation options + + + + + + + + + + + + + + + + + + Code + + + + + + + + + + + + + + + Issues + + + + + + + + + + + + + + + Pull requests + + + + + + + + + + + + + + + Discussions + + + + + + + + + + + + + + + Actions + + + + + + + + + + + + + + + Wiki + + + + + + + + + + + + + + + Security + + + + + + + + + + + + + + + Insights + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Footer + + + + + + + + + + + + + © 2024 GitHub, Inc. + + + + + Footer navigation + + + + + Terms + + + + Privacy + + + + Security + + + + Status + + + + Docs + + + + Contact + + + + + + Manage cookies + + + + + + + + Do not share my personal information + + + + + + + + + + + + + + + + + + + + + + + + + You can’t perform that action at this time. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---github.com-Microsoft-Microsoft.IO.RecyclableMemoryStream-blob-master-LICENSE=MIT.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---github.com-Microsoft-Microsoft.IO.RecyclableMemoryStream-blob-master-LICENSE=MIT.verified.txt new file mode 100644 index 00000000..6bb5b427 --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---github.com-Microsoft-Microsoft.IO.RecyclableMemoryStream-blob-master-LICENSE=MIT.verified.txt @@ -0,0 +1,1425 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Microsoft.IO.RecyclableMemoryStream/LICENSE at master · microsoft/Microsoft.IO.RecyclableMemoryStream · GitHub + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Sign in + + + + + + + + + + + + + + + + + + + + + Product + + + + + + + + + + + + + + Actions + Automate any workflow + + + + + + + + + + + + Packages + Host and manage packages + + + + + + + + + + + + Security + Find and fix vulnerabilities + + + + + + + + + + + + Codespaces + Instant dev environments + + + + + + + + + + + + Copilot + Write better code with AI + + + + + + + + + + + + Code review + Manage code changes + + + + + + + + + + + + Issues + Plan and track work + + + + + + + + + + + + Discussions + Collaborate outside of code + + + + + + + + + Explore + + + + All features + + + + + + + Documentation + + + + + + + + + GitHub Skills + + + + + + + + + Blog + + + + + + + + + + + + + + + Solutions + + + + + + + For + + + + Enterprise + + + + + + + Teams + + + + + + + Startups + + + + + + + Education + + + + + + + + + + By Solution + + + + CI/CD & Automation + + + + + + + DevOps + + + + + + + + + DevSecOps + + + + + + + + + + Resources + + + + Learning Pathways + + + + + + + + + White papers, Ebooks, Webinars + + + + + + + + + Customer Stories + + + + + + + Partners + + + + + + + + + + + + + + + Open Source + + + + + + + + + + + + GitHub Sponsors + Fund open source developers + + + + + + + + + + + + + + The ReadME Project + GitHub community articles + + + + + + + + + Repositories + + + + Topics + + + + + + + Trending + + + + + + + Collections + + + + + + + + + + + + Pricing + + + + + + + + + + + + + + + + + + Search or jump to... + + + + + + + + + + + + Search code, repositories, users, issues, pull requests... + + + + + + + + Search + + + + + + + + + + + + + + + Clear + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Search syntax tips + + + + + + + + + + + + + + + + + + Provide feedback + + + + + + + + + + + + We read every piece of feedback, and take your input very seriously. + + + Include my email address so I can be contacted + + + Cancel + + Submit feedback + + + + + + + + + + + + + Saved searches + + Use saved searches to filter your results more quickly + + + + + + + + + + + + + + + + + + + Name + + + + + + + + Query + + + + + To see all available qualifiers, see our documentation. + + + + + + + + + + Cancel + + Create saved search + + + + + + + + + + + Sign in + + + + + Sign up + + + + + + + + + + + + + You signed in with another tab or window. Reload to refresh your session. + You signed out in another tab or window. Reload to refresh your session. + You switched accounts on another tab or window. Reload to refresh your session. + + + + +Dismiss alert + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ message }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + microsoft + + / + + Microsoft.IO.RecyclableMemoryStream + + + Public + + + + + + + + + + + + + +Notifications + + + + + + +Fork + 209 + + + + + + + + + Star + 1.9k + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Code + + + + + + + + + + + + Issues + 1 + + + + + + + + + + + Pull requests + 1 + + + + + + + + + + + Actions + + + + + + + + + + + + Projects + 0 + + + + + + + + + + + Security + + + + + + + + + + + Insights + + + + + + + + + + + +Additional navigation options + + + + + + + + + + + + + + + + + + Code + + + + + + + + + + + + + + + Issues + + + + + + + + + + + + + + + Pull requests + + + + + + + + + + + + + + + Actions + + + + + + + + + + + + + + + Projects + + + + + + + + + + + + + + + Security + + + + + + + + + + + + + + + Insights + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Footer + + + + + + + + + + + + + © 2024 GitHub, Inc. + + + + + Footer navigation + + + + + Terms + + + + Privacy + + + + Security + + + + Status + + + + Docs + + + + Contact + + + + + + Manage cookies + + + + + + + + Do not share my personal information + + + + + + + + + + + + + + + + + + + + + + + + + You can’t perform that action at this time. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---github.com-dotnet-corefx-blob-master-LICENSE.TXT=MIT.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---github.com-dotnet-corefx-blob-master-LICENSE.TXT=MIT.verified.txt new file mode 100644 index 00000000..ba495d78 --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---github.com-dotnet-corefx-blob-master-LICENSE.TXT=MIT.verified.txt @@ -0,0 +1,1348 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + corefx/LICENSE.TXT at master · dotnet/corefx · GitHub + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Sign in + + + + + + + + + + + + + + + + + + + + + Product + + + + + + + + + + + + + + Actions + Automate any workflow + + + + + + + + + + + + Packages + Host and manage packages + + + + + + + + + + + + Security + Find and fix vulnerabilities + + + + + + + + + + + + Codespaces + Instant dev environments + + + + + + + + + + + + Copilot + Write better code with AI + + + + + + + + + + + + Code review + Manage code changes + + + + + + + + + + + + Issues + Plan and track work + + + + + + + + + + + + Discussions + Collaborate outside of code + + + + + + + + + Explore + + + + All features + + + + + + + Documentation + + + + + + + + + GitHub Skills + + + + + + + + + Blog + + + + + + + + + + + + + + + Solutions + + + + + + + For + + + + Enterprise + + + + + + + Teams + + + + + + + Startups + + + + + + + Education + + + + + + + + + + By Solution + + + + CI/CD & Automation + + + + + + + DevOps + + + + + + + + + DevSecOps + + + + + + + + + + Resources + + + + Learning Pathways + + + + + + + + + White papers, Ebooks, Webinars + + + + + + + + + Customer Stories + + + + + + + Partners + + + + + + + + + + + + + + + Open Source + + + + + + + + + + + + GitHub Sponsors + Fund open source developers + + + + + + + + + + + + + + The ReadME Project + GitHub community articles + + + + + + + + + Repositories + + + + Topics + + + + + + + Trending + + + + + + + Collections + + + + + + + + + + + + Pricing + + + + + + + + + + + + + + + + + + Search or jump to... + + + + + + + + + + + + Search code, repositories, users, issues, pull requests... + + + + + + + + Search + + + + + + + + + + + + + + + Clear + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Search syntax tips + + + + + + + + + + + + + + + + + + Provide feedback + + + + + + + + + + + + We read every piece of feedback, and take your input very seriously. + + + Include my email address so I can be contacted + + + Cancel + + Submit feedback + + + + + + + + + + + + + Saved searches + + Use saved searches to filter your results more quickly + + + + + + + + + + + + + + + + + + + Name + + + + + + + + Query + + + + + To see all available qualifiers, see our documentation. + + + + + + + + + + Cancel + + Create saved search + + + + + + + + + + + Sign in + + + + + Sign up + + + + + + + + + + + + + You signed in with another tab or window. Reload to refresh your session. + You signed out in another tab or window. Reload to refresh your session. + You switched accounts on another tab or window. Reload to refresh your session. + + + + +Dismiss alert + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ message }} + + + + + + + + + + + + + + + + + + + + + + + + + + + This repository has been archived by the owner on Jan 23, 2023. It is now read-only. + + + + + + + + + + + + + + + + + + + + + + dotnet + + / + + corefx + + + Public archive + + + + + + + + + + + + + +Notifications + + + + + + +Fork + 5.1k + + + + + + + + + Star + 17.7k + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Code + + + + + + + + + + + + Pull requests + 0 + + + + + + + + + + + Security + + + + + + + + + + + Insights + + + + + + + + + + + +Additional navigation options + + + + + + + + + + + + + + + + + + Code + + + + + + + + + + + + + + + Pull requests + + + + + + + + + + + + + + + Security + + + + + + + + + + + + + + + Insights + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Footer + + + + + + + + + + + + + © 2024 GitHub, Inc. + + + + + Footer navigation + + + + + Terms + + + + Privacy + + + + Security + + + + Status + + + + Docs + + + + Contact + + + + + + Manage cookies + + + + + + + + Do not share my personal information + + + + + + + + + + + + + + + + + + + + + + + + + You can’t perform that action at this time. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---github.com-owin-contrib-owin-hosting-blob-master-LICENSE.txt=Apache-2.0.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---github.com-owin-contrib-owin-hosting-blob-master-LICENSE.txt=Apache-2.0.verified.txt new file mode 100644 index 00000000..2185b634 --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---github.com-owin-contrib-owin-hosting-blob-master-LICENSE.txt=Apache-2.0.verified.txt @@ -0,0 +1,1428 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + owin-hosting/LICENSE.txt at master · owin-contrib/owin-hosting · GitHub + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Sign in + + + + + + + + + + + + + + + + + + + + + Product + + + + + + + + + + + + + + Actions + Automate any workflow + + + + + + + + + + + + Packages + Host and manage packages + + + + + + + + + + + + Security + Find and fix vulnerabilities + + + + + + + + + + + + Codespaces + Instant dev environments + + + + + + + + + + + + Copilot + Write better code with AI + + + + + + + + + + + + Code review + Manage code changes + + + + + + + + + + + + Issues + Plan and track work + + + + + + + + + + + + Discussions + Collaborate outside of code + + + + + + + + + Explore + + + + All features + + + + + + + Documentation + + + + + + + + + GitHub Skills + + + + + + + + + Blog + + + + + + + + + + + + + + + Solutions + + + + + + + For + + + + Enterprise + + + + + + + Teams + + + + + + + Startups + + + + + + + Education + + + + + + + + + + By Solution + + + + CI/CD & Automation + + + + + + + DevOps + + + + + + + + + DevSecOps + + + + + + + + + + Resources + + + + Learning Pathways + + + + + + + + + White papers, Ebooks, Webinars + + + + + + + + + Customer Stories + + + + + + + Partners + + + + + + + + + + + + + + + Open Source + + + + + + + + + + + + GitHub Sponsors + Fund open source developers + + + + + + + + + + + + + + The ReadME Project + GitHub community articles + + + + + + + + + Repositories + + + + Topics + + + + + + + Trending + + + + + + + Collections + + + + + + + + + + + + Pricing + + + + + + + + + + + + + + + + + + Search or jump to... + + + + + + + + + + + + Search code, repositories, users, issues, pull requests... + + + + + + + + Search + + + + + + + + + + + + + + + Clear + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Search syntax tips + + + + + + + + + + + + + + + + + + Provide feedback + + + + + + + + + + + + We read every piece of feedback, and take your input very seriously. + + + Include my email address so I can be contacted + + + Cancel + + Submit feedback + + + + + + + + + + + + + Saved searches + + Use saved searches to filter your results more quickly + + + + + + + + + + + + + + + + + + + Name + + + + + + + + Query + + + + + To see all available qualifiers, see our documentation. + + + + + + + + + + Cancel + + Create saved search + + + + + + + + + + + Sign in + + + + + Sign up + + + + + + + + + + + + + You signed in with another tab or window. Reload to refresh your session. + You signed out in another tab or window. Reload to refresh your session. + You switched accounts on another tab or window. Reload to refresh your session. + + + + +Dismiss alert + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ message }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + owin-contrib + + / + + owin-hosting + + + Public + + + forked from owin/museum-piece-owin-hosting + + + + + + + + + + + + + +Notifications + + + + + + +Fork + 15 + + + + + + + + + Star + 41 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Code + + + + + + + + + + + + Pull requests + 0 + + + + + + + + + + + Actions + + + + + + + + + + + + Projects + 0 + + + + + + + + + + + Wiki + + + + + + + + + + + + Security + + + + + + + + + + + Insights + + + + + + + + + + + +Additional navigation options + + + + + + + + + + + + + + + + + + Code + + + + + + + + + + + + + + + Pull requests + + + + + + + + + + + + + + + Actions + + + + + + + + + + + + + + + Projects + + + + + + + + + + + + + + + Wiki + + + + + + + + + + + + + + + Security + + + + + + + + + + + + + + + Insights + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Footer + + + + + + + + + + + + + © 2024 GitHub, Inc. + + + + + Footer navigation + + + + + Terms + + + + Privacy + + + + Security + + + + Status + + + + Docs + + + + Contact + + + + + + Manage cookies + + + + + + + + Do not share my personal information + + + + + + + + + + + + + + + + + + + + + + + + + You can’t perform that action at this time. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---github.com-zzzprojects-html-agility-pack-blob-master-LICENSE=MIT.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---github.com-zzzprojects-html-agility-pack-blob-master-LICENSE=MIT.verified.txt new file mode 100644 index 00000000..0a9a64e5 --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---github.com-zzzprojects-html-agility-pack-blob-master-LICENSE=MIT.verified.txt @@ -0,0 +1,1375 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + html-agility-pack/LICENSE at master · zzzprojects/html-agility-pack · GitHub + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Sign in + + + + + + + + + + + + + + + + + + + + + Product + + + + + + + + + + + + + + Actions + Automate any workflow + + + + + + + + + + + + Packages + Host and manage packages + + + + + + + + + + + + Security + Find and fix vulnerabilities + + + + + + + + + + + + Codespaces + Instant dev environments + + + + + + + + + + + + Copilot + Write better code with AI + + + + + + + + + + + + Code review + Manage code changes + + + + + + + + + + + + Issues + Plan and track work + + + + + + + + + + + + Discussions + Collaborate outside of code + + + + + + + + + Explore + + + + All features + + + + + + + Documentation + + + + + + + + + GitHub Skills + + + + + + + + + Blog + + + + + + + + + + + + + + + Solutions + + + + + + + For + + + + Enterprise + + + + + + + Teams + + + + + + + Startups + + + + + + + Education + + + + + + + + + + By Solution + + + + CI/CD & Automation + + + + + + + DevOps + + + + + + + + + DevSecOps + + + + + + + + + + Resources + + + + Learning Pathways + + + + + + + + + White papers, Ebooks, Webinars + + + + + + + + + Customer Stories + + + + + + + Partners + + + + + + + + + + + + + + + Open Source + + + + + + + + + + + + GitHub Sponsors + Fund open source developers + + + + + + + + + + + + + + The ReadME Project + GitHub community articles + + + + + + + + + Repositories + + + + Topics + + + + + + + Trending + + + + + + + Collections + + + + + + + + + + + + Pricing + + + + + + + + + + + + + + + + + + Search or jump to... + + + + + + + + + + + + Search code, repositories, users, issues, pull requests... + + + + + + + + Search + + + + + + + + + + + + + + + Clear + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Search syntax tips + + + + + + + + + + + + + + + + + + Provide feedback + + + + + + + + + + + + We read every piece of feedback, and take your input very seriously. + + + Include my email address so I can be contacted + + + Cancel + + Submit feedback + + + + + + + + + + + + + Saved searches + + Use saved searches to filter your results more quickly + + + + + + + + + + + + + + + + + + + Name + + + + + + + + Query + + + + + To see all available qualifiers, see our documentation. + + + + + + + + + + Cancel + + Create saved search + + + + + + + + + + + Sign in + + + + + Sign up + + + + + + + + + + + + + You signed in with another tab or window. Reload to refresh your session. + You signed out in another tab or window. Reload to refresh your session. + You switched accounts on another tab or window. Reload to refresh your session. + + + + +Dismiss alert + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ message }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + zzzprojects + + / + + html-agility-pack + + + Public + + + + + + + + + + + + + + + + + +Notifications + + + + + + +Fork + 408 + + + + + + + + + Star + 2.5k + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Code + + + + + + + + + + + + Issues + 69 + + + + + + + + + + + Pull requests + 8 + + + + + + + + + + + Security + + + + + + + + + + + Insights + + + + + + + + + + + +Additional navigation options + + + + + + + + + + + + + + + + + + Code + + + + + + + + + + + + + + + Issues + + + + + + + + + + + + + + + Pull requests + + + + + + + + + + + + + + + Security + + + + + + + + + + + + + + + Insights + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Footer + + + + + + + + + + + + + © 2024 GitHub, Inc. + + + + + Footer navigation + + + + + Terms + + + + Privacy + + + + Security + + + + Status + + + + Docs + + + + Contact + + + + + + Manage cookies + + + + + + + + Do not share my personal information + + + + + + + + + + + + + + + + + + + + + + + + + You can’t perform that action at this time. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---go.microsoft.com-fwlink--linkid=868514=MIT.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---go.microsoft.com-fwlink--linkid=868514=MIT.verified.txt new file mode 100644 index 00000000..c874f8e2 --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---go.microsoft.com-fwlink--linkid=868514=MIT.verified.txt @@ -0,0 +1,1479 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SkiaSharp/LICENSE.md at main · mono/SkiaSharp · GitHub + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Skip to content + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Toggle navigation + + + + + + + + + + + + + Sign in + + + + + + + + + + + + + + + + + + + + + Product + + + + + + + + + + + + + + Actions + Automate any workflow + + + + + + + + + + + + Packages + Host and manage packages + + + + + + + + + + + + Security + Find and fix vulnerabilities + + + + + + + + + + + + Codespaces + Instant dev environments + + + + + + + + + + + + Copilot + Write better code with AI + + + + + + + + + + + + Code review + Manage code changes + + + + + + + + + + + + Issues + Plan and track work + + + + + + + + + + + + Discussions + Collaborate outside of code + + + + + + + + + Explore + + + + All features + + + + + + + Documentation + + + + + + + + + GitHub Skills + + + + + + + + + Blog + + + + + + + + + + + + + + + Solutions + + + + + + + For + + + + Enterprise + + + + + + + Teams + + + + + + + Startups + + + + + + + Education + + + + + + + + + + By Solution + + + + CI/CD & Automation + + + + + + + DevOps + + + + + + + + + DevSecOps + + + + + + + + + + Resources + + + + Learning Pathways + + + + + + + + + White papers, Ebooks, Webinars + + + + + + + + + Customer Stories + + + + + + + Partners + + + + + + + + + + + + + + + Open Source + + + + + + + + + + + + GitHub Sponsors + Fund open source developers + + + + + + + + + + + + + + The ReadME Project + GitHub community articles + + + + + + + + + Repositories + + + + Topics + + + + + + + Trending + + + + + + + Collections + + + + + + + + + + + + Pricing + + + + + + + + + + + + + + + + + + Search or jump to... + + + + + + + + + + + + Search code, repositories, users, issues, pull requests... + + + + + + + + Search + + + + + + + + + + + + + + + Clear + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Search syntax tips + + + + + + + + + + + + + + + + + + Provide feedback + + + + + + + + + + + + We read every piece of feedback, and take your input very seriously. + + + Include my email address so I can be contacted + + + Cancel + + Submit feedback + + + + + + + + + + + + + Saved searches + + Use saved searches to filter your results more quickly + + + + + + + + + + + + + + + + + + + Name + + + + + + + + Query + + + + + To see all available qualifiers, see our documentation. + + + + + + + + + + Cancel + + Create saved search + + + + + + + + + + + Sign in + + + + + Sign up + + + + + + + + + + + + + You signed in with another tab or window. Reload to refresh your session. + You signed out in another tab or window. Reload to refresh your session. + You switched accounts on another tab or window. Reload to refresh your session. + + + + +Dismiss alert + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ message }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + mono + + / + + SkiaSharp + + + Public + + + + + + + + + + + + + +Notifications + + + + + + +Fork + 517 + + + + + + + + + Star + 3.9k + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Code + + + + + + + + + + + + Issues + 526 + + + + + + + + + + + Pull requests + 33 + + + + + + + + + + + Discussions + + + + + + + + + + + + Actions + + + + + + + + + + + + Projects + 1 + + + + + + + + + + + Wiki + + + + + + + + + + + + Security + + + + + + + + + + + Insights + + + + + + + + + + + +Additional navigation options + + + + + + + + + + + + + + + + + + Code + + + + + + + + + + + + + + + Issues + + + + + + + + + + + + + + + Pull requests + + + + + + + + + + + + + + + Discussions + + + + + + + + + + + + + + + Actions + + + + + + + + + + + + + + + Projects + + + + + + + + + + + + + + + Wiki + + + + + + + + + + + + + + + Security + + + + + + + + + + + + + + + Insights + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Footer + + + + + + + + + + + + + © 2024 GitHub, Inc. + + + + + Footer navigation + + + + + Terms + + + + Privacy + + + + Security + + + + Status + + + + Docs + + + + Contact + + + + + + Manage cookies + + + + + + + + Do not share my personal information + + + + + + + + + + + + + + + + + + + + + + + + + You can’t perform that action at this time. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---licenses.nuget.org-MIT=MIT.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---licenses.nuget.org-MIT=MIT.verified.txt new file mode 100644 index 00000000..3417086e --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---licenses.nuget.org-MIT=MIT.verified.txt @@ -0,0 +1,63 @@ + + + + + + 'MIT' reference + + + + + + +MIT License + +SPDX identifier +MIT + +License text + + + MIT License + + + + Copyright (c) <year> <copyright holders> + + + + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and + associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice + (including the next paragraph) + shall be included in all copies or substantial + portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT + LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN + NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + + + + + +SPDX web page + + https://spdx.org/licenses/MIT.html + + +Notice +This license content is provided by the SPDX project. For more information about licenses.nuget.org, see our documentation. + +Data pulled from spdx/license-list-data on February 9, 2023. + + + diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---raw.github.com-JamesNK-Newtonsoft.Json-master-LICENSE.md=MIT.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---raw.github.com-JamesNK-Newtonsoft.Json-master-LICENSE.md=MIT.verified.txt new file mode 100644 index 00000000..08798712 --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---raw.github.com-JamesNK-Newtonsoft.Json-master-LICENSE.md=MIT.verified.txt @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2007 James Newton-King + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---raw.githubusercontent.com-AArnott-Validation-8377954d86-LICENSE.txt=MS-PL.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---raw.githubusercontent.com-AArnott-Validation-8377954d86-LICENSE.txt=MS-PL.verified.txt new file mode 100644 index 00000000..2de95b88 --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---raw.githubusercontent.com-AArnott-Validation-8377954d86-LICENSE.txt=MS-PL.verified.txt @@ -0,0 +1,21 @@ +Microsoft Public License (MS-PL) +This license governs use of the accompanying software. If you use the software, you +accept this license. If you do not accept the license, do not use the software. + +1. Definitions +The terms "reproduce," "reproduction," "derivative works," and "distribution" have the +same meaning here as under U.S. copyright law. +A "contribution" is the original software, or any additions or changes to the software. +A "contributor" is any person that distributes its contribution under this license. +"Licensed patents" are a contributor's patent claims that read directly on its contribution. + +2. Grant of Rights +(A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. +(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. + +3. Conditions and Limitations +(A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. +(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically. +(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software. +(D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license. +(E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement. \ No newline at end of file diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---raw.githubusercontent.com-aspnet-Home-2.0.0-LICENSE.txt=Apache-2.0.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---raw.githubusercontent.com-aspnet-Home-2.0.0-LICENSE.txt=Apache-2.0.verified.txt new file mode 100644 index 00000000..7ffc781b --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---raw.githubusercontent.com-aspnet-Home-2.0.0-LICENSE.txt=Apache-2.0.verified.txt @@ -0,0 +1,14 @@ +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed +under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +CONDITIONS OF ANY KIND, either express or implied. See the License for the +specific language governing permissions and limitations under the License. \ No newline at end of file diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---raw.githubusercontent.com-hey-red-markdownsharp-master-LICENSE=MIT.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---raw.githubusercontent.com-hey-red-markdownsharp-master-LICENSE=MIT.verified.txt new file mode 100644 index 00000000..3310e69d --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---raw.githubusercontent.com-hey-red-markdownsharp-master-LICENSE=MIT.verified.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018 red + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---www.microsoft.com-web-webpi-eula-aspnetmvc3update-eula.htm=MS-EULA.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---www.microsoft.com-web-webpi-eula-aspnetmvc3update-eula.htm=MS-EULA.verified.txt new file mode 100644 index 00000000..58b4d6c9 --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---www.microsoft.com-web-webpi-eula-aspnetmvc3update-eula.htm=MS-EULA.verified.txt @@ -0,0 +1,916 @@ + + + + + + + + + + + + + +This installation contains the following software, the +license terms of each of which are included below: + +�         +Microsoft ASP.NET +Model View Controller 3 Tools Update + +�         +Microsoft ASP.NET +Web Pages + +�         +Microsoft Package +Manager for .NET + +�         +Microsoft +software update to Visual Studio, KB2483190 + +MICROSOFT +SOFTWARE LICENSE TERMS + + + +MICROSOFT ASP.NET MODEL VIEW CONTROLLER 3 TOOLS UPDATE + + + +These +license terms are an agreement between Microsoft Corporation (or based on where +you live, one of its affiliates) and you. Please read them. They apply to the +software named above, which includes the media on which you received it, if +any. The terms also apply to any Microsoft + +�         +updates, + +�         +supplements, + +�         +Internet-based services, and + +�         +support services + +for +this software, unless other terms accompany those items. If so, those terms +apply. + +BY +USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT +USE THE SOFTWARE. + + + +If you comply with these license terms, you have the +rights below. + + + +1.�� INSTALLATION AND USE RIGHTS. One user may install and use any number of copies of +the software on your devices to design, develop and test your ASP.NET programs.� +You may modify, copy, and distribute or deploy any .js files contained in the +software as part of your ASP.NET programs. + +2.�� ADDITIONAL LICENSING REQUIREMENTS +AND/OR USE RIGHTS. + +a.    +Distributable Code. In addition +to the .js files described above, the software contains code that you are +permitted to distribute in ASP.NET programs you develop if you comply with the +terms below. + +i.      Right to Use and Distribute. The code and +text files listed below are �Distributable Code.� + +�         +System.Web.Mvc.dll.� You may copy and distribute the object code form +of System.Web.Mvc.dll. + +�         +Third Party +Distribution.� You +may permit distributors of your programs to copy and distribute the +Distributable Code as part of those programs. + +ii.    +Distribution Requirements. For any Distributable Code you distribute, you must + +�         +add significant primary +functionality to it in your programs; + +�         +require distributors and external +end users to agree to terms that protect it at least as much as this agreement; + + +�         +display your valid copyright +notice on your programs; and + +�         +indemnify, defend, and hold +harmless Microsoft from any claims, including attorneys� fees, related to the +distribution or use of your programs. + +iii.   Distribution Restrictions. You may not + +�         +alter any copyright, trademark or +patent notice in the Distributable Code; + +�         +use Microsoft�s trademarks in your +programs� names or in a way that suggests your programs come from or are +endorsed by Microsoft; + +�         +distribute Distributable Code to +run on a platform other than the Windows platform; + +�         +include Distributable Code in +malicious, deceptive or unlawful programs; or + +�         +modify or distribute the source +code of any Distributable Code so that any part of it becomes subject to an +Excluded License. An Excluded License is one that requires, as a condition of +use, modification or distribution, that + +�         +the code be disclosed or +distributed in source code form; or + +�         +others have the right to modify +it. + +3.�� THIRD PARTY NOTICES.� The software may include third party code that Microsoft, not the +third party, licenses to you under this agreement. Notices, if any, for the +third party code are included for your information only. Microsoft�s service +and support obligations, if any, apply only to the unmodified third party code running +on ASP.NET. + +4.�� Scope of +License. The software is licensed, not sold. This agreement +only gives you some rights to use the software. Microsoft reserves all other +rights. Unless applicable law gives you more rights despite this limitation, +you may use the software only as expressly permitted in this agreement. In +doing so, you must comply with any technical limitations in the software that +only allow you to use it in certain ways. You may not + +�         +work around any technical +limitations in the software; + +�         +reverse engineer, decompile or +disassemble the software, except and only to the extent that applicable law +expressly permits, despite this limitation; + +�         +make more copies of the software +than specified in this agreement or allowed by applicable law, despite this +limitation; + +�         +publish the software for others to +copy; + +�         +rent, lease or lend the software; +or + +�         +transfer the software or this +agreement to any third party. + +5.�� BACKUP COPY. You may make one backup copy of the software. You may +use it only to reinstall the software. + +6.�� DOCUMENTATION. Any person that has valid access to your computer or +internal network may copy and use the documentation for your internal, reference +purposes. + +7.�� Export +Restrictions. The software is subject to United States export laws +and regulations. You must comply with all domestic and international export +laws and regulations that apply to the software. These laws include +restrictions on destinations, end users and end use. For additional +information, see www.microsoft.com/exporting. + +8.�� SUPPORT +SERVICES. Because this software is �as is,� we may not provide +support services for it. + +9.�� Entire +Agreement. This agreement, and the +terms for supplements, updates, Internet-based services and support services +that you use, are the entire agreement for the software and support services. + +10. Applicable +Law. + +a.�� United States. If you acquired the software in the United States, +Washington state law governs the interpretation of this agreement and applies +to claims for breach of it, regardless of conflict of laws principles. The laws +of the state where you live govern all other claims, including claims under +state consumer protection laws, unfair competition laws, and in tort. + +b.�� Outside the United States. If you acquired the software in any other country, +the laws of that country apply. + +11. Legal +Effect. This agreement describes +certain legal rights. You may have other rights under the laws of your country. +You may also have rights with respect to the party from whom you acquired the +software. This agreement does not change your rights under the laws of your +country if the laws of your country do not permit it to do so. + +12. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED +�AS-IS.� YOU BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, +GUARANTEES OR CONDITIONS. YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS UNDER YOUR +LOCAL LAWS WHICH THIS AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED UNDER +YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. + +13. LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. +YOU CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. +$5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST +PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES. + +This limitation applies to + +�         +anything related to the software, +services, content (including code) on third party Internet sites, or third +party programs; and + +�         +claims for breach of contract, +breach of warranty, guarantee or condition, strict liability, negligence, or +other tort to the extent permitted by applicable law. + +It also applies even if Microsoft knew or should have +known about the possibility of the damages. The above limitation or exclusion +may not apply to you because your country may not allow the exclusion or +limitation of incidental, consequential or other damages. + +  + +*��� *�� *�� *�� * + +MICROSOFT +SOFTWARE LICENSE TERMS + + + +MICROSOFT ASP.NET WEB PAGES + + + +These +license terms are an agreement between Microsoft Corporation (or based on where +you live, one of its affiliates) and you. Please read them. They apply to the +software named above, which includes the media on which you received it, if +any. The terms also apply to any Microsoft + +�         +updates, + +�         +supplements, + +�         +Internet-based services, and + +�         +support services + +for +this software, unless other terms accompany those items. If so, those terms +apply. + +BY +USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT +USE THE SOFTWARE. + +AS +DESCRIBED BELOW, USING SOME FEATURES ALSO OPERATES AS YOUR CONSENT TO THE +TRANSMISSION OF CERTAIN STANDARD COMPUTER INFORMATION FOR INTERNET-BASED +SERVICES. + + + +If you comply with these license terms, you have the +rights below. + + + +1.�� INSTALLATION AND USE RIGHTS. One user may install and use any number of copies of +the software on your devices to design, develop and test your ASP.NET programs. + +2.�� ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS.� + +a.    +Distributable Code. The software contains code that you are permitted to +distribute in programs you develop if you comply with the terms below. + +i.      Right to Use and Distribute. The code and +text files listed below are �Distributable Code.� + +�         +Redistributable +DLL Files.� You +may copy and distribute the object code form of the following files: + +�  +Microsoft.Web.Infrastructure.dll; + +�  +NuGet.Core.dll; + +�  +System.Web.Helpers.dll; + +�  +System.Web.Razor.dll; + +�  +System.Web.WebPages.Administration.dll; + +�  +System.Web.WebPages.Deployment.dll; + +�  +System.Web.WebPages.dll; + +�  +System.Web.WebPages.Razor.dll; + +�  +WebMatrix.Data.dll; + +�  +WebMatrix.WebData.dll. + +�         +Third Party Distribution.� You may +permit distributors of your programs to copy and distribute the Distributable +Code as part of those programs. + +ii.    +Distribution Requirements. For any +Distributable Code you distribute, you must + +�         +add significant primary +functionality to it in your programs; + +�         +require distributors and external +end users to agree to terms that protect it at least as much as this agreement; + + +�         +display your valid copyright +notice on your programs; and + +�         +indemnify, defend, and hold +harmless Microsoft from any claims, including attorneys� fees, related to the +distribution or use of your programs. + +iii.   Distribution Restrictions. You may not + +�         +alter any copyright, trademark or +patent notice in the Distributable Code; + +�         +use Microsoft�s trademarks in your +programs� names or in a way that suggests your programs come from or are +endorsed by Microsoft; + +�         +distribute Distributable Code to +run on a platform other than the Windows platform; + +�         +include Distributable Code in +malicious, deceptive or unlawful programs; or + +�         +modify or distribute the source +code of any Distributable Code so that any part of it becomes subject to an +Excluded License. An Excluded License is one that requires, as a condition of +use, modification or distribution, that + +�         +the code be disclosed or +distributed in source code form; or + +�         +others have the right to modify +it. + +3.�� INTERNET-BASED SERVICES. Microsoft provides Internet-based services with the software. +It may change or cancel them at any time. + +a.    +Consent for Internet-Based +Services. The software +feature described below connects to Microsoft +or service provider computer systems over the Internet. +In some cases, you will not receive a separate notice when they connect. You +may elect to not use it. For more information about this feature, see the +software documentation and the privacy statement available at go.microsoft.com/fwlink/?LinkID=205205. BY USING THIS FEATURE, YOU CONSENT TO THE TRANSMISSION OF THIS +INFORMATION. Microsoft +does not use the information to identify or contact you. + +i.      +Computer Information. The following feature uses Internet protocols, which +send to the appropriate systems computer information, such as your Internet +protocol address, the type of operating system, browser and name and version of +the software you are using, and the language code of the device where you +installed the software. Microsoft or a third-party service provider uses this +information to make the Internet-based service available to you. + +A.    Open Data Protocol (OData) Service. This software will access a list of packages that is +supplied by means of an OData service online from Microsoft or a third-party +service provider. + +ii.    +Installing Packages and their Dependencies.� Please refer to the +�Package Manager Feature� section below for a description of this feature. + +iii.   +Use of Information. We or a third-party service provider may use the +computer information, to improve our or their software and services. We or they +may also share it with others, such as hardware and software vendors.� They may +use the information to improve how their products run with Microsoft software. + +b.    Misuse of Internet-based Services. You may not use this service in +any way that could harm it or impair anyone else�s use of it. You may not use +the service to try to gain unauthorized access to any service, data, account or +network by any means. + +4.�� PACKAGE +MANAGER FEATURE.  This +software includes a package manager feature, which enables you to obtain other +software packages from other sources.  Those packages are offered and +distributed in some cases by third parties or in some cases by Microsoft, but +each such package is under its own license terms.  Microsoft is not +developing, distributing or licensing any of the third-party packages to you, +but instead, as a convenience, is providing you with this package manager +feature in order to access any packages for your own use.  By using this +package manager feature, you acknowledge and agree that you may be accessing +and using the third-party packages as distributed by such third parties and +under the separate license terms applicable to each package, including any +terms applicable to software dependencies that may be included in the package. +You acknowledge and agree that it is your responsibility to locate, understand +and comply with all applicable license terms for each package and its +dependencies, for example, by following the package source (feed) URL or by +reviewing the packages for embedded notices or license terms.  The package +manager feature may have been pre-set to a feed that is hosted by Microsoft or +a third party service provider, located at go.microsoft.com/fwlink/?LinkID=206669.  The packages listed on this feed may include packages submitted by third parties.  Microsoft +makes no representations, warranties or guarantees as to the feed URL, any +feeds from such URL, the information contained therein, or any packages +referenced in or accessed by you through such feeds. Microsoft grants you no +license rights for third-party software that is obtained using this feature or +from the feed.� You may change the feed URL that the package manager feature +initially points to at any time at your discretion. + +5.�� THIRD PARTY NOTICES.� The package manager feature of the software includes +third party code. However, such code is licensed to you by Microsoft under this +license agreement, rather than licensed to you by any third party under some +other license terms.� Notices, if any, for the third party code are included +with this software for your information only. + +6.�� Scope of +License. The software is licensed, not sold. This agreement +only gives you some rights to use the software. Microsoft reserves all other +rights. Unless applicable law gives you more rights despite this limitation, +you may use the software only as expressly permitted in this agreement. In +doing so, you must comply with any technical limitations in the software that +only allow you to use it in certain ways. You may not + +�         +work around any technical +limitations in the software; + +�         +reverse engineer, decompile or +disassemble the software, except and only to the extent that applicable law +expressly permits, despite this limitation; + +�         +make more copies of the software +than specified in this agreement or allowed by applicable law, despite this +limitation; + +�         +publish the software for others to +copy; + +�         +rent, lease or lend the software; +or + +�         +transfer the software or this +agreement to any third party. + +7.�� BACKUP COPY. You may make one backup copy of the software. You may +use it only to reinstall the software. + +8.�� DOCUMENTATION. Any person that has valid access to your computer or +internal network may copy and use the documentation for your internal, reference +purposes. + +9.�� Export +Restrictions. The software is subject to United States export laws +and regulations. You must comply with all domestic and international export +laws and regulations that apply to the software. These laws include +restrictions on destinations, end users and end use. For additional +information, see www.microsoft.com/exporting. + +10. SUPPORT +SERVICES. Because this software is �as is,� we may not provide +support services for it. + +11. Entire +Agreement. This agreement, and the +terms for supplements, updates, Internet-based services and support services +that you use, are the entire agreement for the software and support services. + +12. Applicable +Law. + +a.�� United States. If you acquired the software in the United States, +Washington state law governs the interpretation of this agreement and applies +to claims for breach of it, regardless of conflict of laws principles. The laws +of the state where you live govern all other claims, including claims under +state consumer protection laws, unfair competition laws, and in tort. + +b.�� Outside the United States. If you acquired the software in any other country, +the laws of that country apply. + +13. Legal +Effect. This agreement describes +certain legal rights. You may have other rights under the laws of your country. +You may also have rights with respect to the party from whom you acquired the +software. This agreement does not change your rights under the laws of your +country if the laws of your country do not permit it to do so. + +14. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED +�AS-IS.� YOU BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, +GUARANTEES OR CONDITIONS. YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS UNDER YOUR +LOCAL LAWS WHICH THIS AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED UNDER +YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. + +15. LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. +YOU CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. +$5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST +PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES. + +This limitation applies to + +�         +anything related to the software, +services, content (including code) on third party Internet sites, or third +party programs; and + +�         +claims for breach of contract, +breach of warranty, guarantee or condition, strict liability, negligence, or +other tort to the extent permitted by applicable law. + +It also applies even if Microsoft knew or should have known about the +possibility of the damages. The above limitation or exclusion may not apply to +you because your country may not allow the exclusion or limitation of +incidental, consequential or other damages. + +*��� *�� *�� *�� * + +MICROSOFT +SOFTWARE LICENSE TERMS + + + +MICROSOFT PACKAGE MANAGER FOR .NET + + + +These +license terms are an agreement between Microsoft Corporation (or based on where +you live, one of its affiliates) and you. Please read them. They apply to the +software named above, which includes the media on which you received it, if +any. The terms also apply to any Microsoft + +������ updates, + +������ supplements, + +������ Internet-based services, and + +������ support services + +for +this software, unless other terms accompany those items. If so, those terms +apply. + +BY +USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT +USE THE SOFTWARE. + +AS +DESCRIBED BELOW, USING SOME FEATURES ALSO OPERATES AS YOUR CONSENT TO THE +TRANSMISSION OF CERTAIN STANDARD COMPUTER INFORMATION FOR INTERNET-BASED +SERVICES. + + + +If you comply with these license terms, you have the +rights below. + + + +1.�� INSTALLATION AND USE RIGHTS. One user may install and use any number of copies of +the software on your devices to design, develop and test your programs. + +2.�� ADDITIONAL +LICENSING REQUIREMENTS AND/OR USE RIGHTS. + +a.    +Distributable Code. The software contains code that you are permitted to +distribute in programs you develop if you comply with the terms below. + +i.      Right to Use and Distribute. The code and +text files listed below are �Distributable Code.� + +�         +NuGet.Core.dll. You may copy and distribute the +object code form of NuGet.Core.dll. + +�         +Third Party +Distribution. You +may permit distributors of your programs to copy and distribute the +Distributable Code as part of those programs. + +ii.    +Distribution Requirements. For any Distributable Code you distribute, you must + +�         +add significant primary +functionality to it in your programs; + +�         +require distributors and external +end users to agree to terms that protect it at least as much as this agreement; + + +�         +display your valid copyright +notice on your programs; and + +�         +indemnify, defend, and hold +harmless Microsoft from any claims, including attorneys� fees, related to the +distribution or use of your programs. + +iii.   Distribution Restrictions. You may not + +�         +alter any copyright, trademark or +patent notice in the Distributable Code; + +�         +use Microsoft�s trademarks in your +programs� names or in a way that suggests your programs come from or are +endorsed by Microsoft; + +�         +distribute Distributable Code to +run on a platform other than the Windows platform; + +�         +include Distributable Code in +malicious, deceptive or unlawful programs; or + +�         +modify or distribute the source +code of any Distributable Code so that any part of it becomes subject to an +Excluded License. An Excluded License is one that requires, as a condition of +use, modification or distribution, that + +�         +the code be disclosed or +distributed in source code form; or + +�         +others have the right to modify +it. + +3.�� INTERNET-BASED SERVICES. Microsoft provides Internet-based services with the software. +It may change or cancel them at any time. + +a.    +Consent for Internet-Based +Services. The software +feature described below connects to Microsoft +or service provider computer systems over the Internet. +In some cases, you will not receive a separate notice when they connect. You +may elect to not use it. For more information about this feature, see the +software documentation and the privacy statement available at go.microsoft.com/fwlink/?LinkID=205205. BY USING THIS FEATURE, YOU CONSENT TO THE TRANSMISSION OF THIS +INFORMATION. Microsoft +does not use the information to identify or contact you. + +i.      +Computer Information. The following feature uses Internet protocols, which +send to the appropriate systems computer information, such as your Internet +protocol address, the type of operating system, browser and name and version of +the software you are using, and the language code of the device where you +installed the software. Microsoft or a third-party service provider uses this +information to make the Internet-based service available to you. + +A.    Open Data Protocol (OData) Service. This software will access a list of packages that is +supplied by means of an OData service online from Microsoft or a third-party +service provider. + +ii.    +Installing Packages and their Dependencies.� Please refer to the +�Package Manager Feature� section below for a description of this feature. + +iii.   +Use of Information. We or a third-party service provider may use the +computer information, to improve our or their software and services. We or they +may also share it with others, such as hardware and software vendors.� They may +use the information to improve how their products run with Microsoft software. + +b.    Misuse of Internet-based Services. You may not use this service in +any way that could harm it or impair anyone else�s use of it. You may not use the +service to try to gain unauthorized access to any service, data, account or +network by any means. + +4.�� PACKAGE +MANAGER FEATURE.  This +software includes a package manager feature, which enables you to obtain other +software packages from other sources.  Those packages are offered and +distributed in some cases by third parties or in some cases by Microsoft, but +each such package is under its own license terms.  Microsoft is not +developing, distributing or licensing any of the third-party packages to you, +but instead, as a convenience, is providing you with this package manager +feature in order to access any packages for your own use.  By using this +package manager feature, you acknowledge and agree that you may be accessing +and using the third-party packages as distributed by such third parties and +under the separate license terms applicable to each package, including any +terms applicable to software dependencies that may be included in the package. +You acknowledge and agree that it is your responsibility to locate, understand +and comply with all applicable license terms for each package and its +dependencies, for example, by following the package source (feed) URL or by +reviewing the packages for embedded notices or license terms.  The package +manager feature may have been pre-set to a feed that is hosted by Microsoft or +a third party service provider, located at go.microsoft.com/fwlink/?LinkID=206669.  The packages listed on this feed may include packages submitted by third parties.  Microsoft +makes no representations, warranties or guarantees as to the feed URL, any +feeds from such URL, the information contained therein, or any packages +referenced in or accessed by you through such feeds. Microsoft grants you no +license rights for third-party software that is obtained using this feature or +from the feed.� You may change the feed URL that the package manager feature +initially points to at any time at your discretion. + +5.�� THIRD PARTY NOTICES.� The package manager feature of the software includes +third party code. However, such code is licensed to you by Microsoft under this +license agreement, rather than licensed to you by any third party under some +other license terms.� Notices, if any, for the third party code are included +with this software for your information only. + +6.�� Scope of +License. The software is licensed, not sold. This agreement +only gives you some rights to use the software. Microsoft reserves all other +rights. Unless applicable law gives you more rights despite this limitation, +you may use the software only as expressly permitted in this agreement. In +doing so, you must comply with any technical limitations in the software that +only allow you to use it in certain ways. You may not + +������ work around any technical limitations in the software; + +������ reverse engineer, decompile or disassemble the +software, except and only to the extent that applicable law expressly permits, +despite this limitation; + +������ make more copies of the software than specified in +this agreement or allowed by applicable law, despite this limitation; + +������ publish the software for others to copy; + +������ rent, lease or lend the software; or + +������ transfer the software or this agreement to any third +party. + +7.�� BACKUP COPY. You may make one backup copy of the software. You may +use it only to reinstall the software. + +8.�� DOCUMENTATION. Any person that has valid access to your computer or +internal network may copy and use the documentation for your internal, +reference purposes. + +9.�� Export +Restrictions. The software is subject to United States export laws +and regulations. You must comply with all domestic and international export +laws and regulations that apply to the software. These laws include +restrictions on destinations, end users and end use. For additional +information, see www.microsoft.com/exporting. + +10. SUPPORT +SERVICES. Because this software is �as is,� we may not provide +support services for it. + +11. Entire +Agreement. This agreement, and the +terms for supplements, updates, Internet-based services and support services +that you use, are the entire agreement for the software and support services. + +12. Applicable +Law. + +a.�� United States. If you acquired the software in the United States, +Washington state law governs the interpretation of this agreement and applies +to claims for breach of it, regardless of conflict of laws principles. The laws +of the state where you live govern all other claims, including claims under +state consumer protection laws, unfair competition laws, and in tort. + +b.�� Outside the United States. If you acquired the software in any other country, +the laws of that country apply. + +13. Legal +Effect. This agreement describes +certain legal rights. You may have other rights under the laws of your country. +You may also have rights with respect to the party from whom you acquired the +software. This agreement does not change your rights under the laws of your +country if the laws of your country do not permit it to do so. + +14. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED +�AS-IS.� YOU BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, +GUARANTEES OR CONDITIONS. YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS UNDER YOUR +LOCAL LAWS WHICH THIS AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED UNDER +YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. + +15. LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. +YOU CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. +$5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST +PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES. + +This limitation applies to + +������ anything related to the software, services, content +(including code) on third party Internet sites, or third party programs; and + +������ claims for breach of contract, breach of warranty, +guarantee or condition, strict liability, negligence, or other tort to the +extent permitted by applicable law. + +It also applies even if Microsoft knew or should have known about the +possibility of the damages. The above limitation or exclusion may not apply to +you because your country may not allow the exclusion or limitation of +incidental, consequential or other damages. + +*��� *�� *�� *�� * + +  + +MICROSOFT SOFTWARE LICENSE TERMS + +MICROSOFT SOFTWARE UPDATE TO VISUAL STUDIO, KB2483190 + +____________________________________________________________________________________ + +PLEASE +NOTE: Microsoft Corporation (or based +on where you live, one of its affiliates) licenses this supplement to you. You +may use it with each validly licensed copy of Microsoft Visual Studio 2010 or +Microsoft Windows operating system� software (for which this supplement is +applicable) (the �software�). You may not use the supplement if you do not have +a license for the software. The license terms for the software apply to your +use of this supplement. Microsoft provides support services for the supplement +as described at www.support.microsoft.com/common/international.aspx. + +  + + + + + + diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---www.microsoft.com-web-webpi-eula-dotnet_library_license_non_redistributable.htm=MS-EULA-Non-Redistributable.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---www.microsoft.com-web-webpi-eula-dotnet_library_license_non_redistributable.htm=MS-EULA-Non-Redistributable.verified.txt new file mode 100644 index 00000000..93943002 --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---www.microsoft.com-web-webpi-eula-dotnet_library_license_non_redistributable.htm=MS-EULA-Non-Redistributable.verified.txt @@ -0,0 +1,224 @@ + + + + + + + + + + + + + +MICROSOFT SOFTWARE +LICENSE TERMS + +MICROSOFT .NET LIBRARY +(INSTALL AND USE) + +These license terms are +an agreement between Microsoft Corporation (or based on where you live, one of +its affiliates) and you. Please read them. They apply to the software named +above, which includes the media on which you received it, if any. The terms also +apply to any Microsoft + +�         +updates, + +�         +supplements, + +�         +Internet-based +services, and + +�         +support +services + +for this software, +unless other terms accompany those items. If so, those terms apply. + +BY USING THE SOFTWARE, +YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE. + +IF YOU COMPLY WITH +THESE LICENSE TERMS, YOU HAVE THE PERPETUAL RIGHTS BELOW. + +1.    INSTALLATION AND USE +RIGHTS. + +a.    Installation and Use. You may install and +use any number of copies of the software to design, develop and test your +programs. + +b.    Third Party Programs. The software may +include third party programs that Microsoft, not the third party, licenses to +you under this agreement. Notices, if any, for the third party program are included +for your information only. + +2.    SCOPE OF LICENSE. The software is +licensed, not sold. This agreement only gives you some rights to use the +software. Microsoft reserves all other rights. Unless applicable law gives you +more rights despite this limitation, you may use the software only as expressly +permitted in this agreement. In doing so, you must comply with any technical +limitations in the software that only allow you to use it in certain ways. You +may not + +�         +work +around any technical limitations in the software; + +�         +reverse +engineer, decompile or disassemble the software, except and only to the extent +that applicable law expressly permits, despite this limitation; + +�         +publish +the software for others to copy; + +�         +rent, +lease or lend the software; + +�         +transfer +the software or this agreement to any third party; or + +3.    BACKUP COPY. You may make one backup +copy of the software. You may use it only to reinstall the software. + +4.    DOCUMENTATION. Any person that has +valid access to your computer or internal network may copy and use the +documentation for your internal, reference purposes. + +5.    EXPORT RESTRICTIONS. The software is subject +to United States export laws and regulations. You must comply with all domestic +and international export laws and regulations that apply to the software. These +laws include restrictions on destinations, end users and end use. For +additional information, see www.microsoft.com/exporting. + +6.    SUPPORT SERVICES. Because this software +is �as is,� we may not provide support services for it. + +7.    ENTIRE AGREEMENT. This agreement, and the +terms for supplements, updates, Internet-based services and support services +that you use, are the entire agreement for the software and support services. + +8.    APPLICABLE LAW. + +a.    United States. If you acquired the +software in the United States, Washington state law governs the interpretation +of this agreement and applies to claims for breach of it, regardless of +conflict of laws principles. The laws of the state where you live govern all +other claims, including claims under state consumer protection laws, unfair +competition laws, and in tort. + +b.    Outside the United +States. If you acquired the software in any other country, the laws of that +country apply. + +9.  LEGAL EFFECT. This agreement +describes certain legal rights. You may have other rights under the laws of +your country. You may also have rights with respect to the party from whom you +acquired the software. This agreement does not change your rights under the +laws of your country if the laws of your country do not permit it to do so. + +10.  DISCLAIMER OF WARRANTY. +THE SOFTWARE IS LICENSED �AS-IS.� YOU BEAR THE RISK OF USING IT. MICROSOFT +GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS. YOU MAY HAVE ADDITIONAL +CONSUMER RIGHTS OR STATUTORY GUARANTEES UNDER YOUR LOCAL LAWS WHICH THIS +AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS, MICROSOFT +EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +PURPOSE AND NON-INFRINGEMENT. + +FOR AUSTRALIA � YOU +HAVE STATUTORY GUARANTEES UNDER THE AUSTRALIAN CONSUMER LAW AND NOTHING IN +THESE TERMS IS INTENDED TO AFFECT THOSE RIGHTS. + +11.  LIMITATION ON AND +EXCLUSION OF REMEDIES AND DAMAGES. YOU CAN RECOVER FROM MICROSOFT AND ITS +SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT RECOVER ANY OTHER +DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, INDIRECT OR INCIDENTAL +DAMAGES. + +This limitation applies +to + +�         +anything +related to the software, services, content (including code) on third party +Internet sites, or third party programs; and + +�         +claims for +breach of contract, breach of warranty, guarantee or condition, strict +liability, negligence, or other tort to the extent permitted by applicable law. + +It also applies even if Microsoft knew +or should have known about the possibility of the damages. The above limitation +or exclusion may not apply to you because your country may not allow the +exclusion or limitation of incidental, consequential or other damages. + +Please note: As this +software is distributed in Quebec, Canada, some of the clauses in this +agreement are provided below in French. + +Remarque : Ce logiciel +�tant distribu� au Qu�bec, Canada, certaines des clauses dans ce contrat sont +fournies ci-dessous en fran�ais. + +EXON�RATION DE +GARANTIE. Le +logiciel vis� par une licence est offert � tel quel �. Toute utilisation de ce +logiciel est � votre seule risque et p�ril. Microsoft n�accorde aucune autre +garantie expresse. Vous pouvez b�n�ficier de droits additionnels en vertu du +droit local sur la protection des consommateurs, que ce contrat ne peut +modifier. La ou elles sont permises par le droit locale, les garanties implicites +de qualit� marchande, d�ad�quation � un usage particulier et d�absence de +contrefa�on sont exclues. + +LIMITATION DES +DOMMAGES-INT�R�TS ET EXCLUSION DE RESPONSABILIT� POUR LES DOMMAGES. Vous pouvez obtenir de +Microsoft et de ses fournisseurs une indemnisation en cas de dommages directs +uniquement � hauteur de 5,00 $ US. Vous ne pouvez pr�tendre � aucune +indemnisation pour les autres dommages, y compris les dommages sp�ciaux, +indirects ou accessoires et pertes de b�n�fices. + +Cette limitation +concerne : + +�         +tout +ce qui est reli� au logiciel, aux services ou au contenu (y compris le code) +figurant sur des sites Internet tiers ou dans des programmes tiers ; et + +�         +les +r�clamations au titre de violation de contrat ou de garantie, ou au titre de +responsabilit� stricte, de n�gligence ou d�une autre faute dans la limite +autoris�e par la loi en vigueur. + +Elle s�applique +�galement, m�me si Microsoft connaissait ou devrait conna�tre l��ventualit� +d�un tel dommage. Si votre pays n�autorise pas l�exclusion ou la limitation de +responsabilit� pour les dommages indirects, accessoires ou de quelque nature +que ce soit, il se peut que la limitation ou l�exclusion ci-dessus ne s�appliquera +pas � votre �gard. + +EFFET JURIDIQUE. Le pr�sent contrat +d�crit certains droits juridiques. Vous pourriez avoir d�autres droits pr�vus +par les lois de votre pays. Le pr�sent contrat ne modifie pas les droits que +vous conf�rent les lois de votre pays si celles-ci ne le permettent pas. + +  + +  + + + + + + diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---www.microsoft.com-web-webpi-eula-net_library_eula_enu.htm=MS-EULA.verified.txt b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---www.microsoft.com-web-webpi-eula-net_library_eula_enu.htm=MS-EULA.verified.txt new file mode 100644 index 00000000..0add38f8 --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.ValidatedLicenses_Should_PrintCorrectTable_mappedValue=https---www.microsoft.com-web-webpi-eula-net_library_eula_enu.htm=MS-EULA.verified.txt @@ -0,0 +1,248 @@ + + + + + + + + + + + + + +MICROSOFT SOFTWARE LICENSE +TERMS + + + +MICROSOFT .NET +LIBRARY + + + +These +license terms are an agreement between you and Microsoft Corporation (or based +on where you live, one of its affiliates). They apply to the software named +above. The terms also apply to any Microsoft services or updates for the +software, except to the extent those have different terms. + + + +If +you comply with these license terms, you have the rights below. + + + +1.    INSTALLATION AND USE RIGHTS. + +You may +install and use any number of copies of the software to develop and test your applications.  + + +2.    +THIRD PARTY COMPONENTS. The software may include third party components with +separate legal notices or governed by other agreements, as may be described in +the ThirdPartyNotices file(s) accompanying the software. + +3.    +ADDITIONAL LICENSING +REQUIREMENTS AND/OR USE RIGHTS. + +a.     +DISTRIBUTABLE +CODE.  The software is +comprised of Distributable Code. �Distributable Code� is code that you are +permitted to distribute in applications you develop if you comply with the +terms below. + +i.      Right to Use and Distribute. + +�        +You may copy and distribute the object code form of the software. + +�        +Third Party Distribution. You may permit distributors of your applications +to copy and distribute the Distributable Code as part of those applications. + +ii.     Distribution Requirements. For any +Distributable Code you distribute, you must + +�        +use the Distributable Code in your applications and not as a +standalone distribution; + +�        +require distributors and external end users to agree to terms that +protect it at least as much as this agreement; and + +�        +indemnify, defend, and hold harmless Microsoft from any claims, +including attorneys� fees, related to the distribution or use of your applications, +except to the extent that any claim is based solely on the unmodified Distributable +Code. + +iii.   Distribution Restrictions. You may not + +�        +use Microsoft�s trademarks in your applications� names or in a way +that suggests your applications come from or are endorsed by Microsoft; or + +�        +modify or distribute the source code of any Distributable Code so +that any part of it becomes subject to an Excluded License. An �Excluded +License� is one that requires, as a condition of use, modification or +distribution of code, that (i) it be disclosed or distributed in source code +form; or (ii) others have the right to modify it. + +4.    +DATA. + +a.     +Data Collection. The software may collect +information about you and your use of the software, and send that to Microsoft. +Microsoft may use this information to provide services and improve our products +and services.� You may opt-out of many of these scenarios, but not all, as +described in the software documentation.� There are also some features in the software that may enable you and +Microsoft to collect data from users of your applications. If you use +these features, you must comply with applicable law, including providing +appropriate notices to users of your applications together with Microsoft�s +privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data +collection and its use from the software documentation and our privacy +statement. Your use of the software operates as your consent to these +practices. + +b.    +Processing of Personal Data. To the extent Microsoft is a +processor or subprocessor of personal data in connection with the software, +Microsoft makes the commitments in the European Union General Data Protection +Regulation Terms of the Online Services Terms to all customers effective May +25, 2018, at https://docs.microsoft.com/en-us/legal/gdpr. + +5.    +Scope of +License. The software is licensed, not sold. This agreement +only gives you some rights to use the software. Microsoft reserves all other +rights. Unless applicable law gives you more rights despite this limitation, +you may use the software only as expressly permitted in this agreement. In +doing so, you must comply with any technical limitations in the software that +only allow you to use it in certain ways. You may not + +�        +work around any technical +limitations in the software; + +�        +reverse engineer, decompile or +disassemble the software, or otherwise attempt to derive the source code for +the software, except and to the extent required by third party licensing terms +governing use of certain open source components that may be included in the +software; + +�        +remove, minimize, block or modify +any notices of Microsoft or its suppliers in the software; + +�        +use the software in any way that +is against the law; or + +�        +share, publish, rent or lease the +software, provide the software as a stand-alone offering for others to use, or +transfer the software or this agreement to any third party. + +6.    +Export +Restrictions. You must comply with all domestic and international +export laws and regulations that apply to the software, which include +restrictions on destinations, end users, and end use. For further information +on export restrictions, visit www.microsoft.com/exporting. � + +7.    +SUPPORT +SERVICES. Because this software is �as is,� we may not provide +support services for it. + +8.    +Entire +Agreement. This +agreement, and the terms for supplements, updates, Internet-based services and +support services that you use, are the entire agreement for the software and +support services. + +9.    Applicable Law.� If you acquired the software in the United States, Washington law +applies to interpretation of and claims for breach of this agreement, and the +laws of the state where you live apply to all other claims. If you acquired the +software in any other country, its laws apply. + +10. CONSUMER RIGHTS; REGIONAL VARIATIONS. This agreement describes certain legal rights. You +may have other rights, including consumer rights, under the laws of your state +or country. Separate and apart from your relationship with Microsoft, you may +also have rights with respect to the party from which you acquired the +software. This agreement does not change those other rights if the laws of your +state or country do not permit it to do so. For example, if you acquired the +software in one of the below regions, or mandatory country law applies, then +the following provisions apply to you: + +a)    Australia. You have statutory guarantees under the Australian Consumer +Law and nothing in this agreement is intended to affect those rights. + +b)    Canada. If you acquired this software in Canada, you may stop +receiving updates by turning off the automatic update feature, disconnecting +your device from the Internet (if and when you re-connect to the Internet, +however, the software will resume checking for and installing updates), or uninstalling +the software. The product documentation, if any, may also specify how to turn +off updates for your specific device or software. + +c)    Germany and Austria. + +(i)������� Warranty. The software will perform +substantially as described in any Microsoft materials that accompany it. +However, Microsoft gives no contractual guarantee in relation to the software. + +(ii)������ Limitation of Liability. In case of +intentional conduct, gross negligence, claims based on the Product Liability +Act, as well as in case of death or personal or physical injury, Microsoft is +liable according to the statutory law. + +Subject to the foregoing clause (ii), Microsoft will only +be liable for slight negligence if Microsoft is in breach of such material +contractual obligations, the fulfillment of which facilitate the due +performance of this agreement, the breach of which would endanger the purpose +of this agreement and the compliance with which a party may constantly trust in +(so-called "cardinal obligations"). In other cases of slight negligence, +Microsoft will not be liable for slight negligence + +11. Disclaimer of Warranty. THE SOFTWARE IS LICENSED �AS-IS.� YOU BEAR THE RISK +OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS. +TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NON-INFRINGEMENT. + +12. +Limitation +on and Exclusion of Remedies and Damages. YOU +CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. +$5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST +PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES. + +This limitation applies to (a) +anything related to the software, services, content (including code) on third +party Internet sites, or third party applications; and (b) claims for breach of +contract, breach of warranty, guarantee or condition, strict liability, +negligence, or other tort to the extent permitted by applicable law. + +It +also applies even if Microsoft knew or should have known about the possibility +of the damages. The above limitation or exclusion may not apply to you because +your state or country may not allow the exclusion or limitation of incidental, +consequential or other damages. + +  + + + + + + diff --git a/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.cs b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.cs new file mode 100644 index 00000000..91b248e5 --- /dev/null +++ b/tests/NuGetUtility.Test/LicenseValidator/UrlToLicenseMappingTest.cs @@ -0,0 +1,22 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using HtmlAgilityPack; +using NuGetUtility.LicenseValidator; + +namespace NuGetUtility.Test.LicenseValidator +{ + [TestFixture] + public class UrlToLicenseMappingTest + { + [Parallelizable(scope: ParallelScope.All)] + [TestCaseSource(typeof(UrlToLicenseMapping), nameof(UrlToLicenseMapping.Default))] + public async Task ValidatedLicenses_Should_PrintCorrectTable(KeyValuePair mappedValue) + { + var web = new HtmlWeb(); + HtmlDocument doc = await web.LoadFromWebAsync(mappedValue.Key.ToString()); + + await Verify(doc.DocumentNode.InnerText); + } + } +} diff --git a/tests/NuGetUtility.Test/NuGetUtility.Test.csproj b/tests/NuGetUtility.Test/NuGetUtility.Test.csproj index a5ccc679..1d7d2559 100644 --- a/tests/NuGetUtility.Test/NuGetUtility.Test.csproj +++ b/tests/NuGetUtility.Test/NuGetUtility.Test.csproj @@ -17,6 +17,7 @@ + diff --git a/tests/NuGetUtility.Test/Output/Json/JsonOutputFormatterTest.cs b/tests/NuGetUtility.Test/Output/Json/JsonOutputFormatterTest.cs index 80a18830..da806eaf 100644 --- a/tests/NuGetUtility.Test/Output/Json/JsonOutputFormatterTest.cs +++ b/tests/NuGetUtility.Test/Output/Json/JsonOutputFormatterTest.cs @@ -1,4 +1,7 @@ -using NuGetUtility.Output; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using NuGetUtility.Output; using NuGetUtility.Output.Json; namespace NuGetUtility.Test.Output.Json diff --git a/tests/NuGetUtility.Test/Output/Table/TableOutputFormatterTest.cs b/tests/NuGetUtility.Test/Output/Table/TableOutputFormatterTest.cs index dccb9196..7da5bd1e 100644 --- a/tests/NuGetUtility.Test/Output/Table/TableOutputFormatterTest.cs +++ b/tests/NuGetUtility.Test/Output/Table/TableOutputFormatterTest.cs @@ -1,4 +1,7 @@ -using NuGetUtility.Output; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using NuGetUtility.Output; using NuGetUtility.Output.Table; namespace NuGetUtility.Test.Output.Table diff --git a/tests/NuGetUtility.Test/Output/TestBase.cs b/tests/NuGetUtility.Test/Output/TestBase.cs index 349b7e6c..26bee4af 100644 --- a/tests/NuGetUtility.Test/Output/TestBase.cs +++ b/tests/NuGetUtility.Test/Output/TestBase.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using Bogus; using NuGetUtility.LicenseValidator; using NuGetUtility.Output; diff --git a/tests/NuGetUtility.Test/PackageInformationReader/PackageInformationReaderTest.cs b/tests/NuGetUtility.Test/PackageInformationReader/PackageInformationReaderTest.cs index f3826951..16f955b4 100644 --- a/tests/NuGetUtility.Test/PackageInformationReader/PackageInformationReaderTest.cs +++ b/tests/NuGetUtility.Test/PackageInformationReader/PackageInformationReaderTest.cs @@ -1,3 +1,6 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using AutoFixture; using AutoFixture.AutoNSubstitute; using NSubstitute; diff --git a/tests/NuGetUtility.Test/ReferencedPackagesReader/ProjectsCollectorTest.cs b/tests/NuGetUtility.Test/ReferencedPackagesReader/ProjectsCollectorTest.cs index 65e282ce..600a59fc 100644 --- a/tests/NuGetUtility.Test/ReferencedPackagesReader/ProjectsCollectorTest.cs +++ b/tests/NuGetUtility.Test/ReferencedPackagesReader/ProjectsCollectorTest.cs @@ -1,4 +1,7 @@ -using AutoFixture; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + +using AutoFixture; using NSubstitute; using NuGetUtility.ReferencedPackagesReader; using NuGetUtility.Test.Helper.ShuffelledEnumerable; diff --git a/tests/NuGetUtility.Test/ReferencedPackagesReader/ReferencedPackageReaderTest.cs b/tests/NuGetUtility.Test/ReferencedPackagesReader/ReferencedPackageReaderTest.cs index d9eca192..38cdeee3 100644 --- a/tests/NuGetUtility.Test/ReferencedPackagesReader/ReferencedPackageReaderTest.cs +++ b/tests/NuGetUtility.Test/ReferencedPackagesReader/ReferencedPackageReaderTest.cs @@ -1,6 +1,8 @@ +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using AutoFixture; using AutoFixture.AutoNSubstitute; -using Microsoft.Build.Evaluation; using NSubstitute; using NuGetUtility.ReferencedPackagesReader; using NuGetUtility.Test.Helper.ShuffelledEnumerable; diff --git a/tests/NuGetUtility.Test/ReferencedPackagesReader/ReferencedPackagesReaderIntegrationTest.cs b/tests/NuGetUtility.Test/ReferencedPackagesReader/ReferencedPackagesReaderIntegrationTest.cs index 0cb75172..6d78c08f 100644 --- a/tests/NuGetUtility.Test/ReferencedPackagesReader/ReferencedPackagesReaderIntegrationTest.cs +++ b/tests/NuGetUtility.Test/ReferencedPackagesReader/ReferencedPackagesReaderIntegrationTest.cs @@ -1,4 +1,6 @@ -using Microsoft.Build.Evaluation; +// Licensed to the projects contributors. +// The license conditions are provided in the LICENSE file located in the project root + using NuGetUtility.ReferencedPackagesReader; using NuGetUtility.Wrapper.MsBuildWrapper; using NuGetUtility.Wrapper.NuGetWrapper.Packaging.Core;