Skip to content

License should use SPDX identifiers #38

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

Closed
mr-c opened this issue Nov 14, 2017 · 9 comments
Closed

License should use SPDX identifiers #38

mr-c opened this issue Nov 14, 2017 · 9 comments

Comments

@mr-c
Copy link
Member

mr-c commented Nov 14, 2017

@tobyhodges
Copy link
Contributor

You mean, this is how an author should refer to a license within the metadata of a CWL file/description?

@mr-c
Copy link
Member Author

mr-c commented Nov 28, 2017

Yes, previously we recommend using a URL to a copy of the license. Now we should recommend using an SPDX URI if available, falling back to the old advice for non-standard licenses.

@tobyhodges
Copy link
Contributor

Ok, PR coming soon

@tobyhodges
Copy link
Contributor

do you have an example of SPDX id usage to hand? I'd like to keep a link to an example if possible. No worries if you can't provide one easily - I will track one down

@tobyhodges
Copy link
Contributor

or actually, I can't! Perhaps I can include an example instead of linking to one?

@mr-c
Copy link
Member Author

mr-c commented Nov 28, 2017

https://spdx.org/licenses/Apache-2.0 (leave off the .html)

@mr-c
Copy link
Member Author

mr-c commented Nov 28, 2017

Formula is: short identifer from the list at https://spdx.org/licenses/ appended to https://spdx.org/licenses/

@tetron
Copy link
Member

tetron commented Nov 28, 2017

The recommend metadata should look like this:

$namespaces:
  s: http://schema.org/
  spdx: https://spdx.org/licenses/
s:license: spdx:Apache-2.0 

@mr-c
Copy link
Member Author

mr-c commented Nov 29, 2017

@tetron Sure, though if we are only using a namespace once then we don't have to define the namespace

So for most CWL files that could be:

$namespaces:
  s: http://schema.org/
s:license: https://spdx.org/licenses/Apache-2.0 
# other s: declarations

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

No branches or pull requests

3 participants