From 286fd3fd3c7511bf8b2110e524b5f96b9dcdb693 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sat, 31 Oct 2020 15:35:58 +0200 Subject: [PATCH] Add notes for 2020-10-31 --- content/posts/2020-10.md | 17 +++++++++++++++++ docs/2020-10/index.html | 23 +++++++++++++++++++---- 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/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/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/sitemap.xml | 10 +++++----- 22 files changed, 60 insertions(+), 28 deletions(-) diff --git a/content/posts/2020-10.md b/content/posts/2020-10.md index 29b602b18..57f1b813e 100644 --- a/content/posts/2020-10.md +++ b/content/posts/2020-10.md @@ -967,4 +967,21 @@ $ ./delete-metadata-values.py -i 2020-10-30-delete-10-publishers.csv -db dspace - I will wait to apply them on CGSpace when I have all the other corrections from Peter processed +## 2020-10-31 + +- I had the idea to use the country formatter for CGSpace on the AReS Explorer because we have the `cg.coverage.iso3166-alpha2` field... + - This will be better than using the raw text values because AReS will match directly from the ISO 3166-1 list when using the country formatter +- Quickly process the sponsor corrections Peter sent me a few days ago and test them locally: + +``` +$ ./fix-metadata-values.py -i 2020-10-31-fix-82-sponsors.csv -db dspace -u dspace -p 'fuuu' -f dc.description.sponsorship -t 'correct' -m 29 +$ ./delete-metadata-values.py -i 2020-10-31-delete-74-sponsors.csv -db dspace -u dspace -p 'fuuu' -f dc.description.sponsorship -m 29 +``` + +- I applied all the fixes from today and yesterday on CGSpace and then started a full Discovery re-index: + +``` +$ time chrt -b 0 ionice -c2 -n7 nice -n19 dspace index-discovery -b +``` + diff --git a/docs/2020-10/index.html b/docs/2020-10/index.html index 5f06a7e46..044838e82 100644 --- a/docs/2020-10/index.html +++ b/docs/2020-10/index.html @@ -23,7 +23,7 @@ During the FlywayDB migration I got an error: - + @@ -51,9 +51,9 @@ During the FlywayDB migration I got an error: "@type": "BlogPosting", "headline": "October, 2020", "url": "https://alanorth.github.io/cgspace-notes/2020-10/", - "wordCount": "6585", + "wordCount": "6709", "datePublished": "2020-10-06T16:55:54+03:00", - "dateModified": "2020-10-29T00:05:25+03:00", + "dateModified": "2020-10-30T15:24:23+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -1202,7 +1202,22 @@ $ ./delete-metadata-values.py -i 2020-10-30-delete-10-publishers.csv -db dspace - +

2020-10-31

+ +
$ ./fix-metadata-values.py -i 2020-10-31-fix-82-sponsors.csv -db dspace -u dspace -p 'fuuu' -f dc.description.sponsorship -t 'correct' -m 29
+$ ./delete-metadata-values.py -i 2020-10-31-delete-74-sponsors.csv -db dspace -u dspace -p 'fuuu' -f dc.description.sponsorship -m 29
+
+
$ time chrt -b 0 ionice -c2 -n7 nice -n19 dspace index-discovery -b
+
diff --git a/docs/categories/index.html b/docs/categories/index.html index 84d7e2987..d7693f864 100644 --- a/docs/categories/index.html +++ b/docs/categories/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/categories/notes/index.html b/docs/categories/notes/index.html index f8f0ce063..d9e634cf6 100644 --- a/docs/categories/notes/index.html +++ b/docs/categories/notes/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/categories/notes/page/2/index.html b/docs/categories/notes/page/2/index.html index cd9d22584..e3e44d66b 100644 --- a/docs/categories/notes/page/2/index.html +++ b/docs/categories/notes/page/2/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/categories/notes/page/3/index.html b/docs/categories/notes/page/3/index.html index 470854f16..75d2f04b3 100644 --- a/docs/categories/notes/page/3/index.html +++ b/docs/categories/notes/page/3/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/categories/notes/page/4/index.html b/docs/categories/notes/page/4/index.html index 9aa06ede1..50740606c 100644 --- a/docs/categories/notes/page/4/index.html +++ b/docs/categories/notes/page/4/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/index.html b/docs/index.html index 416a14486..32c69f78f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/page/2/index.html b/docs/page/2/index.html index cd5010bce..c07f39c54 100644 --- a/docs/page/2/index.html +++ b/docs/page/2/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/page/3/index.html b/docs/page/3/index.html index 7ef1ee992..ca71fdce4 100644 --- a/docs/page/3/index.html +++ b/docs/page/3/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/page/4/index.html b/docs/page/4/index.html index fb3050146..62fa1b2eb 100644 --- a/docs/page/4/index.html +++ b/docs/page/4/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/page/5/index.html b/docs/page/5/index.html index b3fd32348..37acec00c 100644 --- a/docs/page/5/index.html +++ b/docs/page/5/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/page/6/index.html b/docs/page/6/index.html index 66d630e32..82d75f90a 100644 --- a/docs/page/6/index.html +++ b/docs/page/6/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/page/7/index.html b/docs/page/7/index.html index 874f522da..923781005 100644 --- a/docs/page/7/index.html +++ b/docs/page/7/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/index.html b/docs/posts/index.html index ff650616c..3bc805827 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/page/2/index.html b/docs/posts/page/2/index.html index a7b9a1757..f8c30666a 100644 --- a/docs/posts/page/2/index.html +++ b/docs/posts/page/2/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/page/3/index.html b/docs/posts/page/3/index.html index e020a59b7..19bb73f16 100644 --- a/docs/posts/page/3/index.html +++ b/docs/posts/page/3/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/page/4/index.html b/docs/posts/page/4/index.html index 978ae47fb..797a52fab 100644 --- a/docs/posts/page/4/index.html +++ b/docs/posts/page/4/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/page/5/index.html b/docs/posts/page/5/index.html index 99d7f1f59..da21ed69b 100644 --- a/docs/posts/page/5/index.html +++ b/docs/posts/page/5/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/page/6/index.html b/docs/posts/page/6/index.html index ed530cae3..217d3417f 100644 --- a/docs/posts/page/6/index.html +++ b/docs/posts/page/6/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/page/7/index.html b/docs/posts/page/7/index.html index 8634cad3d..ef7ca41b8 100644 --- a/docs/posts/page/7/index.html +++ b/docs/posts/page/7/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index f03e634ab..375acd3e5 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,27 +4,27 @@ https://alanorth.github.io/cgspace-notes/categories/ - 2020-10-29T00:05:25+03:00 + 2020-10-30T15:24:23+02:00 https://alanorth.github.io/cgspace-notes/ - 2020-10-29T00:05:25+03:00 + 2020-10-30T15:24:23+02:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2020-10-29T00:05:25+03:00 + 2020-10-30T15:24:23+02:00 https://alanorth.github.io/cgspace-notes/2020-10/ - 2020-10-29T00:05:25+03:00 + 2020-10-30T15:24:23+02:00 https://alanorth.github.io/cgspace-notes/posts/ - 2020-10-29T00:05:25+03:00 + 2020-10-30T15:24:23+02:00