Skip to content

Extend hermes context to depict all metadata of a pyproject.toml #405

@notactuallyfinn

Description

@notactuallyfinn

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:

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

No one assigned

    Labels

    1️ harvestingThe harvesting step in the workflowdata modelRelated to the hermes data modelmeeting-discussionIssues that should be discussed at the next project meeting

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions