From ae01de27c57ba5ed337b7ce6dea2f2df5adaff0d Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Thu, 22 Sep 2022 21:59:15 +0300 Subject: [PATCH] Add notes for 2022-09-22 --- content/posts/2022-09.md | 48 +++++++++++++++++++ docs/2022-09/index.html | 62 +++++++++++++++++++++++-- docs/categories/index.html | 2 +- docs/categories/notes/index.html | 2 +- docs/categories/notes/page/2/index.html | 2 +- docs/categories/notes/page/3/index.html | 2 +- docs/categories/notes/page/4/index.html | 2 +- docs/categories/notes/page/5/index.html | 2 +- docs/categories/notes/page/6/index.html | 2 +- docs/categories/notes/page/7/index.html | 2 +- docs/index.html | 2 +- docs/page/2/index.html | 2 +- docs/page/3/index.html | 2 +- docs/page/4/index.html | 2 +- docs/page/5/index.html | 2 +- docs/page/6/index.html | 2 +- docs/page/7/index.html | 2 +- docs/page/8/index.html | 2 +- docs/page/9/index.html | 2 +- docs/posts/index.html | 2 +- docs/posts/page/2/index.html | 2 +- docs/posts/page/3/index.html | 2 +- docs/posts/page/4/index.html | 2 +- docs/posts/page/5/index.html | 2 +- docs/posts/page/6/index.html | 2 +- docs/posts/page/7/index.html | 2 +- docs/posts/page/8/index.html | 2 +- docs/posts/page/9/index.html | 2 +- docs/sitemap.xml | 10 ++-- 29 files changed, 138 insertions(+), 34 deletions(-) diff --git a/content/posts/2022-09.md b/content/posts/2022-09.md index 501241b63..96c9c8f82 100644 --- a/content/posts/2022-09.md +++ b/content/posts/2022-09.md @@ -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 + diff --git a/docs/2022-09/index.html b/docs/2022-09/index.html index 87f65cf34..a661f91a8 100644 --- a/docs/2022-09/index.html +++ b/docs/2022-09/index.html @@ -25,7 +25,7 @@ I also fixed a few bugs and improved the region-matching logic - + @@ -56,9 +56,9 @@ I also fixed a few bugs and improved the region-matching logic "@type": "BlogPosting", "headline": "September, 2022", "url": "https://alanorth.github.io/cgspace-notes/2022-09/", - "wordCount": "1660", + "wordCount": "1942", "datePublished": "2022-09-01T09:41:36+03:00", - "dateModified": "2022-09-18T21:04:01+03:00", + "dateModified": "2022-09-19T15:58:41+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -423,6 +423,62 @@ I also fixed a few bugs and improved the region-matching logic +

2022-09-20

+ +
# find /var/cache/nginx/rest_cache/ -type f | wc -l
+7083
+
+

2022-09-21

+ +

2022-09-22

