Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling metadata extraction in repositories without or with empty CFF files #257

Open
Aidajafarbigloo opened this issue May 7, 2024 · 1 comment

Comments

@Aidajafarbigloo
Copy link

Hello,

While extracting metadata from repositories without a CFF file, we face error, and the absence of CFF or CodeMeta files complicates metadata extraction. (We tried hermes harvesting in local machine by installing via pip.)

We believe there are two potential solutions to address this issue:

  1. A feature that allows the option to toggle on/off specific harvesters like cff/CodeMeta. If no CFF/CodeMeta file is present, the corresponding harvester would be disabled to prevent errors.
  2. Change in the behavior of the cff/CodeMeta harvester to return an empty dictionary if no CFF/CodeMeta file or an empty CFF/CodeMeta file is found. This would prevent errors and allow the extraction process to proceed smoothly.

We would be glad to know your suggestions, feedback on these solutions or any alternative ideas about this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants