Skip to content

Harvesting process stops if first source file contains an error #448

@Aidajafarbigloo

Description

@Aidajafarbigloo

When harvesting metadata from a repository, if one of the source files (e.g., CITATION.cff or codemeta.json) contains an error, the harvesting process stops entirely if that invalid file appears first in the sources list in the TOML configuration. As a result, harvesting from the remaining valid sources does not occur.

Example:
In the TOML configuration:
sources = ["cff", "codemeta"]

If the repository’s CITATION.cff file is invalid, the harvesting process stops, and codemeta.json is not processed, even if it is valid.

However, with:
sources = ["codemeta", "cff"]

the process succeeds in harvesting from codemeta.json first, and then fails on CITATION.cff, and we still get the output from the valid source.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions