-
Notifications
You must be signed in to change notification settings - Fork 17
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 License Text #650
Comments
I'm not sure why this would need to be a separate field. Just a side node for this discussion: We have to manually archive such resource descriptions as zenodo does support custom licenses, but does not allow creating deposits with custom licesnes through their API -- one has to use the web UI. |
Just took another look at zenodo docs licenses/#custom From that we can extract the title and always have the file inside the record as well... the content of which could be inserted to description (although it might exceed some character limit... ?) and/or linked to if given as URL. This would be optional for us and as we have to do it by hand we should probably just leave those blank. As file extensions, github docs mention |
Nice! I didn't know that Zenodo can accept a custom license. |
great! To implement this we should add a spec-bioimage-io/bioimageio/spec/generic/v0_3.py Lines 236 to 249 in e77a24d
The implementation will look like this: class CustomLicense(Node):
title: NotEmpty[str]
source: ImportantSourceFile The added @bioimage-io/spec-dev Happy to review any PRs on this. Otherwise I'll probably implement it in 2025. |
While most of the time using just SPDX license identifier would be enough for model uploaders, sometimes a model itself or main library that it uses, might need extra custom license lines.
So I wonder if it's a good idea to add an optional field like
extra_license
to the model specs to include custom license.Also, it is worth to mention, on hugging face, there are models that when the user clicks on the source tab, a popup will appear asking for the user agreement with a custom license lines. Maybe a boolean
must_agree
field would cover that too.The text was updated successfully, but these errors were encountered: