hermes icon indicating copy to clipboard operation
hermes copied to clipboard

Harvesting process stops if first source file contains an error

Open Aidajafarbigloo opened this issue 3 months ago • 0 comments

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.

Aidajafarbigloo avatar Oct 24 '25 11:10 Aidajafarbigloo