-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
1️ harvestingThe harvesting step in the workflowThe harvesting step in the workflowdata modelRelated to the hermes data modelRelated to the hermes data modelmeeting-discussionIssues that should be discussed at the next project meetingIssues that should be discussed at the next project meeting
Description
A lot of metadata can be collected when harvesting a pyproject.toml.
However, not all relevant data can be displayed properly with schema and codemeta fields.
The following data causes difficulties:
- The permitted Python versions, as there may be several and they may also be restricted by a wide variety of conditions.
- The (optional) dependencies on other libraries, as the versions can also be given by logical expressions, which can make the versions dependent on each other, on optional features, the Python version, etc. (see https://packaging.python.org/en/latest/specifications/dependency-specifiers/#dependency-specifiers).
- The licenses for the distribution and use of the software, as these may be connected by logical links (see https://packaging.python.org/en/latest/glossary/#term-License-Expression)
- The ReadMe(s), as no URL is given, but one or more files or even just text, but a URL would be necessary for the codemeta field.
- The classifieres (see https://pypi.org/classifiers/)
- The URLs that do not reference the repository
Therefore I suggest the following:
- Adding a version data type that extends or replaces the allowed data types of version in schema.org (text or number). It should be able to represent the grammar (https://packaging.python.org/en/latest/specifications/dependency-specifiers/#grammar) completely and as unambiguously as possible.
- Add a license data type that supplements the permitted data types of license in schema.org (URL or CreativeWork). It would have two fields for text or itself and another for text, which only allows the logical operators.
- Add a readme field, which has one field each for text and file type.
- Add a classifier field that only allows the values mentioned here (https://pypi.org/classifiers/).
- Add a field for URLs, which has a text field and the field for a URL to combine purpose and URL.
Related
Metadata
Metadata
Assignees
Labels
1️ harvestingThe harvesting step in the workflowThe harvesting step in the workflowdata modelRelated to the hermes data modelRelated to the hermes data modelmeeting-discussionIssues that should be discussed at the next project meetingIssues that should be discussed at the next project meeting