We do not want to be too restrictive if a user wants to publish data in the OEP. This PR implements an automatic open licence check that validates the licence entry in the table metadata (as specified by the user). Some normalisations are made, such as replacing spaces with "-" and capitalising letters. This automatic check will not cover all cases, but can be improved in the future.
Open peer review is now optional for publishing data.
We have also updated the user interface of the profile/table page.
Type of change (CHANGELOG.md)
Added
Introduction of an automatic license check module that attempts to check whether the license specified in the metadata for a particular table is open. It normalises the license name in the metadata (whitespaces become "-", everything is capitalised) and compares it with the official SPDX license list. (#1565)
Updated
Improve the profile tables page and adjust the data publishing feature so that it is less strict and only checks for an open license and does not require a full open peer review. Tables that are already published (not in model_draft) are also checked, but only a warning is displayed if the open license is missing. (#1565)
Summary of the discussion
We do not want to be too restrictive if a user wants to publish data in the OEP. This PR implements an automatic open licence check that validates the licence entry in the table metadata (as specified by the user). Some normalisations are made, such as replacing spaces with "-" and capitalising letters. This automatic check will not cover all cases, but can be improved in the future. Open peer review is now optional for publishing data.
We have also updated the user interface of the profile/table page.
Type of change (CHANGELOG.md)
Added
Updated
Workflow checklist
Automation
Closes #1560
PR-Assignee
Reviewer