diff --git a/content/posts/2021-05.md b/content/posts/2021-05.md index 82013d217..1de5f44ec 100644 --- a/content/posts/2021-05.md +++ b/content/posts/2021-05.md @@ -212,6 +212,25 @@ $ csvgrep -c matched -m 'true' /tmp/clarisa-ror-matches.csv | sed '1d' | wc -l ``` - With 1770 out of 6230 matched, that's 28.5%... +- I sent an email to Hector Tobon to point out the issues in CLARISA again and ask him to chat - Meeting with GARDIAN developers about CG Core and how GARDIAN works +## 2021-05-13 + +- Fix a few thousand IWMI URLs that are using HTTP instead of HTTPS on CGSpace: + +```console +localhost/dspace63= > UPDATE metadatavalue SET text_value = REGEXP_REPLACE(text_value, 'http://www.iwmi.cgiar.org','https://www.iwmi.cgiar.org', 'g') WHERE text_value LIKE 'http://www.iwmi.cgiar.org%' AND metadata_field_id=219; +UPDATE 1132 +localhost/dspace63= > UPDATE metadatavalue SET text_value = REGEXP_REPLACE(text_value, 'http://publications.iwmi.org','https://publications.iwmi.org', 'g') WHERE text_value LIKE 'http://publications.iwmi.org%' AND metadata_field_id=219; +UPDATE 1803 +``` + +- In the case of the latter, the HTTP links don't even work! The web server returns HTTP 404 unless the request is HTTPS +- IWMI also says that their subjects are a subset of AGROVOC so they no longer want to use `cg.subject.iwmi` for their subjects + - They asked if I can move them to `dcterms.subject` +- Delete two items for Udana because he was getting the "Authorization denied for action OBSOLETE (DELETE) ..." error when trying to delete them (DSpace 6 bug I found a few months ago) + - https://cgspace.cgiar.org/handle/10568/34536 + - https://cgspace.cgiar.org/handle/10568/34570 + diff --git a/docs/2021-05/index.html b/docs/2021-05/index.html index 67ef2e11e..c937d47fb 100644 --- a/docs/2021-05/index.html +++ b/docs/2021-05/index.html @@ -20,7 +20,7 @@ I will add the RI/1.0 pattern to our DSpace agents overload and purge them from - + @@ -46,9 +46,9 @@ I will add the RI/1.0 pattern to our DSpace agents overload and purge them from "@type": "BlogPosting", "headline": "May, 2021", "url": "https://alanorth.github.io/cgspace-notes/2021-05/", - "wordCount": "1566", + "wordCount": "1726", "datePublished": "2021-05-02T09:50:54+03:00", - "dateModified": "2021-05-10T17:16:32+03:00", + "dateModified": "2021-05-11T17:58:45+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -334,8 +334,31 @@ $ csvgrep -c matched -m 'true' /tmp/clarisa-ror-matches.csv | sed '1d' | wc -l 1770 +

2021-05-13

+ +
localhost/dspace63= > UPDATE metadatavalue SET text_value = REGEXP_REPLACE(text_value, 'http://www.iwmi.cgiar.org','https://www.iwmi.cgiar.org', 'g') WHERE text_value LIKE 'http://www.iwmi.cgiar.org%' AND metadata_field_id=219;
+UPDATE 1132
+localhost/dspace63= > UPDATE metadatavalue SET text_value = REGEXP_REPLACE(text_value, 'http://publications.iwmi.org','https://publications.iwmi.org', 'g') WHERE text_value LIKE 'http://publications.iwmi.org%' AND metadata_field_id=219;
+UPDATE 1803
+
diff --git a/docs/categories/index.html b/docs/categories/index.html index 024059fa0..2e23bc17a 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 df8ea62c4..d31aee48a 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 055120173..f5df34e06 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 a70329faa..63534a0e9 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 608e2d5ef..31dc7f390 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 d2289a0ed..e72278cfd 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 0788ff08c..88bbd6251 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 79b0b91b8..3519ca109 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 63d71bc51..10786c45a 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 91f4ebc46..7af905e59 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 5c02baa8d..3f4cb3571 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 8da33d914..0f7bbc92f 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 9ec745488..2d7157426 100644 --- a/docs/page/7/index.html +++ b/docs/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/index.html b/docs/posts/index.html index e659053b3..5f7836e3d 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 ea48bed8d..3425a3d8e 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 101785881..1a2c21eca 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 baa4890e2..e250dc083 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 49e3f45e0..60cf5a858 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 911e4ce96..da0d33a82 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 126a2093c..26d4a6069 100644 --- a/docs/posts/page/7/index.html +++ b/docs/posts/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index af4d4561a..b265a0aae 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/ - 2021-05-10T17:16:32+03:00 + 2021-05-11T17:58:45+03:00 https://alanorth.github.io/cgspace-notes/ - 2021-05-10T17:16:32+03:00 + 2021-05-11T17:58:45+03:00 https://alanorth.github.io/cgspace-notes/2021-05/ - 2021-05-10T17:16:32+03:00 + 2021-05-11T17:58:45+03:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2021-05-10T17:16:32+03:00 + 2021-05-11T17:58:45+03:00 https://alanorth.github.io/cgspace-notes/posts/ - 2021-05-10T17:16:32+03:00 + 2021-05-11T17:58:45+03:00 https://alanorth.github.io/cgspace-notes/2021-04/ 2021-04-28T18:57:48+03:00