diff options
| author | Tetiana Chupryna <tchupryna@gitlab.com> | 2019-10-24 13:38:32 +0000 |
|---|---|---|
| committer | Tetiana Chupryna <tchupryna@gitlab.com> | 2019-10-24 13:38:32 +0000 |
| commit | ed6d15ee8d8167f94b7ca03f26526c7ab29aab02 (patch) | |
| tree | 04fe5855bbd079a399f8fc2ccdf148c54bf1b024 | |
| parent | 1fd208bf51631029e89daf88600fdd62224c7207 (diff) | |
| parent | cdfa8116a4c7d0c7659ed98aee289b489646c658 (diff) | |
Merge branch '12651-dotnet-2.2+3.0' into 'master'v1.7.4
Install .NET Core 2.2 and .NET Core 3.0
See merge request gitlab-org/security-products/license-management!70
| -rw-r--r-- | .gitlab-ci.yml | 18 | ||||
| -rw-r--r-- | CHANGELOG.md | 6 | ||||
| -rw-r--r-- | Dockerfile | 3 | ||||
| -rw-r--r-- | Gemfile.lock | 2 | ||||
| -rwxr-xr-x | bin/test_all | 1 | ||||
| -rw-r--r-- | lib/license/management/repository.rb | 34 | ||||
| -rw-r--r-- | lib/license/management/version.rb | 2 | ||||
| -rw-r--r-- | normalized-licenses.yml | 3 | ||||
| -rw-r--r-- | spec/license/management/repository_spec.rb | 27 | ||||
| -rw-r--r-- | test/results/csharp-nuget-dotnetcore-v1.1.json | 1613 | ||||
| -rw-r--r-- | test/results/csharp-nuget-dotnetcore-v1.json | 1090 | ||||
| -rw-r--r-- | test/results/csharp-nuget-dotnetcore-v2.json | 1018 | ||||
| -rw-r--r-- | test/results/java-maven-v2.json | 28 | ||||
| -rw-r--r-- | test/results/js-yarn-v2.json | 70 | ||||
| -rw-r--r-- | test/results/python-pip-v2.json | 8 | ||||
| -rw-r--r-- | test/results/python3-pip-v2.json | 8 |
16 files changed, 3863 insertions, 68 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4432ad6..63e119c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -165,6 +165,24 @@ 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: + LM_REPORT_VERSION: '1.1' + QA_RESULTS: csharp-nuget-dotnetcore-v1.1 + +QA:dotnet-v2: + extends: QA:dotnet + variables: + 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..9b357e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # 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. +- 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 - Update SPDX.org catalogue from version `3.6` to `3.7`. @@ -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/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/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/repository.rb b/lib/license/management/repository.rb index 0c428dd..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'), @@ -25,6 +30,8 @@ module License attr_reader :spdx_data, :compatibility_data def spdx_data_for(id) + return if blank?(id) + data = spdx_data[id] if data { @@ -32,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] + 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 @@ -53,10 +60,11 @@ 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' => 'unknown', - 'name' => take_first_line_from(license.name), + 'id' => name.downcase, + 'name' => name, 'url' => present?(license.url) ? license.url : '' } end @@ -71,6 +79,18 @@ module License memo end 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 KNOWN_SOURCES.include?(uri.host.downcase) + uri.path.split('/')[-1] + rescue => error + log_info(error) + nil + end end end end diff --git a/lib/license/management/version.rb b/lib/license/management/version.rb index b61aa01..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.2' + VERSION = '1.7.4' end end diff --git a/normalized-licenses.yml b/normalized-licenses.yml index 3bfed18..0c8635d 100644 --- a/normalized-licenses.yml +++ b/normalized-licenses.yml @@ -5,8 +5,10 @@ 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 EPL1: EPL-1.0 GPLv2: GPL-2.0 GPLv3: GPL-3.0 @@ -30,4 +32,3 @@ ids: ruby: Ruby Simplified BSD: BSD-2-Clause SimplifiedBSD: BSD-2-Clause - unknown: unknown 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 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..9ead717 --- /dev/null +++ b/test/results/csharp-nuget-dotnetcore-v1.1.json @@ -0,0 +1,1613 @@ +{ + "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": "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": [ + { + "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": "http://go.microsoft.com/fwlink/?LinkId=329770", + "url": "" + } + ], + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "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 new file mode 100644 index 0000000..cf22505 --- /dev/null +++ b/test/results/csharp-nuget-dotnetcore-v1.json @@ -0,0 +1,1090 @@ +{ + "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": "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" + }, + "dependency": { + "name": "MvcMailer", + "description": "", + "pathes": [ + "." + ] + } + }, + { + "license": { + "name": "http://go.microsoft.com/fwlink/?LinkId=329770" + }, + "dependency": { + "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 new file mode 100644 index 0000000..e2bcf1b --- /dev/null +++ b/test/results/csharp-nuget-dotnetcore-v2.json @@ -0,0 +1,1018 @@ +{ + "version": "2.0", + "licenses": [ + { + "id": "http://go.microsoft.com/fwlink/?linkid=329770", + "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": "https://github.com/dotnet/corefx/blob/master/license.txt", + "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": "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": "https://raw.githubusercontent.com/nhibernate/nhibernate-core/master/license.txt", + "name": "https://raw.githubusercontent.com/nhibernate/nhibernate-core/master/LICENSE.txt", + "url": "", + "count": 1 + } + ], + "dependencies": [ + { + "name": "Antlr3.Runtime", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "https://raw.githubusercontent.com/antlr/antlrcs/master/license.txt" + ] + }, + { + "name": "Iesi.Collections", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "unknown" + ] + }, + { + "name": "Microsoft.NETCore.Platforms", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "Microsoft.NETCore.Targets", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "Microsoft.Win32.Primitives", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "MvcMailer", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://www.opensource.org/licenses/mit-license.php" + ] + }, + { + "name": "NETStandard.Library", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "NHibernate", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "https://raw.githubusercontent.com/nhibernate/nhibernate-core/master/license.txt" + ] + }, + { + "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": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Buffers", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Collections", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Collections.Concurrent", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Configuration.ConfigurationManager", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "https://github.com/dotnet/corefx/blob/master/license.txt" + ] + }, + { + "name": "System.Console", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Diagnostics.Debug", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Diagnostics.DiagnosticSource", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Diagnostics.Tools", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Diagnostics.Tracing", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Globalization", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Globalization.Calendars", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Globalization.Extensions", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.IO", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.IO.Compression", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.IO.Compression.ZipFile", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.IO.FileSystem", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.IO.FileSystem.Primitives", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Linq", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Linq.Expressions", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Linq.Queryable", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Net.Http", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Net.Primitives", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Net.Sockets", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.ObjectModel", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Reflection", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Reflection.Emit", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Reflection.Emit.ILGeneration", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Reflection.Emit.Lightweight", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Reflection.Extensions", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Reflection.Primitives", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Reflection.TypeExtensions", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Resources.ResourceManager", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Runtime", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Runtime.Extensions", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Runtime.Handles", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Runtime.InteropServices", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Runtime.InteropServices.RuntimeInformation", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Runtime.Numerics", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Runtime.Serialization.Formatters", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Runtime.Serialization.Primitives", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Security.Cryptography.Algorithms", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Security.Cryptography.Cng", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Security.Cryptography.Csp", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Security.Cryptography.Encoding", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Security.Cryptography.OpenSsl", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Security.Cryptography.Primitives", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Security.Cryptography.ProtectedData", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "https://github.com/dotnet/corefx/blob/master/license.txt" + ] + }, + { + "name": "System.Security.Cryptography.X509Certificates", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Text.Encoding", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Text.Encoding.Extensions", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Text.RegularExpressions", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Threading", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Threading.Tasks", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Threading.Tasks.Extensions", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Threading.Timer", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Xml.ReaderWriter", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "System.Xml.XDocument", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "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": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "runtime.native.System", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "runtime.native.System.IO.Compression", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "runtime.native.System.Net.Http", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "runtime.native.System.Security.Cryptography.Apple", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "runtime.native.System.Security.Cryptography.OpenSsl", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "http://go.microsoft.com/fwlink/?linkid=329770" + ] + }, + { + "name": "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "url": "", + "description": "", + "paths": [ + "." + ], + "licenses": [ + "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" ] }, { |
