Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create support to map license "keys" to names and URLs. #35

Open
digulla opened this issue Aug 28, 2019 · 0 comments
Open

Create support to map license "keys" to names and URLs. #35

digulla opened this issue Aug 28, 2019 · 0 comments

Comments

@digulla
Copy link

digulla commented Aug 28, 2019

Add an API and config to map several license "keys" (i.e. apache, apache 2.0 and apache 2, apl2) to a single canonical name (example: Apache License v2).

For the HTML report (see issue #34), allow to specify the URL of the license.

Proposed config format:

[License Mapping]
Apache License v2: https://opensource.org/licenses/Apache-2.0
    apache  # One key per line
    apache 2.0
    apache 2
BSD: ...
GNU Public License v3: ...
ISC License: https://opensource.org/licenses/ISC
    isc license

[License Overrides]
# See http://zesty.ca/python/uuid.README.txt
uuid 1.3.0: isc license

If the first "line" of the mapping value starts with http:// or https://, it's a URL, otherwise a license key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants