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

Custom Licenses #24

Open
autoantwort opened this issue Nov 29, 2023 · 0 comments
Open

Custom Licenses #24

autoantwort opened this issue Nov 29, 2023 · 0 comments
Labels
enhancement The issue asks for an improvement to the specification.

Comments

@autoantwort
Copy link
Contributor

Currently SPDX license identifiers are encouraged, with #22 required.
SPDX defines LicenseRef-.* to use custom licenses (See here and here).
I think cps should also define something so that custom license ids could be defined and used in the license expression so that custom licenses could be represented.
We could use the fields from https://spdx.github.io/spdx-spec/v2.2.2/other-licensing-information-detected/:
Maybe something like this:

{
  "Name": "sample",
  "Description": "Sample CPS",
  "License": "LicenseRef-MyLicense",
  "license-definitions": {
    "LicenseRef-MyLicense": {
      "name": "MyLicense maybe with special characters",
      "see-also": "http://example.com/licenses/our-license",
      "comment": "This is a comment",
      "extracted-text": "Do whatever you want with this code"
    }    
  }
}
@mwoehlke mwoehlke added the enhancement The issue asks for an improvement to the specification. label Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement The issue asks for an improvement to the specification.
Projects
None yet
Development

No branches or pull requests

2 participants