From 80c4beb171cc78672c57b6698fd9b3de6ed16e8e Mon Sep 17 00:00:00 2001 From: Fatimah Zulfiqar Date: Mon, 14 Oct 2024 14:47:28 +0200 Subject: [PATCH] vocabularies: added award and subjects update --- docs/releases/v13/upgrade-v13.0.md | 12 ++++++------ docs/releases/v13/version-v13.0.0.md | 20 +++++++++++++++++--- 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/docs/releases/v13/upgrade-v13.0.md b/docs/releases/v13/upgrade-v13.0.md index b298cb98..7aadf01e 100644 --- a/docs/releases/v13/upgrade-v13.0.md +++ b/docs/releases/v13/upgrade-v13.0.md @@ -46,7 +46,6 @@ One way would be to use [PyEnv](https://github.com/pyenv/pyenv). If you upgraded your python version, you should recreate your virtual environment before running `invenio-cli` or `pipenv` commands below. - ### Upgrade InvenioRDM Python 3.9 or 3.11 or 3.12 is required to run InvenioRDM v12. @@ -75,11 +74,13 @@ If you are using a docker image on your production instance this will be the option you choose. ##### Step 1 + - create a new virtual environment - activate your new virtual environment - install `invenio-cli` by `pip install invenio-cli` ##### Step 2 + Update the file `/Pipfile`. ```diff @@ -89,6 +90,7 @@ Update the file `/Pipfile`. ``` ##### Step 3 + Update the `Pipfile.lock` file: ```bash @@ -96,6 +98,7 @@ invenio-cli packages lock ``` ##### Step 4 + Install InvenioRDM v13: ```bash @@ -112,12 +115,10 @@ invenio alembic upgrade ### Data migration - Execute the data migration: ### TODO - ### Rebuild search indices ```bash @@ -127,7 +128,7 @@ invenio rdm rebuild-all-indices ``` From v12 onwards, record statistics will be stored in search indices rather than the -database. These indices are created through some *index templates* machinery +database. These indices are created through some _index templates_ machinery rather than having indices registered directly in `Invenio-Search`. As such, the search indices for statistics are not affected by `invenio index destroy --yes-i-know` and are totally functional after the rebuild step. @@ -156,5 +157,4 @@ ADMINISTRATION_DISPLAY_VERSIONS = [ ## OPEN PROBLEMS - -### TODO \ No newline at end of file +### TODO diff --git a/docs/releases/v13/version-v13.0.0.md b/docs/releases/v13/version-v13.0.0.md index 4a2808fd..3d91677f 100644 --- a/docs/releases/v13/version-v13.0.0.md +++ b/docs/releases/v13/version-v13.0.0.md @@ -30,19 +30,33 @@ Searches like ` Universitatea "Dunărea de Jos” din Galați` now work [PR](htt BREAKING -> mapping changes, create new indices +### EuroSciVoc Subjects + +#### Optional Feature + +You can now import EuroSciVoc subjects using the new Jobs system. If you previously had imported EuroSciVoc subjects, you will need to update the existing records, drafts, and communities that were using these subjects and then deleting the old subjects in the database. This is necessary due to changes in the structure, such as the introduction of the `props` property and updates to the `id` format. +_Note that mapping updates are needed. Also, you would need to reindex the relevant subjects, records, drafts and communities._ + +### CORDIS Awards + +#### Optional Feature + +CORDIS data can now be imported to enhance OpenAIRE awards using the new Jobs system. This update allows for the addition of supplementary information to the awards, including subjects _(Note: The EuroSciVoc subjects are needed for this)_, organizations, and other related metadata. The three funding programs supported are `HE`, `FP7` and `H2020`. +_Note that mapping updates are needed. Also, you would need to reindex the relevant awards, records, drafts and communities._ + ### Miscellaneous additions Here is a quick summary of the myriad other improvements in this release: - The creators' roles are now displayed [PR](https://github.com/inveniosoftware/invenio-app-rdm/pull/2795) - You can now see and show the version of InvenioAppRDM and any other module [Issue](https://github.com/inveniosoftware/invenio-app-rdm/issues/2838) - Change the config ADMINISTRATION_DISPLAY_VERSIONS = [("invenio-app-rdm", f"v{__version__}")] and append to the list the version you want to display. -- The users API endpoint is now protected, in order to access the list of users it's required to be logged in. + Change the config ADMINISTRATION_DISPLAY_VERSIONS = [("invenio-app-rdm", f"v{__version__}")] and append to the list the version you want to display. +- The users API endpoint is now protected, in order to access the list of users it's required to be logged in. - ...and many more bug fixes! ## Breaking changes -- fill me in +- Mapping updates in Subjects, Awards, Records _(including percolators)_, Drafts and Communities ## Limitations and known issues