+ +
$ 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'
+
diff --git a/docs/categories/index.html b/docs/categories/index.html index 77951e5d0..7cd786570 100644 --- a/docs/categories/index.html +++ b/docs/categories/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/index.html b/docs/categories/notes/index.html index 0eaf92b0e..58f7c3225 100644 --- a/docs/categories/notes/index.html +++ b/docs/categories/notes/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/2/index.html b/docs/categories/notes/page/2/index.html index 50b8d40f3..02d0ac7a9 100644 --- a/docs/categories/notes/page/2/index.html +++ b/docs/categories/notes/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/3/index.html b/docs/categories/notes/page/3/index.html index 57415f457..0ea32c23e 100644 --- a/docs/categories/notes/page/3/index.html +++ b/docs/categories/notes/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/4/index.html b/docs/categories/notes/page/4/index.html index fb01beccb..7624be9f4 100644 --- a/docs/categories/notes/page/4/index.html +++ b/docs/categories/notes/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/5/index.html b/docs/categories/notes/page/5/index.html index c6597c1d9..8acf78b1e 100644 --- a/docs/categories/notes/page/5/index.html +++ b/docs/categories/notes/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/6/index.html b/docs/categories/notes/page/6/index.html index 289ea2b12..b31d103f2 100644 --- a/docs/categories/notes/page/6/index.html +++ b/docs/categories/notes/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/7/index.html b/docs/categories/notes/page/7/index.html index c99c9d094..6eb6515e7 100644 --- a/docs/categories/notes/page/7/index.html +++ b/docs/categories/notes/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/index.html b/docs/index.html index 2e945defc..390fd1218 100644 --- a/docs/index.html +++ b/docs/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/2/index.html b/docs/page/2/index.html index 37d977aeb..7d35b1482 100644 --- a/docs/page/2/index.html +++ b/docs/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/3/index.html b/docs/page/3/index.html index 8c62937e9..03b4f91c6 100644 --- a/docs/page/3/index.html +++ b/docs/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/4/index.html b/docs/page/4/index.html index 8b3466d09..e43661e0f 100644 --- a/docs/page/4/index.html +++ b/docs/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/5/index.html b/docs/page/5/index.html index 7916ea393..0ba6b6e4d 100644 --- a/docs/page/5/index.html +++ b/docs/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/6/index.html b/docs/page/6/index.html index 3aa5fcec2..1891cdf65 100644 --- a/docs/page/6/index.html +++ b/docs/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/7/index.html b/docs/page/7/index.html index e28cb65b1..0db069b94 100644 --- a/docs/page/7/index.html +++ b/docs/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/8/index.html b/docs/page/8/index.html index 805a6c623..5f9780856 100644 --- a/docs/page/8/index.html +++ b/docs/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/9/index.html b/docs/page/9/index.html index c037c3ad2..edf06d632 100644 --- a/docs/page/9/index.html +++ b/docs/page/9/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/index.html b/docs/posts/index.html index 7ee2de97b..b7923356c 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/2/index.html b/docs/posts/page/2/index.html index 1057ca8d9..603c3fcd1 100644 --- a/docs/posts/page/2/index.html +++ b/docs/posts/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/3/index.html b/docs/posts/page/3/index.html index 1c8bc86c5..3c482e5db 100644 --- a/docs/posts/page/3/index.html +++ b/docs/posts/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/4/index.html b/docs/posts/page/4/index.html index 919e6d886..8a15fb5fa 100644 --- a/docs/posts/page/4/index.html +++ b/docs/posts/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/5/index.html b/docs/posts/page/5/index.html index 4a8db24c2..6bb04167f 100644 --- a/docs/posts/page/5/index.html +++ b/docs/posts/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/6/index.html b/docs/posts/page/6/index.html index 8f2cfce87..f253e6ef5 100644 --- a/docs/posts/page/6/index.html +++ b/docs/posts/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/7/index.html b/docs/posts/page/7/index.html index 12adcbe35..3279f53df 100644 --- a/docs/posts/page/7/index.html +++ b/docs/posts/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/8/index.html b/docs/posts/page/8/index.html index c9bbb8f29..9bb472cdd 100644 --- a/docs/posts/page/8/index.html +++ b/docs/posts/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/9/index.html b/docs/posts/page/9/index.html index 4d5bfe429..02aaa544c 100644 --- a/docs/posts/page/9/index.html +++ b/docs/posts/page/9/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 80bfc50dc..4bf06991c 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -3,19 +3,19 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> https://alanorth.github.io/cgspace-notes/categories/ - 2022-09-18T21:04:01+03:00 + 2022-09-19T15:58:41+03:00 https://alanorth.github.io/cgspace-notes/ - 2022-09-18T21:04:01+03:00 + 2022-09-19T15:58:41+03:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2022-09-18T21:04:01+03:00 + 2022-09-19T15:58:41+03:00 https://alanorth.github.io/cgspace-notes/posts/ - 2022-09-18T21:04:01+03:00 + 2022-09-19T15:58:41+03:00 https://alanorth.github.io/cgspace-notes/2022-09/ - 2022-09-18T21:04:01+03:00 + 2022-09-19T15:58:41+03:00 https://alanorth.github.io/cgspace-notes/2022-08/ 2022-08-31T17:37:28+03:00