Skip to content

geo-knowledge-hub/invenio-rdm-records

Repository files navigation

Invenio-RDM-Records

DataCite-based data model for Invenio.

About

This repository is a fork from the Invenio RDM Records package developed by the Invenio Team. This fork incorporates GEO Knowledge Hub-specific features and modifications to the original package.

We thank the Invenio Team for making this mature software available to the entire community.

Versioning

This fork is intended to make a few changes to the original source code. In general, we are working on adding extension points that can be used through configuration variables. With these specific changes, we can inject custom code (e.g., Record class, Service class, Schemas) and avoid abrupt changes to the package.

Since these changes don't require several iterations in the code, given the excellent quality and organization of Invenio RDM Records, we are not creating new versions of the package. Instead, we are creating releases in the commits to which we have made changes. These releases are aligned with the versions of the GEO Knowledge Hub package.

We are following this approach to avoid conflicts between the modified code and the InvenioRDM modules that depend on Invenio RDM Records.

Development

Install

Choose a version of search and database, then run:

pipenv run pip install -e .[all]
pipenv run pip install invenio-search[<opensearch[1]>]
pipenv run pip install invenio-db[<[mysql|postgresql|]>]

Tests

pip install -e .[tests]
./run-tests.sh