From December 8 to December 10 the underlying cloud platform running GitLab CI jobs is being extended and thus, is unavailable. We do our best to compensate this with other resources but it might happen that you experience extended startup times for your CI jobs. Thanks for your understanding!

Unverified Commit d5e2cb11 authored by Jurriaan H. Spaaks's avatar Jurriaan H. Spaaks Committed by GitHub
Browse files

Merge pull request #731 from research-software-directory/prep-3.0.1

Prep 3.0.1
parents 850f039d a0694923
......@@ -19,9 +19,7 @@
}, {
"pattern": "^https://doi.org/<yourdoi>$"
}, {
"pattern": "^https://github.com/research-software-directory/research-software-directory/blob/3.0.0/docs/dev.md#verifying-the-local-installation$"
}, {
"pattern": "^https://github.com/research-software-directory/research-software-directory/compare/2.0.2...3.0.0$"
"pattern": "^https://github.com/research-software-directory/research-software-directory/workflows/.*/badge.svg$"
}],
"replacementPatterns": [{
"pattern": "^/",
......
# 3.0.1
- Fixed bug in migration script (there was no key `tags` in the project collection, so the `$rename` operation failed)
- Updated the sample data with the latest production data (grabbed Dec 8, 2020)
- Updated the data entry notes for project collection
# 3.0.0
commit comparison [2.0.2...3.0.0](https://github.com/research-software-directory/research-software-directory/compare/2.0.2...3.0.0)
......
......@@ -104,7 +104,7 @@ authors:
family-names: Zach
given-names: Hoskins
cff-version: "1.1.0"
date-released: 2020-12-01
date-released: 2020-12-08
doi: 10.5281/zenodo.1154130
keywords:
- "Current Research Information Systems"
......@@ -118,4 +118,4 @@ license: Apache-2.0
message: "If you use this software, please cite it using these metadata."
repository-code: "https://github.com/research-software-directory/research-software-directory"
title: "Research Software Directory"
version: "3.0.0"
version: "3.0.1"
# Updating data from 2.0.2 to 3.0.0
# Updating data from 2.0.2 to 3.0.x
The following code snippet emulates the situation where the code is in version 3.0.0 while the data is in version 2.0.2.
The following code snippet emulates the situation where the code is in version 3.0.x while the data is in version 2.0.2.
```shell
# update the references
......@@ -52,7 +52,7 @@ docker-compose exec database mongo rsd /tmp/migrate.js
docker-compose exec harvesting python app.py resolve all
```
The data you get from the API should now be according to the 3.0.0 schema, e.g.
The data you get from the API should now be according to the 3.0.x schema, e.g.
[http://localhost/api/project/764](http://localhost/api/project/764), and all aspects of the site should now work. You
should verify if everything works by doing the checks mentioned in section [Verifying the local
installation](https://github.com/research-software-directory/research-software-directory/blob/3.0.0/docs/dev.md#verifying-the-local-installation).
......
......@@ -23,11 +23,9 @@ const migrate = () => {
'related.projects': [],
'related.software': [],
team: [],
technologies: [],
topics: []
},
$rename: {
tags: 'technologies'
},
$unset: {
corporateUrl: '',
principalInvestigator: ''
......
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.commit"},{"v":2,"key":{"repositoryURL":1.0},"name":"repositoryURL_1","ns":"rsd.commit"}],"uuid":"fb6ae46c38fb480681d5fcc0bcd9d51c"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.commit"},{"v":2,"key":{"repositoryURL":1.0},"name":"repositoryURL_1","ns":"rsd.commit"}],"uuid":"e94c35c6f6f0494ca5af2bfbc2f02ecd"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.logging"}],"uuid":"f6ba9d83faed42e8b6e7fa24a3fb8276"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.logging"}],"uuid":"7e6a29dc773547d6b762debe154006cb"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.mention"}],"uuid":"af61e65cae4446d587c9c023b51d3c78"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.mention"}],"uuid":"ae3efa5b587f4aa7b5cf10c71572c30b"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.organization"},{"v":2,"key":{"primaryKey.id":1.0},"name":"primaryKey.id_1","ns":"rsd.organization"}],"uuid":"0fa5df221eae4268b53b4c3a2bca6b57"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.organization"},{"v":2,"key":{"primaryKey.id":1.0},"name":"primaryKey.id_1","ns":"rsd.organization"}],"uuid":"6dd9e05956a14feb8d235cd8a39ee8f7"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.organization_history"}],"uuid":"ad466010ab3c45cd8bc5192674e6920e"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.organization_history"}],"uuid":"f7f2f459ccc146c7be9302140edd81b4"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.person"},{"v":2,"key":{"primaryKey.id":1.0},"name":"primaryKey.id_1","ns":"rsd.person"}],"uuid":"5d5b655986284f87bedabca072c39990"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.person"},{"v":2,"key":{"primaryKey.id":1.0},"name":"primaryKey.id_1","ns":"rsd.person"}],"uuid":"b90abf9aa7b242188c846ca8fc187933"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.person_history"}],"uuid":"d0835ea1b8604816b9b77da6afe44ac2"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.person_history"}],"uuid":"45af08e5772245efa71078987d9ecba2"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.project"}],"uuid":"34958af543ff4761b53f9397a2fc34d9"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.project"}],"uuid":"f1c23ba5d17d4ca3b2968d82a9ada1ea"}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment