Commit 81ea7caf authored by Jurriaan H. Spaaks's avatar Jurriaan H. Spaaks
Browse files

Merge branch 'master' of...

Merge branch 'master' of https://github.com/research-software-directory/research-software-directory into release-3.0.0-prep
parents cfdafaa9 77ffc098
......@@ -421,10 +421,14 @@
"label": "Subtitle of the project",
"sortIndex": 20
},
"tags": {
"help": "Tags",
"technologies": {
"help": "Technology tags",
"sortIndex": 800
},
"topics": {
"help": "Scientific topics",
"sortIndex": 801
},
"team": {
"sortIndex": 900,
"label": "Team"
......
......@@ -149,7 +149,7 @@
"subtitle": {
"type": "string"
},
"tags": {
"technologies": {
"items": {
"enum": [
"Big data",
......@@ -170,6 +170,27 @@
"type": "array",
"uniqueItems": true
},
"topics": {
"items": {
"enum": [
"Astronomy",
"Climate and weather",
"Humanities",
"Chemistry",
"Material science",
"Law",
"Ecology",
"Life science",
"Psychology",
"Physics",
"Computer science",
"Health"
],
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"team": {
"items": {
"additionalProperties": false,
......@@ -250,9 +271,10 @@
"related",
"slug",
"subtitle",
"tags",
"team",
"technologies",
"title",
"topics",
"updatedAt",
"updatedBy"
],
......
......@@ -474,9 +474,10 @@ def make_new_project_data(project_data_source):
new_project_data["related"] = {"organizations": [], "projects": [], "software": []}
new_project_data["slug"] = "fixme"
new_project_data["subtitle"] = project_data_source["subtitle"]
new_project_data["tags"] = []
new_project_data["technologies"] = []
new_project_data["team"] = []
new_project_data["title"] = project_data_source["title"]
new_project_data["topics"] = []
new_project_data["updatedAt"] = new_project_data["createdAt"]
new_project_data["updatedBy"] = new_project_data["createdBy"]
return new_project_data
......
......@@ -22,8 +22,11 @@ const migrate = () => {
'related.organizations': [],
'related.projects': [],
'related.software': [],
tags: [],
team: []
team: [],
topics: []
},
$rename: {
tags: 'technologies'
},
$unset: {
corporateUrl: '',
......
{"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":"a635b75ee33c4439896edcecfb68ea55"}
\ 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":"fb6ae46c38fb480681d5fcc0bcd9d51c"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.logging"}],"uuid":"87efab562ee746259b40583d334ee632"}
\ 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.mention"}],"uuid":"f304eddd95fc4dc9a1d761e769b16946"}
\ 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.organization"},{"v":2,"key":{"primaryKey.id":1.0},"name":"primaryKey.id_1","ns":"rsd.organization"}],"uuid":"3fed5ad08e4e454fa8d73b48a2c293b6"}
\ 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_history"}],"uuid":"d9b7c1d961094a178aec8dd529843bb3"}
\ 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.person"},{"v":2,"key":{"primaryKey.id":1.0},"name":"primaryKey.id_1","ns":"rsd.person"}],"uuid":"74fc90bc54184b398a6a0894360582e8"}
\ 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_history"}],"uuid":"27ec903dd4324b349aeafa8abf3018b7"}
\ 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.project"}],"uuid":"902d1aa4f3094cfab5e4020c4d29e05a"}
\ 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_cache"}],"uuid":"2d87e42f4d894fd3b341fbe3c062fe6c"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.project_cache"}],"uuid":"c2006eb6dfd34848b5e428780bb476b2"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.project_history"}],"uuid":"857111f0c959463ba10c94aff6832078"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.project_history"}],"uuid":"4b1c5c6270cd496eb40dfd3a46de5eeb"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.release"},{"v":2,"key":{"conceptDOI":1},"name":"conceptDOI_1","ns":"rsd.release"}],"uuid":"34e94adcc2f54b0f8fb5d50ecbe5937e"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.release"},{"v":2,"key":{"conceptDOI":1},"name":"conceptDOI_1","ns":"rsd.release"}],"uuid":"57f988c2093244e5b843a33123901d9b"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.software"},{"v":2,"key":{"primaryKey.id":1.0},"name":"primaryKey.id_1","ns":"rsd.software"}],"uuid":"c92b793342c44623b93863aec6602606"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.software"},{"v":2,"key":{"primaryKey.id":1.0},"name":"primaryKey.id_1","ns":"rsd.software"}],"uuid":"c679b335009c44c2962f4a7f69560092"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.software_cache"},{"v":2,"key":{"primaryKey.id":1.0},"name":"primaryKey.id_1","ns":"rsd.software_cache"}],"uuid":"74c849b738314199a5b20dd71c2b2f95"}
\ No newline at end of file
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_","ns":"rsd.software_cache"},{"v":2,"key":{"primaryKey.id":1.0},"name":"primaryKey.id_1","ns":"rsd.software_cache"}],"uuid":"9c704e6d5e344cf6abfaf05912e90850"}
\ 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