Skip to content

103 update metadata only function to match rocrate validator features#121

Merged
douglowe merged 6 commits intodevelopfrom
103-update-metadata-only-function-to-match-rocrate-validator-features
Feb 26, 2026
Merged

103 update metadata only function to match rocrate validator features#121
douglowe merged 6 commits intodevelopfrom
103-update-metadata-only-function-to-match-rocrate-validator-features

Conversation

@douglowe
Copy link
Collaborator

@douglowe douglowe commented Feb 17, 2026

This updates the metadata only validation function, so that we pass this directly into the validator as a string containing a JSON object. The test suite has been updated to reflect this change, and the file utilities library removed, as we no longer need to create an empty RO-Crate folder.

@douglowe douglowe self-assigned this Feb 17, 2026
@douglowe douglowe linked an issue Feb 17, 2026 that may be closed by this pull request
OliverWoolland
OliverWoolland previously approved these changes Feb 18, 2026
Copy link

@EttoreM EttoreM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • The PR description says a dictionary object is passed for validation, but it looks like we’re actually passing a stringified JSON object. Is that intentional?

Copy link

@EttoreM EttoreM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems to me that you need to pass profile_path to the function queue_ro_crate_metadata_validation_task inside the POST endpoint /validate_metadata, and then propagate it throughout subsequent calls.

@douglowe
Copy link
Collaborator Author

  • The PR description says a dictionary object is passed for validation, but it looks like we’re actually passing a stringified JSON object. Is that intentional?

This is my laziness. I'll update the PR description.

Copy link

@EttoreM EttoreM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems OK to me now.

@douglowe douglowe merged commit aef6f64 into develop Feb 26, 2026
2 checks passed
@douglowe douglowe deleted the 103-update-metadata-only-function-to-match-rocrate-validator-features branch February 26, 2026 10:07
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

Successfully merging this pull request may close these issues.

Update metadata only function to match rocrate-validator features

3 participants