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

First step towards the new data model #233

Merged

Conversation

led02
Copy link
Member

@led02 led02 commented Nov 15, 2023

The Context is replaced by the linked_data module providing data classes... many copy and paste but also lots of deletions so far.

The data is now no longer "JSON-LD" all the time but we use a little trick to annotate metadata to the attributes:

Values are wrapped in an dict that has the @value tag with the actual value and a @metadata tag with the metadata. In addition, there might be an @alternatives tag that carries a list of other possible values.

Related to #230, implementing updated ADRs as outlined in #232

led02 and others added 30 commits October 18, 2023 14:33
…ermes_push_token-not-documented

Add HERMES_PUSH_TOKEN
Note: Still not working as we get SPDX URLs but the URLs on Zenodo / InvenioRDM are opensource.org URLs
This is still based on C&P... should we extract the "common base" that is still valid and only migrate the relevant parts?

Also: I stupidly changed all string occurrences... to also distinguish configurations and avoid accidential mis-use.
This ensures that any and all opened logging files in the .hermes
directory are closed, allowing us to safely remove that directory.
…s-clean

Fix logging-related crash in `hermes clean`
Fix InvenioRDM license checks in new InvenioRDM plugin
This might have been parametrized or implemented differently to distinguish between Invenio and InvenioRDM.
However, this way works without further coding headache...
Further fixes to InvenioRDM to work properly with the tutorial (... and at all)
This is still based on C&P... should we extract the "common base" that is still valid and only migrate the relevant parts?

Also: I stupidly changed all string occurrences... to also distinguish configurations and avoid accidential mis-use.
@led02 led02 merged commit d7d739d into feature/class-based-plugins Nov 15, 2023
2 of 4 checks passed
@led02 led02 deleted the feature/153-refactoring-of-data-model branch August 13, 2024 12:45
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.

3 participants