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

Add ability to specify license information #245

Closed
GraemeWatt opened this issue Dec 11, 2023 · 2 comments · Fixed by #257
Closed

Add ability to specify license information #245

GraemeWatt opened this issue Dec 11, 2023 · 2 comments · Fixed by #257
Assignees
Labels
enhancement New feature or request

Comments

@GraemeWatt
Copy link
Member

GraemeWatt commented Dec 11, 2023

The JSON schema defining a HEPData submission has provision for a data_license (comprising a name, url and optional description) for individual tables. It also supports a license for additional resources. An example of use is given in submission.yaml used in TestHEPSubmission.zip and in the submission documentation. By default, the CC0 license applies, as explained in the HEPData Terms of Use.

The add_additional_resource function of hepdata_lib should be extended to accept an optional license argument (a Python dictionary containing name, url and optional description). The Table class should also be extended to include a new method add_data_license taking arguments name, url and optional description.

See also HEPData/hepdata#740.

@GraemeWatt GraemeWatt added the enhancement New feature or request label Dec 11, 2023
@github-project-automation github-project-automation bot moved this to To do in @HEPData Dec 13, 2023
@GraemeWatt
Copy link
Member Author

Documentation should be added to hepdata_lib explaining how to add a license to either an additional resource file or a data table. As an example, the CC BY 4.0 license could be used.

name: CC BY 4.0
url: https://creativecommons.org/licenses/by/4.0/
description: This license enables reusers to distribute, remix, adapt, and build upon the material in any medium or format, so long as attribution is given to the creator.

@GraemeWatt GraemeWatt moved this from To do to In Progress in @HEPData Feb 20, 2024
@GraemeWatt GraemeWatt moved this from In Progress to Ready for review in @HEPData Feb 28, 2024
@GraemeWatt GraemeWatt moved this from Ready for review to In Progress in @HEPData Feb 28, 2024
@clelange
Copy link
Collaborator

Addressed in #257

@github-project-automation github-project-automation bot moved this from In Progress to Done in @HEPData Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants