mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2022-09-22
This commit is contained in:
@ -263,4 +263,52 @@ COMMIT
|
||||
|
||||
- For now I guess requests that were done two or three times by different clients will be cached and that's a win, and I expect more and more REST API activity soon when initiatives and One CGIAR stuff picks up
|
||||
|
||||
## 2022-09-20
|
||||
|
||||
- I checked the status of the nginx REST API cache on CGSpace and it was stuck at 7,083 items for hours:
|
||||
|
||||
```console
|
||||
# find /var/cache/nginx/rest_cache/ -type f | wc -l
|
||||
7083
|
||||
```
|
||||
|
||||
- The proxy cache key zone is currently 1m, which can store ~8,000 keys, so that could be what we're running into
|
||||
- I increased it to 2m and will keep monitoring it
|
||||
- CIP webmaster contacted me to say they are having problems harvesting CGSpace from their WordPress
|
||||
- I am not sure if there are issues due to the REST API caching I enabled...
|
||||
|
||||
## 2022-09-21
|
||||
|
||||
- Planning the Nairobi DSpace Users meeting with Abenet
|
||||
- Planning to have a call about MEL submitting to CGSpace on Monday with Mohammed Salem
|
||||
- I created two collections on DSpace Test: one with a workflow, and one without
|
||||
- According to my notes from [2020-10]({{< relref "2020-10.md" >}}) the account must be in the admin group in order to submit via the REST API, so I added it to the admin group of each collection
|
||||
|
||||
## 2022-09-22
|
||||
|
||||
- Nairobi DSpace users meeting at ILRI
|
||||
- I found a few users that didn't have ORCID iDs and were missing tags on CGSpace so I tagged them:
|
||||
|
||||
```console
|
||||
$ cat 2022-09-22-add-orcids.csv
|
||||
dc.contributor.author,cg.creator.identifier
|
||||
"Alonso, Silvia","Silvia Alonso: 0000-0002-0565-536X"
|
||||
"Goopy, John P.","John Goopy: 0000-0001-7177-1310"
|
||||
"Korir, Daniel","Daniel Korir: 0000-0002-1356-8039"
|
||||
"Leitner, Sonja","Sonja Leitner: 0000-0002-1276-8071"
|
||||
"Fèvre, Eric M.","Eric M. Fèvre: 0000-0001-8931-4986"
|
||||
"Galiè, Alessandra","Alessandra Galie: 0000-0001-9868-7733"
|
||||
"Baltenweck, Isabelle","Isabelle Baltenweck: 0000-0002-4147-5921"
|
||||
"Robinson, Timothy P.","Timothy Robinson: 0000-0002-4266-963X"
|
||||
"Lannerstad, Mats","Mats Lannerstad: 0000-0002-5116-3198"
|
||||
"Graham, Michael","Michael Graham: 0000-0002-1189-8640"
|
||||
"Merbold, Lutz","Lutz Merbold: 0000-0003-4974-170X"
|
||||
"Rufino, Mariana C.","Mariana Rufino: 0000-0003-4293-3290"
|
||||
"Wilkes, Andreas","Andreas Wilkes: 0000-0001-7546-991X"
|
||||
$ ./ilri/add-orcid-identifiers-csv.py -i /tmp/2022-09-22-add-orcids.csv -db dspace -u dspace -p 'fuuu'
|
||||
```
|
||||
|
||||
- This adds almost 800 ORCID tags!
|
||||
- Some of these authors were not in the controlled vocabulary so I added them
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user