From 7c890ae091bfd4d58254fe1767f1bf05f066c446 Mon Sep 17 00:00:00 2001 From: mo khan Date: Thu, 17 Oct 2019 17:43:40 -0600 Subject: Install .NET Core 2.2 and .NET Core 3.0 --- .gitlab-ci.yml | 20 ++++++++++ CHANGELOG.md | 4 ++ Dockerfile | 3 +- bin/test_all | 1 + lib/license/management/version.rb | 2 +- normalized-licenses.yml | 1 + test/results/csharp-nuget-dotnetcore-v1.1.json | 51 ++++++++++++++++++++++++++ test/results/csharp-nuget-dotnetcore-v1.json | 38 +++++++++++++++++++ test/results/csharp-nuget-dotnetcore-v2.json | 41 +++++++++++++++++++++ 9 files changed, 159 insertions(+), 2 deletions(-) create mode 100644 test/results/csharp-nuget-dotnetcore-v1.1.json create mode 100644 test/results/csharp-nuget-dotnetcore-v1.json create mode 100644 test/results/csharp-nuget-dotnetcore-v2.json diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4432ad6..d78389b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -165,6 +165,26 @@ QA:js-v2: LM_REPORT_VERSION: 2 QA_RESULTS: js-yarn-v2 +QA:dotnet: + extends: .QA + variables: + QA_PROJECT: csharp-nuget-dotnetcore + QA_REF: master + +QA:dotnet-v1-1: + extends: QA:dotnet + variables: + FEATURE_RUBY_REPORT: 'true' + LM_REPORT_VERSION: '1.1' + QA_RESULTS: csharp-nuget-dotnetcore-v1.1 + +QA:dotnet-v2: + extends: QA:dotnet + variables: + FEATURE_RUBY_REPORT: 'true' + LM_REPORT_VERSION: 2 + QA_RESULTS: csharp-nuget-dotnetcore-v2 + .docker_tag: image: docker:stable stage: tag diff --git a/CHANGELOG.md b/CHANGELOG.md index 098f0d5..ab507a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # GitLab License management changelog +## v1.7.4 + +- Install [.NET Core 2.2, 3.0](https://github.com/pivotal/LicenseFinder/pull/632) so that we can install packages for .NET Core 2.2, 3.0 projects. + ## v1.7.3 - Update SPDX.org catalogue from version `3.6` to `3.7`. diff --git a/Dockerfile b/Dockerfile index 3316698..7aed72b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,9 +16,10 @@ RUN npm install npm-install-peers # Don't let Rubygem fail with the numerous projects using PG or MySQL, # install realpath, includes for python3, and pip for python3 +# Install .NET Core 2.2, 3.0 because it is not installed in the license_finder image (https://github.com/pivotal/LicenseFinder/pull/632). RUN apt-get update && \ apt-get install -y --no-install-recommends \ - libpq-dev libmysqlclient-dev realpath python3-dev python3-pip && \ + libpq-dev libmysqlclient-dev realpath python3-dev python3-pip dotnet-sdk-2.2 dotnet-sdk-3.0 && \ rm -rf /var/lib/apt/lists/* # Don't load RVM automatically, it doesn't work with GitLab-CI diff --git a/bin/test_all b/bin/test_all index 1eb5993..ca47027 100755 --- a/bin/test_all +++ b/bin/test_all @@ -20,4 +20,5 @@ do QA_PROJECT=python-pip QA_RESULTS="python3-pip-v$version" QA_REF=48e250a1 LM_PYTHON_VERSION=3 ./bin/test QA_PROJECT=ruby-bundler QA_REF=master ./bin/test QA_PROJECT=js-yarn QA_REF=master ./bin/test + QA_PROJECT=csharp-nuget-dotnetcore QA_REF=master ./bin/test done diff --git a/lib/license/management/version.rb b/lib/license/management/version.rb index b61aa01..9791b68 100644 --- a/lib/license/management/version.rb +++ b/lib/license/management/version.rb @@ -2,6 +2,6 @@ module License module Management - VERSION = '1.7.2' + VERSION = '1.7.3' end end diff --git a/normalized-licenses.yml b/normalized-licenses.yml index 3bfed18..2b372d2 100644 --- a/normalized-licenses.yml +++ b/normalized-licenses.yml @@ -11,6 +11,7 @@ ids: GPLv2: GPL-2.0 GPLv3: GPL-3.0 http://www.apache.org/licenses/LICENSE-2.0: Apache-2.0 + http://www.opensource.org/licenses/mit-license.php: MIT ISC: ISC LGPL 2.1: LGPL-2.1 LGPL2_1: LGPL-2.1 diff --git a/test/results/csharp-nuget-dotnetcore-v1.1.json b/test/results/csharp-nuget-dotnetcore-v1.1.json new file mode 100644 index 0000000..8e5fbb2 --- /dev/null +++ b/test/results/csharp-nuget-dotnetcore-v1.1.json @@ -0,0 +1,51 @@ +{ + "version": "1.1", + "licenses": [ + { + "count": 1, + "name": "http://www.opensource.org/licenses/mit-license.php" + }, + { + "count": 1, + "name": "unknown" + } + ], + "dependencies": [ + { + "licenses": [ + { + "name": "http://www.opensource.org/licenses/mit-license.php", + "url": "" + } + ], + "license": { + "name": "http://www.opensource.org/licenses/mit-license.php" + }, + "dependency": { + "name": "MvcMailer", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "unknown", + "url": "" + } + ], + "license": { + "name": "unknown" + }, + "dependency": { + "name": "T4Scaffolding.Core", + "description": "", + "pathes": [ + "." + ] + } + } + ] +} diff --git a/test/results/csharp-nuget-dotnetcore-v1.json b/test/results/csharp-nuget-dotnetcore-v1.json new file mode 100644 index 0000000..e144278 --- /dev/null +++ b/test/results/csharp-nuget-dotnetcore-v1.json @@ -0,0 +1,38 @@ +{ + "licenses": [ + { + "count": 1, + "name": "http://www.opensource.org/licenses/mit-license.php" + }, + { + "count": 1, + "name": "unknown" + } + ], + "dependencies": [ + { + "license": { + "name": "http://www.opensource.org/licenses/mit-license.php" + }, + "dependency": { + "name": "MvcMailer", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "unknown" + }, + "dependency": { + "name": "T4Scaffolding.Core", + "description": "", + "pathes": [ + "." + ] + } + } + ] +} diff --git a/test/results/csharp-nuget-dotnetcore-v2.json b/test/results/csharp-nuget-dotnetcore-v2.json new file mode 100644 index 0000000..a0e316c --- /dev/null +++ b/test/results/csharp-nuget-dotnetcore-v2.json @@ -0,0 +1,41 @@ +{ + "version": "2.0", + "licenses": [ + { + "id": "MIT", + "name": "MIT License", + "url": "https://opensource.org/licenses/MIT", + "count": 1 + }, + { + "id": "unknown", + "name": "unknown", + "url": "", + "count": 1 + } + ], + "dependencies": [ + { + "name": "MvcMailer", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "MIT" + ] + }, + { + "name": "T4Scaffolding.Core", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + } + ] +} -- cgit v1.2.3 From ef5e5ec0b635d3968a6699b8d6711dd75f568b7d Mon Sep 17 00:00:00 2001 From: mo khan Date: Tue, 22 Oct 2019 15:37:28 -0600 Subject: Update dotnet test results with updated list of licenses --- normalized-licenses.yml | 3 + test/results/csharp-nuget-dotnetcore-v1.1.json | 1570 +++++++++++++++++++++++- test/results/csharp-nuget-dotnetcore-v1.json | 1058 +++++++++++++++- test/results/csharp-nuget-dotnetcore-v2.json | 975 ++++++++++++++- 4 files changed, 3597 insertions(+), 9 deletions(-) diff --git a/normalized-licenses.yml b/normalized-licenses.yml index 2b372d2..8b7640f 100644 --- a/normalized-licenses.yml +++ b/normalized-licenses.yml @@ -10,6 +10,9 @@ ids: EPL1: EPL-1.0 GPLv2: GPL-2.0 GPLv3: GPL-3.0 + http://opensource.org/licenses/Apache-2.0: Apache-2.0 + http://opensource.org/licenses/LGPL-2.1: LGPL-2.1 + https://licenses.nuget.org/MIT: MIT http://www.apache.org/licenses/LICENSE-2.0: Apache-2.0 http://www.opensource.org/licenses/mit-license.php: MIT ISC: ISC diff --git a/test/results/csharp-nuget-dotnetcore-v1.1.json b/test/results/csharp-nuget-dotnetcore-v1.1.json index 8e5fbb2..9ead717 100644 --- a/test/results/csharp-nuget-dotnetcore-v1.1.json +++ b/test/results/csharp-nuget-dotnetcore-v1.1.json @@ -1,16 +1,138 @@ { "version": "1.1", "licenses": [ + { + "count": 76, + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + { + "count": 2, + "name": "https://github.com/dotnet/corefx/blob/master/LICENSE.TXT" + }, + { + "count": 2, + "name": "unknown" + }, + { + "count": 1, + "name": "http://opensource.org/licenses/Apache-2.0" + }, + { + "count": 1, + "name": "http://opensource.org/licenses/LGPL-2.1" + }, + { + "count": 1, + "name": "http://www.apache.org/licenses/LICENSE-2.0" + }, { "count": 1, "name": "http://www.opensource.org/licenses/mit-license.php" }, { "count": 1, - "name": "unknown" + "name": "https://licenses.nuget.org/MIT" + }, + { + "count": 1, + "name": "https://raw.githubusercontent.com/antlr/antlrcs/master/LICENSE.txt" + }, + { + "count": 1, + "name": "https://raw.githubusercontent.com/nhibernate/nhibernate-core/master/LICENSE.txt" } ], "dependencies": [ + { + "licenses": [ + { + "name": "https://raw.githubusercontent.com/antlr/antlrcs/master/LICENSE.txt", + "url": "" + } + ], + "license": { + "name": "https://raw.githubusercontent.com/antlr/antlrcs/master/LICENSE.txt" + }, + "dependency": { + "name": "Antlr3.Runtime", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "unknown", + "url": "" + } + ], + "license": { + "name": "unknown" + }, + "dependency": { + "name": "Iesi.Collections", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "Microsoft.NETCore.Platforms", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "Microsoft.NETCore.Targets", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "Microsoft.Win32.Primitives", + "description": "", + "pathes": [ + "." + ] + } + }, { "licenses": [ { @@ -32,15 +154,1455 @@ { "licenses": [ { - "name": "unknown", + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", "url": "" } ], "license": { - "name": "unknown" + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" }, "dependency": { - "name": "T4Scaffolding.Core", + "name": "NETStandard.Library", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "https://raw.githubusercontent.com/nhibernate/nhibernate-core/master/LICENSE.txt", + "url": "" + } + ], + "license": { + "name": "https://raw.githubusercontent.com/nhibernate/nhibernate-core/master/LICENSE.txt" + }, + "dependency": { + "name": "NHibernate", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://www.apache.org/licenses/LICENSE-2.0", + "url": "" + } + ], + "license": { + "name": "http://www.apache.org/licenses/LICENSE-2.0" + }, + "dependency": { + "name": "NodaTime", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://opensource.org/licenses/Apache-2.0", + "url": "" + } + ], + "license": { + "name": "http://opensource.org/licenses/Apache-2.0" + }, + "dependency": { + "name": "Remotion.Linq", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://opensource.org/licenses/LGPL-2.1", + "url": "" + } + ], + "license": { + "name": "http://opensource.org/licenses/LGPL-2.1" + }, + "dependency": { + "name": "Remotion.Linq.EagerFetching", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.AppContext", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Buffers", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Collections", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Collections.Concurrent", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "https://github.com/dotnet/corefx/blob/master/LICENSE.TXT", + "url": "" + } + ], + "license": { + "name": "https://github.com/dotnet/corefx/blob/master/LICENSE.TXT" + }, + "dependency": { + "name": "System.Configuration.ConfigurationManager", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Console", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Diagnostics.Debug", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Diagnostics.DiagnosticSource", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Diagnostics.Tools", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Diagnostics.Tracing", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Globalization", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Globalization.Calendars", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Globalization.Extensions", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.IO", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.IO.Compression", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.IO.Compression.ZipFile", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.IO.FileSystem", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.IO.FileSystem.Primitives", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Linq", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Linq.Expressions", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Linq.Queryable", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Net.Http", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Net.Primitives", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Net.Sockets", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.ObjectModel", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Reflection", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Reflection.Emit", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Reflection.Emit.ILGeneration", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Reflection.Emit.Lightweight", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Reflection.Extensions", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Reflection.Primitives", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Reflection.TypeExtensions", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Resources.ResourceManager", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Runtime", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Runtime.Extensions", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Runtime.Handles", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Runtime.InteropServices", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Runtime.InteropServices.RuntimeInformation", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Runtime.Numerics", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Runtime.Serialization.Formatters", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Runtime.Serialization.Primitives", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Security.Cryptography.Algorithms", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Security.Cryptography.Cng", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Security.Cryptography.Csp", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Security.Cryptography.Encoding", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Security.Cryptography.OpenSsl", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Security.Cryptography.Primitives", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "https://github.com/dotnet/corefx/blob/master/LICENSE.TXT", + "url": "" + } + ], + "license": { + "name": "https://github.com/dotnet/corefx/blob/master/LICENSE.TXT" + }, + "dependency": { + "name": "System.Security.Cryptography.ProtectedData", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Security.Cryptography.X509Certificates", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Text.Encoding", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Text.Encoding.Extensions", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Text.RegularExpressions", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Threading", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Threading.Tasks", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Threading.Tasks.Extensions", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Threading.Timer", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Xml.ReaderWriter", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Xml.XDocument", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "unknown", + "url": "" + } + ], + "license": { + "name": "unknown" + }, + "dependency": { + "name": "T4Scaffolding.Core", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "https://licenses.nuget.org/MIT", + "url": "" + } + ], + "license": { + "name": "https://licenses.nuget.org/MIT" + }, + "dependency": { + "name": "jive", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.native.System", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.native.System.IO.Compression", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.native.System.Net.Http", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.native.System.Security.Cryptography.Apple", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.native.System.Security.Cryptography.OpenSsl", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "licenses": [ + { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl", "description": "", "pathes": [ "." diff --git a/test/results/csharp-nuget-dotnetcore-v1.json b/test/results/csharp-nuget-dotnetcore-v1.json index e144278..cf22505 100644 --- a/test/results/csharp-nuget-dotnetcore-v1.json +++ b/test/results/csharp-nuget-dotnetcore-v1.json @@ -1,15 +1,107 @@ { "licenses": [ + { + "count": 76, + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + { + "count": 2, + "name": "https://github.com/dotnet/corefx/blob/master/LICENSE.TXT" + }, + { + "count": 2, + "name": "unknown" + }, + { + "count": 1, + "name": "http://opensource.org/licenses/Apache-2.0" + }, + { + "count": 1, + "name": "http://opensource.org/licenses/LGPL-2.1" + }, + { + "count": 1, + "name": "http://www.apache.org/licenses/LICENSE-2.0" + }, { "count": 1, "name": "http://www.opensource.org/licenses/mit-license.php" }, { "count": 1, - "name": "unknown" + "name": "https://licenses.nuget.org/MIT" + }, + { + "count": 1, + "name": "https://raw.githubusercontent.com/antlr/antlrcs/master/LICENSE.txt" + }, + { + "count": 1, + "name": "https://raw.githubusercontent.com/nhibernate/nhibernate-core/master/LICENSE.txt" } ], "dependencies": [ + { + "license": { + "name": "https://raw.githubusercontent.com/antlr/antlrcs/master/LICENSE.txt" + }, + "dependency": { + "name": "Antlr3.Runtime", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "unknown" + }, + "dependency": { + "name": "Iesi.Collections", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "Microsoft.NETCore.Platforms", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "Microsoft.NETCore.Targets", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "Microsoft.Win32.Primitives", + "description": "", + "pathes": [ + "." + ] + } + }, { "license": { "name": "http://www.opensource.org/licenses/mit-license.php" @@ -24,10 +116,970 @@ }, { "license": { - "name": "unknown" + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" }, "dependency": { - "name": "T4Scaffolding.Core", + "name": "NETStandard.Library", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "https://raw.githubusercontent.com/nhibernate/nhibernate-core/master/LICENSE.txt" + }, + "dependency": { + "name": "NHibernate", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://www.apache.org/licenses/LICENSE-2.0" + }, + "dependency": { + "name": "NodaTime", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://opensource.org/licenses/Apache-2.0" + }, + "dependency": { + "name": "Remotion.Linq", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://opensource.org/licenses/LGPL-2.1" + }, + "dependency": { + "name": "Remotion.Linq.EagerFetching", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.AppContext", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Buffers", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Collections", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Collections.Concurrent", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "https://github.com/dotnet/corefx/blob/master/LICENSE.TXT" + }, + "dependency": { + "name": "System.Configuration.ConfigurationManager", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Console", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Diagnostics.Debug", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Diagnostics.DiagnosticSource", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Diagnostics.Tools", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Diagnostics.Tracing", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Globalization", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Globalization.Calendars", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Globalization.Extensions", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.IO", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.IO.Compression", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.IO.Compression.ZipFile", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.IO.FileSystem", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.IO.FileSystem.Primitives", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Linq", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Linq.Expressions", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Linq.Queryable", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Net.Http", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Net.Primitives", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Net.Sockets", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.ObjectModel", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Reflection", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Reflection.Emit", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Reflection.Emit.ILGeneration", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Reflection.Emit.Lightweight", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Reflection.Extensions", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Reflection.Primitives", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Reflection.TypeExtensions", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Resources.ResourceManager", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Runtime", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Runtime.Extensions", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Runtime.Handles", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Runtime.InteropServices", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Runtime.InteropServices.RuntimeInformation", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Runtime.Numerics", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Runtime.Serialization.Formatters", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Runtime.Serialization.Primitives", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Security.Cryptography.Algorithms", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Security.Cryptography.Cng", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Security.Cryptography.Csp", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Security.Cryptography.Encoding", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Security.Cryptography.OpenSsl", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Security.Cryptography.Primitives", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "https://github.com/dotnet/corefx/blob/master/LICENSE.TXT" + }, + "dependency": { + "name": "System.Security.Cryptography.ProtectedData", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Security.Cryptography.X509Certificates", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Text.Encoding", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Text.Encoding.Extensions", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Text.RegularExpressions", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Threading", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Threading.Tasks", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Threading.Tasks.Extensions", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Threading.Timer", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Xml.ReaderWriter", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "System.Xml.XDocument", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "unknown" + }, + "dependency": { + "name": "T4Scaffolding.Core", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "https://licenses.nuget.org/MIT" + }, + "dependency": { + "name": "jive", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.native.System", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.native.System.IO.Compression", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.native.System.Net.Http", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.native.System.Security.Cryptography.Apple", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.native.System.Security.Cryptography.OpenSsl", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "name": "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl", "description": "", "pathes": [ "." diff --git a/test/results/csharp-nuget-dotnetcore-v2.json b/test/results/csharp-nuget-dotnetcore-v2.json index a0e316c..d966adf 100644 --- a/test/results/csharp-nuget-dotnetcore-v2.json +++ b/test/results/csharp-nuget-dotnetcore-v2.json @@ -1,20 +1,111 @@ { "version": "2.0", "licenses": [ + { + "id": "unknown", + "name": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "", + "count": 76 + }, + { + "id": "Apache-2.0", + "name": "Apache License 2.0", + "url": "https://opensource.org/licenses/Apache-2.0", + "count": 2 + }, { "id": "MIT", "name": "MIT License", "url": "https://opensource.org/licenses/MIT", - "count": 1 + "count": 2 + }, + { + "id": "unknown", + "name": "https://github.com/dotnet/corefx/blob/master/LICENSE.TXT", + "url": "", + "count": 2 }, { "id": "unknown", "name": "unknown", "url": "", + "count": 2 + }, + { + "id": "LGPL-2.1", + "name": "GNU Lesser General Public License v2.1 only", + "url": "https://opensource.org/licenses/LGPL-2.1", + "count": 1 + }, + { + "id": "unknown", + "name": "https://raw.githubusercontent.com/antlr/antlrcs/master/LICENSE.txt", + "url": "", + "count": 1 + }, + { + "id": "unknown", + "name": "https://raw.githubusercontent.com/nhibernate/nhibernate-core/master/LICENSE.txt", + "url": "", "count": 1 } ], "dependencies": [ + { + "name": "Antlr3.Runtime", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "Iesi.Collections", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "Microsoft.NETCore.Platforms", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "Microsoft.NETCore.Targets", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "Microsoft.Win32.Primitives", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, { "name": "MvcMailer", "url": "", @@ -27,7 +118,887 @@ ] }, { - "name": "T4Scaffolding.Core", + "name": "NETStandard.Library", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "NHibernate", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "NodaTime", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "Apache-2.0" + ] + }, + { + "name": "Remotion.Linq", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "Apache-2.0" + ] + }, + { + "name": "Remotion.Linq.EagerFetching", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "LGPL-2.1" + ] + }, + { + "name": "System.AppContext", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Buffers", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Collections", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Collections.Concurrent", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Configuration.ConfigurationManager", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Console", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Diagnostics.Debug", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Diagnostics.DiagnosticSource", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Diagnostics.Tools", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Diagnostics.Tracing", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Globalization", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Globalization.Calendars", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Globalization.Extensions", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.IO", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.IO.Compression", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.IO.Compression.ZipFile", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.IO.FileSystem", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.IO.FileSystem.Primitives", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Linq", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Linq.Expressions", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Linq.Queryable", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Net.Http", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Net.Primitives", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Net.Sockets", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.ObjectModel", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Reflection", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Reflection.Emit", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Reflection.Emit.ILGeneration", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Reflection.Emit.Lightweight", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Reflection.Extensions", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Reflection.Primitives", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Reflection.TypeExtensions", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Resources.ResourceManager", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Runtime", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Runtime.Extensions", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Runtime.Handles", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Runtime.InteropServices", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Runtime.InteropServices.RuntimeInformation", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Runtime.Numerics", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Runtime.Serialization.Formatters", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Runtime.Serialization.Primitives", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Security.Cryptography.Algorithms", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Security.Cryptography.Cng", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Security.Cryptography.Csp", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Security.Cryptography.Encoding", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Security.Cryptography.OpenSsl", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Security.Cryptography.Primitives", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Security.Cryptography.ProtectedData", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Security.Cryptography.X509Certificates", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Text.Encoding", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Text.Encoding.Extensions", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Text.RegularExpressions", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Threading", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Threading.Tasks", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Threading.Tasks.Extensions", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Threading.Timer", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Xml.ReaderWriter", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "System.Xml.XDocument", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "T4Scaffolding.Core", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "jive", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "MIT" + ] + }, + { + "name": "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "runtime.native.System", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "runtime.native.System.IO.Compression", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "runtime.native.System.Net.Http", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "runtime.native.System.Security.Cryptography.Apple", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "runtime.native.System.Security.Cryptography.OpenSsl", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl", "url": "", "description": "", "paths": [ -- cgit v1.2.3 From 9038552abe7c4b0ebca9795121f9d48564492b3c Mon Sep 17 00:00:00 2001 From: mo khan Date: Tue, 22 Oct 2019 16:24:18 -0600 Subject: Parse spdx id from known sources --- Gemfile.lock | 2 +- lib/license/management/repository.rb | 20 +++++++++++++++++--- normalized-licenses.yml | 5 +---- spec/license/management/repository_spec.rb | 27 +++++++++++++++++++++++++++ 4 files changed, 46 insertions(+), 8 deletions(-) create mode 100644 spec/license/management/repository_spec.rb diff --git a/Gemfile.lock b/Gemfile.lock index 9f6acfe..4459fda 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - license-management (1.7.0) + license-management (1.7.3) license_finder (= 5.6.2) GEM diff --git a/lib/license/management/repository.rb b/lib/license/management/repository.rb index 0c428dd..fdff30d 100644 --- a/lib/license/management/repository.rb +++ b/lib/license/management/repository.rb @@ -25,6 +25,8 @@ module License attr_reader :spdx_data, :compatibility_data def spdx_data_for(id) + return if blank?(id) + data = spdx_data[id] if data { @@ -40,7 +42,7 @@ module License def id_for(license) ids = compatibility_data['ids'] - ids[license.send(:short_name)] || ids[license.url] + ids[license.send(:short_name)] || ids[license.url] || known_sources(license.url) end # When `license_finder` is unable to determine the license it will use the full @@ -54,9 +56,10 @@ module License def generate_item_for(license) log_info("detected unknown license named `#{license.send(:short_name)}`") + name = take_first_line_from(license.name) { - 'id' => 'unknown', - 'name' => take_first_line_from(license.name), + 'id' => name.downcase, + 'name' => name, 'url' => present?(license.url) ? license.url : '' } end @@ -71,6 +74,17 @@ module License memo end end + + def known_sources(url) + return unless url =~ /\A#{::URI::DEFAULT_PARSER.make_regexp(['http', 'https'])}\z/ + + uri = URI.parse(url) + return unless ['opensource.org', 'licenses.nuget.org'].include?(uri.host) + + uri.path.split('/')[-1] + rescue + nil + end end end end diff --git a/normalized-licenses.yml b/normalized-licenses.yml index 8b7640f..3fbef8d 100644 --- a/normalized-licenses.yml +++ b/normalized-licenses.yml @@ -7,14 +7,11 @@ ids: BSD: BSD-4-Clause CC0 1.0 Universal: CC0-1.0 CC01: CC0-1.0 + Common Public License Version 1.0: CPL-1.0 EPL1: EPL-1.0 GPLv2: GPL-2.0 GPLv3: GPL-3.0 - http://opensource.org/licenses/Apache-2.0: Apache-2.0 - http://opensource.org/licenses/LGPL-2.1: LGPL-2.1 - https://licenses.nuget.org/MIT: MIT http://www.apache.org/licenses/LICENSE-2.0: Apache-2.0 - http://www.opensource.org/licenses/mit-license.php: MIT ISC: ISC LGPL 2.1: LGPL-2.1 LGPL2_1: LGPL-2.1 diff --git a/spec/license/management/repository_spec.rb b/spec/license/management/repository_spec.rb new file mode 100644 index 0000000..dbc0a22 --- /dev/null +++ b/spec/license/management/repository_spec.rb @@ -0,0 +1,27 @@ +RSpec.describe License::Management::Repository do + describe "#item_for" do + let(:spdx_licenses) { JSON.parse(IO.read('spdx-licenses.json'))['licenses'] } + + context "when mapping a license that refers to opensource.org" do + it 'parses the SPDX id from the url' do + spdx_licenses.each do |license| + spdx_id = license['licenseId'] + url = "https://opensource.org/licenses/#{spdx_id}" + license = LicenseFinder::License.new(short_name: url, matcher: LicenseFinder::License::NoneMatcher.new, url: url) + expect(subject.item_for(license)['id']).to eql(spdx_id) + end + end + end + + context "when mapping a license that refers to nuget.org" do + it 'parses the SPDX id from the url' do + spdx_licenses.each do |license| + spdx_id = license['licenseId'] + url = "https://licenses.nuget.org/#{spdx_id}" + license = LicenseFinder::License.new(short_name: url, matcher: LicenseFinder::License::NoneMatcher.new, url: url) + expect(subject.item_for(license)['id']).to eql(spdx_id) + end + end + end + end +end -- cgit v1.2.3 From 4551c356c5975da9fc86c204f4aac4dee969feb9 Mon Sep 17 00:00:00 2001 From: mo khan Date: Tue, 22 Oct 2019 17:10:03 -0600 Subject: Extract spdx id from known source urls --- lib/license/management/repository.rb | 22 ++-- normalized-licenses.yml | 2 +- test/results/csharp-nuget-dotnetcore-v2.json | 188 ++++++++++++++------------- test/results/java-maven-v2.json | 28 ++-- test/results/js-yarn-v2.json | 70 +++++----- test/results/python-pip-v2.json | 8 +- test/results/python3-pip-v2.json | 8 +- 7 files changed, 169 insertions(+), 157 deletions(-) diff --git a/lib/license/management/repository.rb b/lib/license/management/repository.rb index fdff30d..ed2519f 100644 --- a/lib/license/management/repository.rb +++ b/lib/license/management/repository.rb @@ -5,6 +5,11 @@ module License class Repository include Loggable include Verifiable + KNOWN_SOURCES = [ + 'licenses.nuget.org', + 'opensource.org', + 'www.opensource.org', + ].freeze def initialize( compatibility_path: License::Management.root.join('normalized-licenses.yml'), @@ -34,15 +39,15 @@ module License 'name' => data['name'], 'url' => data['seeAlso'][-1] } - else - log_info("Could not find license `#{id}` in SPDX") - nil end end def id_for(license) ids = compatibility_data['ids'] - ids[license.send(:short_name)] || ids[license.url] || known_sources(license.url) + ids[license.send(:short_name)] || + ids[license.url] || + known_sources(license.send(:short_name)) || + known_sources(license.url) end # When `license_finder` is unable to determine the license it will use the full @@ -55,7 +60,7 @@ module License end def generate_item_for(license) - log_info("detected unknown license named `#{license.send(:short_name)}`") + log_info("detected unknown license named `#{license.send(:short_name)}`:`#{license.url}`") name = take_first_line_from(license.name) { 'id' => name.downcase, @@ -76,13 +81,14 @@ module License end def known_sources(url) + return if blank?(url) return unless url =~ /\A#{::URI::DEFAULT_PARSER.make_regexp(['http', 'https'])}\z/ uri = URI.parse(url) - return unless ['opensource.org', 'licenses.nuget.org'].include?(uri.host) - + return unless KNOWN_SOURCES.include?(uri.host.downcase) uri.path.split('/')[-1] - rescue + rescue => error + log_info(error) nil end end diff --git a/normalized-licenses.yml b/normalized-licenses.yml index 3fbef8d..0c8635d 100644 --- a/normalized-licenses.yml +++ b/normalized-licenses.yml @@ -5,6 +5,7 @@ ids: Apache2: Apache-2.0 ASL, version 2: Apache-2.0 BSD: BSD-4-Clause + BSD style: BSD-3-Clause CC0 1.0 Universal: CC0-1.0 CC01: CC0-1.0 Common Public License Version 1.0: CPL-1.0 @@ -31,4 +32,3 @@ ids: ruby: Ruby Simplified BSD: BSD-2-Clause SimplifiedBSD: BSD-2-Clause - unknown: unknown diff --git a/test/results/csharp-nuget-dotnetcore-v2.json b/test/results/csharp-nuget-dotnetcore-v2.json index d966adf..e2bcf1b 100644 --- a/test/results/csharp-nuget-dotnetcore-v2.json +++ b/test/results/csharp-nuget-dotnetcore-v2.json @@ -2,7 +2,7 @@ "version": "2.0", "licenses": [ { - "id": "unknown", + "id": "http://go.microsoft.com/fwlink/?linkid=329770", "name": "http://go.microsoft.com/fwlink/?LinkId=329770", "url": "", "count": 76 @@ -14,13 +14,7 @@ "count": 2 }, { - "id": "MIT", - "name": "MIT License", - "url": "https://opensource.org/licenses/MIT", - "count": 2 - }, - { - "id": "unknown", + "id": "https://github.com/dotnet/corefx/blob/master/license.txt", "name": "https://github.com/dotnet/corefx/blob/master/LICENSE.TXT", "url": "", "count": 2 @@ -38,13 +32,25 @@ "count": 1 }, { - "id": "unknown", + "id": "MIT", + "name": "MIT License", + "url": "https://opensource.org/licenses/MIT", + "count": 1 + }, + { + "id": "http://www.opensource.org/licenses/mit-license.php", + "name": "http://www.opensource.org/licenses/mit-license.php", + "url": "", + "count": 1 + }, + { + "id": "https://raw.githubusercontent.com/antlr/antlrcs/master/license.txt", "name": "https://raw.githubusercontent.com/antlr/antlrcs/master/LICENSE.txt", "url": "", "count": 1 }, { - "id": "unknown", + "id": "https://raw.githubusercontent.com/nhibernate/nhibernate-core/master/license.txt", "name": "https://raw.githubusercontent.com/nhibernate/nhibernate-core/master/LICENSE.txt", "url": "", "count": 1 @@ -59,7 +65,7 @@ "." ], "licenses": [ - "unknown" + "https://raw.githubusercontent.com/antlr/antlrcs/master/license.txt" ] }, { @@ -81,7 +87,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -92,7 +98,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -103,7 +109,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -114,7 +120,7 @@ "." ], "licenses": [ - "MIT" + "http://www.opensource.org/licenses/mit-license.php" ] }, { @@ -125,7 +131,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -136,7 +142,7 @@ "." ], "licenses": [ - "unknown" + "https://raw.githubusercontent.com/nhibernate/nhibernate-core/master/license.txt" ] }, { @@ -180,7 +186,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -191,7 +197,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -202,7 +208,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -213,7 +219,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -224,7 +230,7 @@ "." ], "licenses": [ - "unknown" + "https://github.com/dotnet/corefx/blob/master/license.txt" ] }, { @@ -235,7 +241,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -246,7 +252,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -257,7 +263,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -268,7 +274,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -279,7 +285,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -290,7 +296,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -301,7 +307,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -312,7 +318,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -323,7 +329,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -334,7 +340,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -345,7 +351,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -356,7 +362,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -367,7 +373,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -378,7 +384,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -389,7 +395,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -400,7 +406,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -411,7 +417,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -422,7 +428,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -433,7 +439,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -444,7 +450,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -455,7 +461,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -466,7 +472,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -477,7 +483,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -488,7 +494,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -499,7 +505,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -510,7 +516,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -521,7 +527,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -532,7 +538,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -543,7 +549,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -554,7 +560,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -565,7 +571,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -576,7 +582,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -587,7 +593,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -598,7 +604,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -609,7 +615,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -620,7 +626,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -631,7 +637,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -642,7 +648,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -653,7 +659,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -664,7 +670,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -675,7 +681,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -686,7 +692,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -697,7 +703,7 @@ "." ], "licenses": [ - "unknown" + "https://github.com/dotnet/corefx/blob/master/license.txt" ] }, { @@ -708,7 +714,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -719,7 +725,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -730,7 +736,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -741,7 +747,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -752,7 +758,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -763,7 +769,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -774,7 +780,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -785,7 +791,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -796,7 +802,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -807,7 +813,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -840,7 +846,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -851,7 +857,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -862,7 +868,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -873,7 +879,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -884,7 +890,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -895,7 +901,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -906,7 +912,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -917,7 +923,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -928,7 +934,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -939,7 +945,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -950,7 +956,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -961,7 +967,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -972,7 +978,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -983,7 +989,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -994,7 +1000,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] }, { @@ -1005,7 +1011,7 @@ "." ], "licenses": [ - "unknown" + "http://go.microsoft.com/fwlink/?linkid=329770" ] } ] diff --git a/test/results/java-maven-v2.json b/test/results/java-maven-v2.json index 1585f84..5875bc4 100644 --- a/test/results/java-maven-v2.json +++ b/test/results/java-maven-v2.json @@ -14,7 +14,7 @@ "count": 3 }, { - "id": "unknown", + "id": "cddl + gplv2 with classpath exception", "name": "CDDL + GPLv2 with classpath exception", "url": "", "count": 2 @@ -26,21 +26,21 @@ "count": 2 }, { - "id": "BSD-4-Clause", - "name": "BSD 4-Clause \"Original\" or \"Old\" License", - "url": "http://directory.fsf.org/wiki/License:BSD_4Clause", + "id": "BSD-3-Clause", + "name": "BSD 3-Clause \"New\" or \"Revised\" License", + "url": "https://opensource.org/licenses/BSD-3-Clause", "count": 1 }, { - "id": "unknown", - "name": "BSD style", - "url": "", + "id": "BSD-4-Clause", + "name": "BSD 4-Clause \"Original\" or \"Old\" License", + "url": "http://directory.fsf.org/wiki/License:BSD_4Clause", "count": 1 }, { - "id": "unknown", - "name": "Common Public License Version 1.0", - "url": "", + "id": "CPL-1.0", + "name": "Common Public License 1.0", + "url": "https://opensource.org/licenses/CPL-1.0", "count": 1 }, { @@ -175,7 +175,7 @@ "." ], "licenses": [ - "unknown" + "BSD-3-Clause" ] }, { @@ -232,7 +232,7 @@ "." ], "licenses": [ - "unknown" + "cddl + gplv2 with classpath exception" ] }, { @@ -243,7 +243,7 @@ "." ], "licenses": [ - "unknown" + "cddl + gplv2 with classpath exception" ] }, { @@ -288,7 +288,7 @@ "." ], "licenses": [ - "unknown" + "CPL-1.0" ] }, { diff --git a/test/results/js-yarn-v2.json b/test/results/js-yarn-v2.json index cb84e4a..63eb358 100644 --- a/test/results/js-yarn-v2.json +++ b/test/results/js-yarn-v2.json @@ -38,19 +38,19 @@ "count": 22 }, { - "id": "unknown", + "id": "mit*", "name": "MIT*", "url": "", "count": 4 }, { - "id": "unknown", + "id": "apache*", "name": "Apache*", "url": "", "count": 3 }, { - "id": "unknown", + "id": "(wtfpl or mit)", "name": "(WTFPL OR MIT)", "url": "", "count": 2 @@ -68,7 +68,7 @@ "count": 2 }, { - "id": "unknown", + "id": "see license in license", "name": "SEE LICENSE IN LICENSE", "url": "", "count": 2 @@ -86,49 +86,49 @@ "count": 2 }, { - "id": "unknown", + "id": "(bsd-2-clause or mit or apache-2.0)", "name": "(BSD-2-Clause OR MIT OR Apache-2.0)", "url": "", "count": 1 }, { - "id": "unknown", + "id": "(gpl-2.0 or mit)", "name": "(GPL-2.0 OR MIT)", "url": "", "count": 1 }, { - "id": "unknown", + "id": "(mit and bsd-3-clause)", "name": "(MIT AND BSD-3-Clause)", "url": "", "count": 1 }, { - "id": "unknown", + "id": "(mit and zlib)", "name": "(MIT AND Zlib)", "url": "", "count": 1 }, { - "id": "unknown", + "id": "(mit or apache-2.0)", "name": "(MIT OR Apache-2.0)", "url": "", "count": 1 }, { - "id": "unknown", + "id": "(mit or cc0-1.0)", "name": "(MIT OR CC0-1.0)", "url": "", "count": 1 }, { - "id": "unknown", + "id": "bsd*", "name": "BSD*", "url": "", "count": 1 }, { - "id": "unknown", + "id": "bsd-3-clause or mit", "name": "BSD-3-Clause OR MIT", "url": "", "count": 1 @@ -146,7 +146,7 @@ "count": 1 }, { - "id": "unknown", + "id": "lil", "name": "LIL", "url": "", "count": 1 @@ -158,7 +158,7 @@ "count": 1 }, { - "id": "unknown", + "id": "public domain", "name": "Public Domain", "url": "", "count": 1 @@ -1092,7 +1092,7 @@ "." ], "licenses": [ - "unknown" + "lil" ] }, { @@ -1851,7 +1851,7 @@ "." ], "licenses": [ - "unknown" + "bsd-3-clause or mit" ] }, { @@ -2269,7 +2269,7 @@ "." ], "licenses": [ - "unknown" + "mit*" ] }, { @@ -2379,7 +2379,7 @@ "." ], "licenses": [ - "unknown" + "(mit or apache-2.0)" ] }, { @@ -2423,7 +2423,7 @@ "." ], "licenses": [ - "unknown" + "apache*" ] }, { @@ -4612,7 +4612,7 @@ "." ], "licenses": [ - "unknown" + "mit*" ] }, { @@ -6284,7 +6284,7 @@ "." ], "licenses": [ - "unknown" + "apache*" ] }, { @@ -7054,7 +7054,7 @@ "." ], "licenses": [ - "unknown" + "see license in license" ] }, { @@ -7439,7 +7439,7 @@ "." ], "licenses": [ - "unknown" + "mit*" ] }, { @@ -8484,7 +8484,7 @@ "." ], "licenses": [ - "unknown" + "bsd*" ] }, { @@ -8616,7 +8616,7 @@ "." ], "licenses": [ - "unknown" + "public domain" ] }, { @@ -10200,7 +10200,7 @@ "." ], "licenses": [ - "unknown" + "apache*" ] }, { @@ -10354,7 +10354,7 @@ "." ], "licenses": [ - "unknown" + "(wtfpl or mit)" ] }, { @@ -10541,7 +10541,7 @@ "." ], "licenses": [ - "unknown" + "(mit and zlib)" ] }, { @@ -10750,7 +10750,7 @@ "." ], "licenses": [ - "unknown" + "(wtfpl or mit)" ] }, { @@ -12422,7 +12422,7 @@ "." ], "licenses": [ - "unknown" + "see license in license" ] }, { @@ -12543,7 +12543,7 @@ "." ], "licenses": [ - "unknown" + "(bsd-2-clause or mit or apache-2.0)" ] }, { @@ -13434,7 +13434,7 @@ "." ], "licenses": [ - "unknown" + "(mit and bsd-3-clause)" ] }, { @@ -13786,7 +13786,7 @@ "." ], "licenses": [ - "unknown" + "mit*" ] }, { @@ -14765,7 +14765,7 @@ "." ], "licenses": [ - "unknown" + "(mit or cc0-1.0)" ] }, { @@ -14798,7 +14798,7 @@ "." ], "licenses": [ - "unknown" + "(gpl-2.0 or mit)" ] }, { diff --git a/test/results/python-pip-v2.json b/test/results/python-pip-v2.json index a3bbb94..1e675ff 100644 --- a/test/results/python-pip-v2.json +++ b/test/results/python-pip-v2.json @@ -20,7 +20,7 @@ "count": 1 }, { - "id": "unknown", + "id": "copyright (c) 2015, julien fache", "name": "Copyright (c) 2015, Julien Fache", "url": "", "count": 1 @@ -32,7 +32,7 @@ "count": 1 }, { - "id": "unknown", + "id": "standard pil license", "name": "Standard PIL License", "url": "", "count": 1 @@ -58,7 +58,7 @@ "." ], "licenses": [ - "unknown" + "standard pil license" ] }, { @@ -135,7 +135,7 @@ "." ], "licenses": [ - "unknown" + "copyright (c) 2015, julien fache" ] }, { diff --git a/test/results/python3-pip-v2.json b/test/results/python3-pip-v2.json index dc965d0..5d885ee 100644 --- a/test/results/python3-pip-v2.json +++ b/test/results/python3-pip-v2.json @@ -26,7 +26,7 @@ "count": 1 }, { - "id": "unknown", + "id": "copyright (c) 2015, julien fache", "name": "Copyright (c) 2015, Julien Fache", "url": "", "count": 1 @@ -38,7 +38,7 @@ "count": 1 }, { - "id": "unknown", + "id": "standard pil license", "name": "Standard PIL License", "url": "", "count": 1 @@ -64,7 +64,7 @@ "." ], "licenses": [ - "unknown" + "standard pil license" ] }, { @@ -141,7 +141,7 @@ "." ], "licenses": [ - "unknown" + "copyright (c) 2015, julien fache" ] }, { -- cgit v1.2.3 From 6ab1015d4fb2b0fead72c0730fdbca8b658e5232 Mon Sep 17 00:00:00 2001 From: mo khan Date: Tue, 22 Oct 2019 17:11:17 -0600 Subject: Remove FEATURE_RUBY_REPORT --- .gitlab-ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d78389b..63e119c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -174,14 +174,12 @@ QA:dotnet: QA:dotnet-v1-1: extends: QA:dotnet variables: - FEATURE_RUBY_REPORT: 'true' LM_REPORT_VERSION: '1.1' QA_RESULTS: csharp-nuget-dotnetcore-v1.1 QA:dotnet-v2: extends: QA:dotnet variables: - FEATURE_RUBY_REPORT: 'true' LM_REPORT_VERSION: 2 QA_RESULTS: csharp-nuget-dotnetcore-v2 -- cgit v1.2.3 From 91701360f45f72314c72323a79201d28062f0b22 Mon Sep 17 00:00:00 2001 From: mo khan Date: Wed, 23 Oct 2019 11:14:00 -0600 Subject: Apply reviewer feedback --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab507a5..9b357e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ ## v1.7.4 - Install [.NET Core 2.2, 3.0](https://github.com/pivotal/LicenseFinder/pull/632) so that we can install packages for .NET Core 2.2, 3.0 projects. +- Parse SPDX identifier from license URL sourced from `licenses.nuget.org` and `opensource.org`. +- Use lower case license name as identifier for unknown licenses to remove ambiguity. ## v1.7.3 -- cgit v1.2.3 From cdfa8116a4c7d0c7659ed98aee289b489646c658 Mon Sep 17 00:00:00 2001 From: mo khan Date: Wed, 23 Oct 2019 11:24:24 -0600 Subject: Update version to match changelog --- lib/license/management/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/license/management/version.rb b/lib/license/management/version.rb index 9791b68..8161098 100644 --- a/lib/license/management/version.rb +++ b/lib/license/management/version.rb @@ -2,6 +2,6 @@ module License module Management - VERSION = '1.7.3' + VERSION = '1.7.4' end end -- cgit v1.2.3