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

Unable to select certain licenses #60

Closed
jacob-willden opened this issue Dec 21, 2024 · 2 comments
Closed

Unable to select certain licenses #60

jacob-willden opened this issue Dec 21, 2024 · 2 comments

Comments

@jacob-willden
Copy link

While licenses such as every version of the Creative Commons Attribution Share-Alike (CC-BY-SA) License are listed in the Model Openness Tool's license list JSON file, many of these licenses do not appear when trying to specify a license when using the tool:
Only one of the Creative Commons licenses comes up.

At first, I thought it was because the CC-BY-SA is not approved by the Open Source Initiative (OSI), but version 4 of the Creative Commons Attribution (CC-BY) License is not OSI-approved either, and yet it can be selected in the tool. Thanks in advance for any help that can be provided!

@gregcube
Copy link
Collaborator

gregcube commented Jan 3, 2025

Users are limited to specific licenses based on the license content type. Each component defines the permitted license content types, as configured in /web/modules/mof/config/install/mof.settings.yml. For example, the Model card allows document and code-type licenses. You can find the ContentType key and its value for each license in mof-licenses.json.

@jacob-willden
Copy link
Author

Ah, that explains it. The CC-BY-SA is listed in the licenses.json file, but not the mof-licenses.json file in the same folder. Thanks for the information!

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

2 participants