diff --git a/content/posts/2021-08.md b/content/posts/2021-08.md index 9ec0a9cfc..c13f2193f 100644 --- a/content/posts/2021-08.md +++ b/content/posts/2021-08.md @@ -355,4 +355,66 @@ $ curl -X POST 'https://cgspace.cgiar.org/explorer/api/search/scroll/DXF1ZXJ5QW5 - I improved the quality of the "no thumbnail" placeholder image on AReS: https://github.com/ilri/OpenRXV/pull/114 - I sent some feedback to some ILRI and CCAFS colleagues about how to use better thumbnails for publications +## 2021-08-24 + +- In the last few days I did a lot of work on OpenRXV + - I started exploring the Angular 9.0 to 9.1 update + - I tested some updates to dependencies for Angular 9 that we somehow missed, like @tinymce/tinymce-angular, @nicky-lenaers/ngx-scroll-to, and @ng-select/ng-select + - I changed the default target from ES5 to ES2015 because ES5 was released in 2009 and the only thing we lose by moving to ES2015 is IE11 support + - I fixed a handful of issues in the Docker build and deployment process + - I started exploring changing the Docker configuration from using volumes to `COPY` instructions in the `Dockerfile` because we are having sporadic issues with permissions in containers caused by copying the host's frontend/backend directories and not being able to write to them + - I tested moving from node-sass to sass, as it has been [supported since Angular 8 apparently](https://blog.ninja-squad.com/2019/05/29/angular-cli-8.0/) and will allow us to avoid stupid node-gyp issues + +## 2021-08-25 + +- I did a bunch of tests of the OpenRXV Angular 9.1 update and merged it to master ([#115](https://github.com/ilri/OpenRXV/pull/115)) +- Last week Maria Garruccio sent me a handful of new ORCID identifiers for Bioversity staff + - We currently have 1320 unique identifiers, so this adds eleven new ones: + +```console +$ cat ~/src/git/DSpace/dspace/config/controlled-vocabularies/cg-creator-identifier.xml /tmp/bioversity-orcids.txt | grep -oE '[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}' | sort | uniq > /tmp/2021-08-25-combined-orcids.txt +$ wc -l /tmp/2021-08-25-combined-orcids.txt +1331 +``` + +- After I combined them and removed duplicates, I resolved all the names using my `resolve-orcids.py` script: + +```console +$ ./ilri/resolve-orcids.py -i /tmp/2021-08-25-combined-orcids.txt -o /tmp/2021-08-25-combined-orcids-names.txt +``` + +- Tag existing items from the Alliance's new authors with ORCID iDs using `add-orcid-identifiers-csv.py` (181 new metadata fields added): + +```console +$ cat 2021-08-25-add-orcids.csv +dc.contributor.author,cg.creator.identifier +"Chege, Christine G. Kiria","Christine G.Kiria Chege: 0000-0001-8360-0279" +"Chege, Christine Kiria","Christine G.Kiria Chege: 0000-0001-8360-0279" +"Kiria, C.","Christine G.Kiria Chege: 0000-0001-8360-0279" +"Kinyua, Ivy","Ivy Kinyua :0000-0002-1978-8833" +"Rahn, E.","Eric Rahn: 0000-0001-6280-7430" +"Rahn, Eric","Eric Rahn: 0000-0001-6280-7430" +"Jager M.","Matthias Jager: 0000-0003-1059-3949" +"Jager, M.","Matthias Jager: 0000-0003-1059-3949" +"Jager, Matthias","Matthias Jager: 0000-0003-1059-3949" +"Waswa, Boaz","Boaz Waswa: 0000-0002-0066-0215" +"Waswa, Boaz S.","Boaz Waswa: 0000-0002-0066-0215" +"Rivera, Tatiana","Tatiana Rivera: 0000-0003-4876-5873" +"Andrade, Robert","Robert Andrade: 0000-0002-5764-3854" +"Ceccarelli, Viviana","Viviana Ceccarelli: 0000-0003-2160-9483" +"Ceccarellia, Viviana","Viviana Ceccarelli: 0000-0003-2160-9483" +"Nyawira, Sylvia","Sylvia Sarah Nyawira: 0000-0003-4913-1389" +"Nyawira, Sylvia S.","Sylvia Sarah Nyawira: 0000-0003-4913-1389" +"Nyawira, Sylvia Sarah","Sylvia Sarah Nyawira: 0000-0003-4913-1389" +"Groot, J.C.","Groot, J.C.J.: 0000-0001-6516-5170" +"Groot, J.C.J.","Groot, J.C.J.: 0000-0001-6516-5170" +"Groot, Jeroen C.J.","Groot, J.C.J.: 0000-0001-6516-5170" +"Groot, Jeroen CJ","Groot, J.C.J.: 0000-0001-6516-5170" +"Abera, W.","Wuletawu Abera: 0000-0002-3657-5223" +"Abera, Wuletawu","Wuletawu Abera: 0000-0002-3657-5223" +"Kanyenga Lubobo, Antoine","Antoine Lubobo Kanyenga: 0000-0003-0806-9304" +"Lubobo Antoine, Kanyenga","Antoine Lubobo Kanyenga: 0000-0003-0806-9304" +$ ./ilri/add-orcid-identifiers-csv.py -i 2021-08-25-add-orcids.csv -db dspace -u dspace -p 'fuuu' +``` + diff --git a/docs/2021-08/index.html b/docs/2021-08/index.html index b5257c126..55c6a5b14 100644 --- a/docs/2021-08/index.html +++ b/docs/2021-08/index.html @@ -18,7 +18,7 @@ I decided to upgrade linode20 from Ubuntu 18.04 to 20.04 - + @@ -42,9 +42,9 @@ I decided to upgrade linode20 from Ubuntu 18.04 to 20.04 "@type": "BlogPosting", "headline": "August, 2021", "url": "https://alanorth.github.io/cgspace-notes/2021-08/", - "wordCount": "2675", + "wordCount": "3064", "datePublished": "2021-08-01T09:01:07+03:00", - "dateModified": "2021-08-18T16:24:40+03:00", + "dateModified": "2021-08-19T22:32:35+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -503,7 +503,68 @@ $ curl -X POST 'https://cgspace.cgiar.org/explorer/api/search/scroll/DXF1ZXJ5QW5
COPY
instructions in the Dockerfile
because we are having sporadic issues with permissions in containers caused by copying the host’s frontend/backend directories and not being able to write to them$ cat ~/src/git/DSpace/dspace/config/controlled-vocabularies/cg-creator-identifier.xml /tmp/bioversity-orcids.txt | grep -oE '[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}' | sort | uniq > /tmp/2021-08-25-combined-orcids.txt
+$ wc -l /tmp/2021-08-25-combined-orcids.txt
+1331
+
resolve-orcids.py
script:$ ./ilri/resolve-orcids.py -i /tmp/2021-08-25-combined-orcids.txt -o /tmp/2021-08-25-combined-orcids-names.txt
+
add-orcid-identifiers-csv.py
(181 new metadata fields added):$ cat 2021-08-25-add-orcids.csv
+dc.contributor.author,cg.creator.identifier
+"Chege, Christine G. Kiria","Christine G.Kiria Chege: 0000-0001-8360-0279"
+"Chege, Christine Kiria","Christine G.Kiria Chege: 0000-0001-8360-0279"
+"Kiria, C.","Christine G.Kiria Chege: 0000-0001-8360-0279"
+"Kinyua, Ivy","Ivy Kinyua :0000-0002-1978-8833"
+"Rahn, E.","Eric Rahn: 0000-0001-6280-7430"
+"Rahn, Eric","Eric Rahn: 0000-0001-6280-7430"
+"Jager M.","Matthias Jager: 0000-0003-1059-3949"
+"Jager, M.","Matthias Jager: 0000-0003-1059-3949"
+"Jager, Matthias","Matthias Jager: 0000-0003-1059-3949"
+"Waswa, Boaz","Boaz Waswa: 0000-0002-0066-0215"
+"Waswa, Boaz S.","Boaz Waswa: 0000-0002-0066-0215"
+"Rivera, Tatiana","Tatiana Rivera: 0000-0003-4876-5873"
+"Andrade, Robert","Robert Andrade: 0000-0002-5764-3854"
+"Ceccarelli, Viviana","Viviana Ceccarelli: 0000-0003-2160-9483"
+"Ceccarellia, Viviana","Viviana Ceccarelli: 0000-0003-2160-9483"
+"Nyawira, Sylvia","Sylvia Sarah Nyawira: 0000-0003-4913-1389"
+"Nyawira, Sylvia S.","Sylvia Sarah Nyawira: 0000-0003-4913-1389"
+"Nyawira, Sylvia Sarah","Sylvia Sarah Nyawira: 0000-0003-4913-1389"
+"Groot, J.C.","Groot, J.C.J.: 0000-0001-6516-5170"
+"Groot, J.C.J.","Groot, J.C.J.: 0000-0001-6516-5170"
+"Groot, Jeroen C.J.","Groot, J.C.J.: 0000-0001-6516-5170"
+"Groot, Jeroen CJ","Groot, J.C.J.: 0000-0001-6516-5170"
+"Abera, W.","Wuletawu Abera: 0000-0002-3657-5223"
+"Abera, Wuletawu","Wuletawu Abera: 0000-0002-3657-5223"
+"Kanyenga Lubobo, Antoine","Antoine Lubobo Kanyenga: 0000-0003-0806-9304"
+"Lubobo Antoine, Kanyenga","Antoine Lubobo Kanyenga: 0000-0003-0806-9304"
+$ ./ilri/add-orcid-identifiers-csv.py -i 2021-08-25-add-orcids.csv -db dspace -u dspace -p 'fuuu'
+
diff --git a/docs/categories/index.html b/docs/categories/index.html
index afb733fb7..9af9af5c0 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 f54c973aa..202767eea 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 7d8c2afd6..50af4b2e5 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 85b692cdf..e55c87ced 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 ddfcb25ec..eee973c99 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 32dfce073..2588ee89e 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/index.html b/docs/index.html
index fd17c09e5..9d01e66f2 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 68c4d4a44..94b1235e8 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 28a08d398..20a96bdc1 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 f4ade8c51..f1763d6bb 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 967cef861..e0ac0e639 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 02ffd86e3..934fb9fc0 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 0b9a92c4f..42b12818b 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 5fa5a4796..7e7acdf97 100644
--- a/docs/page/8/index.html
+++ b/docs/page/8/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/posts/index.html b/docs/posts/index.html
index 067cd8a26..8d62a061d 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 f935f70f9..0fcadba25 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 db9f49377..5416da01e 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 f51f42d73..80e7d730b 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 97ed2cfa1..65eeae64e 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 6245bcf8e..f389e058a 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 0017e27cd..025b79130 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 f61915f7d..9c1522ae1 100644
--- a/docs/posts/page/8/index.html
+++ b/docs/posts/page/8/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/docs/sitemap.xml b/docs/sitemap.xml
index ae40ecf6b..def17d0be 100644
--- a/docs/sitemap.xml
+++ b/docs/sitemap.xml
@@ -3,19 +3,19 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">