Skip to content

Commit

Permalink
vocabularies: added award and subjects update
Browse files Browse the repository at this point in the history
  • Loading branch information
0einstein0 committed Oct 14, 2024
1 parent 4e2581f commit 15406b4
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 9 deletions.
12 changes: 6 additions & 6 deletions docs/releases/v13/upgrade-v13.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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 `<my-site>/Pipfile`.

```diff
Expand All @@ -89,13 +90,15 @@ Update the file `<my-site>/Pipfile`.
```

##### Step 3

Update the `Pipfile.lock` file:

```bash
invenio-cli packages lock
```

##### Step 4

Install InvenioRDM v13:

```bash
Expand All @@ -112,12 +115,10 @@ invenio alembic upgrade

### Data migration


Execute the data migration:

### TODO


### Rebuild search indices

```bash
Expand All @@ -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.
Expand Down Expand Up @@ -156,5 +157,4 @@ ADMINISTRATION_DISPLAY_VERSIONS = [

## OPEN PROBLEMS


### TODO
### TODO
20 changes: 17 additions & 3 deletions docs/releases/v13/version-v13.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 you would need to reindex te 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 you would need to reindex te 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

Expand Down

0 comments on commit 15406b4

Please sign in to comment.