forked from CycloneDX/cdxgen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved fetch license for nuget (CycloneDX#739)
* Improve fetch license for nuget Signed-off-by: Nikemare <bernhard.schleicher@outlook.com> * Fixing issues checking license status Signed-off-by: Nikemare <bernhard.schleicher@outlook.com> * Fixed type check Signed-off-by: Nikemare <bernhard.schleicher@outlook.com> * Providing https instead of http Signed-off-by: Nikemare <bernhard.schleicher@outlook.com> * Code formatting Signed-off-by: Nikemare <bernhard.schleicher@outlook.com> * Added fetch_license test for dotnet-paket Signed-off-by: Nikemare <bernhard.schleicher@outlook.com> * Refactored & improved nuget license resolving Signed-off-by: Nikemare <bernhard.schleicher@outlook.com> * Fixed bug in getRepoLicense Signed-off-by: Nikemare <bernhard.schleicher@outlook.com> * Add support for mono and apache.org Signed-off-by: Nikemare <bernhard.schleicher@outlook.com> * Refactored known-licenses & rate limit docu Signed-off-by: Nikemare <bernhard.schleicher@outlook.com> * Improve fetch license for nuget Signed-off-by: Nikemare <bernhard.schleicher@outlook.com> * Fixing issues checking license status Signed-off-by: Nikemare <bernhard.schleicher@outlook.com> * Fixed type check Signed-off-by: Nikemare <bernhard.schleicher@outlook.com> * Providing https instead of http Signed-off-by: Nikemare <bernhard.schleicher@outlook.com> * Code formatting Signed-off-by: Nikemare <bernhard.schleicher@outlook.com> * Added fetch_license test for dotnet-paket Signed-off-by: Nikemare <bernhard.schleicher@outlook.com> * Refactored & improved nuget license resolving Signed-off-by: Nikemare <bernhard.schleicher@outlook.com> * Fixed bug in getRepoLicense Signed-off-by: Nikemare <bernhard.schleicher@outlook.com> * Add support for mono and apache.org Signed-off-by: Nikemare <bernhard.schleicher@outlook.com> * Refactored known-licenses & rate limit docu Signed-off-by: Nikemare <bernhard.schleicher@outlook.com> * Small fixes for known-licenses Signed-off-by: Nikemare <bernhard.schleicher@outlook.com> --------- Signed-off-by: Nikemare <bernhard.schleicher@outlook.com>
- Loading branch information
Showing
4 changed files
with
191 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,82 @@ | ||
[ | ||
{ "license": "Apache-2.0", "group": "cloud.google.com", "name": "go" }, | ||
{ "license": "Apache-2.0", "group": "cloud.google.com/go", "name": "*" }, | ||
{ "license": "Apache-2.0", "group": "cuelang.org", "name": "go" }, | ||
{ "license": "MIT", "group": "pack.ag", "name": "amqp" }, | ||
{ "license": "Apache-2.0", "group": "google.golang.org", "name": "*" }, | ||
{ "license": "BSD-3-Clause", "group": "golang.org/x", "name": "*" }, | ||
{ | ||
"license": "BSD-3-Clause", | ||
"group": "dmitri.shuralyov.com/gpu", | ||
"name": "*" | ||
"packageNamespace": "*", | ||
"knownLicenses": [{ "license": "MIT", "urlIncludes": "mit-license" }] | ||
}, | ||
{ "license": "Apache-2.0", "group": "contrib.go.opencensus.io", "name": "*" }, | ||
{ "license": "Apache-2.0", "group": "git.apache.org", "name": "*" }, | ||
{ "license": "Apache-2.0", "group": ".", "name": "go.opencensus.io" }, | ||
{ "license": "MIT", "group": "sigs.k8s.io", "name": "*" }, | ||
{ "license": "BSD-3-Clause", "group": "rsc.io", "name": "*" }, | ||
{ "license": "Apache-2.0", "group": "openpitrix.io", "name": "*" }, | ||
{ "license": "BSD-3-Clause", "group": "modernc.org", "name": "*" }, | ||
{ "license": "Apache-2.0", "group": "kubesphere.io", "name": "*" }, | ||
{ "license": "Apache-2.0", "group": "k8s.io", "name": "*" }, | ||
{ "license": "Apache-2.0", "group": "istio.io", "name": "*" }, | ||
{ "license": "MIT", "group": "honnef.co/go", "name": "*" }, | ||
{ "license": "Apache-2.0", "group": ".", "name": "gotest.tools" }, | ||
{ "license": "Apache-2.0", "group": "gopkg.in", "name": "*" }, | ||
{ "license": "Apache-2.0", "group": "code.cloudfoundry.org", "name": "*" }, | ||
{ "license": "BSD-3-Clause", "group": "gonum.org/v1", "name": "*" }, | ||
{ "license": "Apache-2.0", "group": "gomodules.xyz/jsonpatch", "name": "*" }, | ||
{ "license": "MIT", "group": "go.uber.org", "name": "*" }, | ||
{ "license": "MIT", "group": "go.etcd.io", "name": "*" } | ||
{ | ||
"packageNamespace": "pkg:golang/", | ||
"knownLicenses": [ | ||
{ "license": "Apache-2.0", "group": "cloud.google.com", "name": "go" }, | ||
{ "license": "Apache-2.0", "group": "cloud.google.com/go", "name": "*" }, | ||
{ "license": "Apache-2.0", "group": "cuelang.org", "name": "go" }, | ||
{ "license": "MIT", "group": "pack.ag", "name": "amqp" }, | ||
{ "license": "Apache-2.0", "group": "google.golang.org", "name": "*" }, | ||
{ "license": "BSD-3-Clause", "group": "golang.org/x", "name": "*" }, | ||
{ | ||
"license": "BSD-3-Clause", | ||
"group": "dmitri.shuralyov.com/gpu", | ||
"name": "*" | ||
}, | ||
{ | ||
"license": "Apache-2.0", | ||
"group": "contrib.go.opencensus.io", | ||
"name": "*" | ||
}, | ||
{ "license": "Apache-2.0", "group": "git.apache.org", "name": "*" }, | ||
{ "license": "Apache-2.0", "group": ".", "name": "go.opencensus.io" }, | ||
{ "license": "MIT", "group": "sigs.k8s.io", "name": "*" }, | ||
{ "license": "BSD-3-Clause", "group": "rsc.io", "name": "*" }, | ||
{ "license": "Apache-2.0", "group": "openpitrix.io", "name": "*" }, | ||
{ "license": "BSD-3-Clause", "group": "modernc.org", "name": "*" }, | ||
{ "license": "Apache-2.0", "group": "kubesphere.io", "name": "*" }, | ||
{ "license": "Apache-2.0", "group": "k8s.io", "name": "*" }, | ||
{ "license": "Apache-2.0", "group": "istio.io", "name": "*" }, | ||
{ "license": "MIT", "group": "honnef.co/go", "name": "*" }, | ||
{ "license": "Apache-2.0", "group": ".", "name": "gotest.tools" }, | ||
{ "license": "Apache-2.0", "group": "gopkg.in", "name": "*" }, | ||
{ | ||
"license": "Apache-2.0", | ||
"group": "code.cloudfoundry.org", | ||
"name": "*" | ||
}, | ||
{ "license": "BSD-3-Clause", "group": "gonum.org/v1", "name": "*" }, | ||
{ | ||
"license": "Apache-2.0", | ||
"group": "gomodules.xyz/jsonpatch", | ||
"name": "*" | ||
}, | ||
{ "license": "MIT", "group": "go.uber.org", "name": "*" }, | ||
{ "license": "MIT", "group": "go.etcd.io", "name": "*" } | ||
] | ||
}, | ||
{ | ||
"packageNamespace": "pkg:nuget/", | ||
"knownLicenses": [ | ||
{ | ||
"license": "MIT", | ||
"urlIncludes": "//github.com/dotnet/standard/", | ||
"licenseEvidence": "https://github.com/dotnet/standard/blob/release/3.0/LICENSE.TXT" | ||
}, | ||
{ | ||
"license": "MIT", | ||
"urlIncludes": "//github.com/dotnet/corefx/", | ||
"licenseEvidence": "https://github.com/dotnet/corefx/blob/release/2.0.0/LICENSE.TXT" | ||
}, | ||
{ | ||
"license": "MIT", | ||
"urlIncludes": "//github.com/dotnet/core-setup/", | ||
"licenseEvidence": "https://github.com/dotnet/core-setup/blob/release/2.0.0/LICENSE.TXT" | ||
}, | ||
{ | ||
"licenseName": ".NET Library License", | ||
"urlEndswith": "?LinkId=329770", | ||
"licenseEvidence": "https://go.microsoft.com/fwlink/?LinkId=329770" | ||
}, | ||
{ | ||
"licenseName": ".NET Library License", | ||
"urlEndswith": "dotnet_library_license.htm", | ||
"licenseEvidence": "https://dotnet.microsoft.com/en-us/dotnet_library_license.htm" | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters