-
Notifications
You must be signed in to change notification settings - Fork 58
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
How to match license when uploading EML? #1778
Comments
Thanks @peterdesmet for your question |
But there will be an issue with GBIF infrastracture. Other systems (namely registry) will fail to digest it:
So to be processed they have to contain this part:
|
Aha, thanks! I notice the name needs to be wrapped in
Maybe it would be worth using license identifiers provided by https://opendefinition.org/licenses/api/ to make the match. Those identifiers are typically returned by APIs, such as Zenodo. The identifiers would be:
|
Sounds reasonable to me, but unfortunately there is nothing we can do in the IPT with this |
So I should try to match the (long) values verbatim? |
@peterdesmet Yes |
It does seem like a reasonable thing for the EML parser to support and that a user can set a license in an EML file that the IPT detects. Could we just handle this somewhere around here perhaps? |
Thanks Tim, I'll try to test that in the gbif-metadata-profile project |
Thanks for implementing, where can I test this? https://ipt.gbif.org? |
https://ipt.gbif-uat.org/ |
No, but I do have one at https://ipt.gbif.org. Testing is not urgent for me. |
It's a snapshot version, and we usually don't deploy snapshots to ipt.gbif.org. But I can create an account on UAT for you |
Tested: works well, but would it be possible to make matching case insensitive? I noticed that the official key |
Thank you, good point. I'll make it case insensitive |
The dataset license is exported in the EML as:
I'm generating an EML file, that I then upload to the IPT. Should I match the above verbatim if I want the IPT to recognize the license I'm providing? Or is it possible to provide something shorter that the IPT will still recognize as that license? E.g. the license name:
ipt/src/main/resources/org/gbif/metadata/eml/licenses.properties
Line 8 in 55eced1
The text was updated successfully, but these errors were encountered: