From ea38540684b08429bfeddb42e6f6d6fc172ef829 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 20 Feb 2018 12:28:01 +0200 Subject: [PATCH] Update notes --- content/post/2018-02.md | 7 +++++++ docs/2018-02/index.html | 14 +++++++++++--- docs/sitemap.xml | 10 +++++----- 3 files changed, 23 insertions(+), 8 deletions(-) diff --git a/content/post/2018-02.md b/content/post/2018-02.md index 52480f93b..945a22011 100644 --- a/content/post/2018-02.md +++ b/content/post/2018-02.md @@ -709,4 +709,11 @@ TypeError: 'NoneType' object is not subscriptable - Send Abenet an email about getting a purchase requisition for a new DSpace Test server on Linode - Discuss some of the issues with null values and poor-quality names in some ORCID identifiers with Abenet and I think we'll now only use ORCID iDs that have been sent to use from partners, not those extracted via keyword searches on orcid.org +- This should be the version we use (the existing controlled vocabulary generated from CGSpace's Solr authority core plus the IDs sent to us so far by partners): + +``` +$ cat ~/src/git/DSpace/dspace/config/controlled-vocabularies/cg-creator-id.xml ORCID_ID_CIAT_IITA_IWMI.csv | grep -oE '[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}' | sort | uniq > 2018-02-20-combined.txt +``` + - I updated the `resolve-orcids.py` to use the "credit-name" if it exists in a profile, falling back to "given-names" + "family-name" +- Also, I added color coded output to the debug messages and added a "quiet" mode that supresses the normal behavior of printing results to the screen diff --git a/docs/2018-02/index.html b/docs/2018-02/index.html index 510759c28..c3d3e83fc 100644 --- a/docs/2018-02/index.html +++ b/docs/2018-02/index.html @@ -23,7 +23,7 @@ I copied the logic in the jmx_tomcat_dbpools provided by Ubuntu’s munin-pl - + @@ -57,9 +57,9 @@ I copied the logic in the jmx_tomcat_dbpools provided by Ubuntu’s munin-pl "@type": "BlogPosting", "headline": "February, 2018", "url": "https://alanorth.github.io/cgspace-notes/2018-02/", - "wordCount": "4464", + "wordCount": "4531", "datePublished": "2018-02-01T16:28:54+02:00", - "dateModified": "2018-02-20T09:52:39+02:00", + "dateModified": "2018-02-20T11:17:51+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -921,7 +921,15 @@ TypeError: 'NoneType' object is not subscriptable + +
$ cat ~/src/git/DSpace/dspace/config/controlled-vocabularies/cg-creator-id.xml ORCID_ID_CIAT_IITA_IWMI.csv | grep -oE '[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}' | sort | uniq > 2018-02-20-combined.txt
+
+ + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index f10b07874..ae1d75449 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2018-02/ - 2018-02-20T09:52:39+02:00 + 2018-02-20T11:17:51+02:00 @@ -149,7 +149,7 @@ https://alanorth.github.io/cgspace-notes/ - 2018-02-20T09:52:39+02:00 + 2018-02-20T11:17:51+02:00 0 @@ -160,7 +160,7 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2018-02-20T09:52:39+02:00 + 2018-02-20T11:17:51+02:00 0 @@ -172,13 +172,13 @@ https://alanorth.github.io/cgspace-notes/post/ - 2018-02-20T09:52:39+02:00 + 2018-02-20T11:17:51+02:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2018-02-20T09:52:39+02:00 + 2018-02-20T11:17:51+02:00 0