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

Harvest dct:conformsTo for Dataset and Resource #2949

Merged
merged 24 commits into from
Feb 21, 2024
Merged

Conversation

ThibaudDauce
Copy link
Contributor

@ThibaudDauce ThibaudDauce commented Jan 25, 2024

@ThibaudDauce ThibaudDauce marked this pull request as ready for review January 25, 2024 16:18
Copy link
Contributor

@maudetes maudetes left a comment

Choose a reason for hiding this comment

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

Thank you! I've made a first batch of review, but this seems promising!
Don't forget the changelog entry ;)

@ThibaudDauce ThibaudDauce force-pushed the harvest_schemas branch 3 times, most recently from e09c712 to 1cd555d Compare January 30, 2024 14:04
@maudetes maudetes self-requested a review February 14, 2024 13:56
Copy link
Contributor

@maudetes maudetes left a comment

Choose a reason for hiding this comment

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

Thank you for this PR, it was a bit of spaghetti 🍝 to get it right!
We may improve on schema/conformsTo logic with usage later on :)


# Putting `None` as the schema argument do not remove the schema
# Not sure if it's the correct behaviour but it's the normal behaviour on the API v1… :-(
# I think it should be if the key 'schema' is missing, the old value is kept, if the key is present
Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, the behavior is not totally intuitive, but let's keep it as is in this PR for now.

@ThibaudDauce ThibaudDauce merged commit 88ddde5 into master Feb 21, 2024
1 check passed
@ThibaudDauce ThibaudDauce deleted the harvest_schemas branch March 18, 2024 08:48
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.

Moissonnage de la métadonnée schéma (dcterms:conformsTo)
2 participants