diff --git a/content/posts/2018-10.md b/content/posts/2018-10.md index 48aa1f0c1..9ed036d73 100644 --- a/content/posts/2018-10.md +++ b/content/posts/2018-10.md @@ -490,4 +490,17 @@ $ http --print Hh 'https://dspacetest.cgiar.org/handle/10568/1' User-Agent:'"Moz - Discuss AfricaRice joining CGSpace +## 2018-10-22 + +- Post message to Yammer about usage rights (dc.rights) +- Change `build.properties` to use HTTPS for Handles in our [Ansible infrastructure playbooks](https://github.com/ilri/rmg-ansible-public) +- We will still need to do a batch update of the `dc.identifier.uri` and other fields in the database: + +``` +dspace=# UPDATE metadatavalue SET text_value=replace(text_value, 'http://', 'https://') WHERE resource_type_id=2 AND text_value LIKE 'http://hdl.handle.net%'; +``` + +- While I was doing that I found two items using CGSpace URLs instead of handles in their `dc.identifier.uri` so I corrected those +- I also found several items that had invalid characters or multiple Handles in some related URL field like `cg.link.reference` so I corrected those too + diff --git a/docs/2018-10/index.html b/docs/2018-10/index.html index d5d0810ee..c7aa7df0f 100644 --- a/docs/2018-10/index.html +++ b/docs/2018-10/index.html @@ -9,7 +9,7 @@ - + @@ -24,9 +24,9 @@ "@type": "BlogPosting", "headline": "October, 2018", "url": "https://alanorth.github.io/cgspace-notes/2018-10/", - "wordCount": "3546", + "wordCount": "3644", "datePublished": "2018-10-01T22:31:54+03:00", - "dateModified": "2018-10-21T08:06:40+03:00", + "dateModified": "2018-10-21T12:22:33+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -649,6 +649,22 @@ ERROR: Error CREATEing SolrCore 'statistics': Unable to create core [statistics]
build.properties
to use HTTPS for Handles in our Ansible infrastructure playbooksdc.identifier.uri
and other fields in the database:dspace=# UPDATE metadatavalue SET text_value=replace(text_value, 'http://', 'https://') WHERE resource_type_id=2 AND text_value LIKE 'http://hdl.handle.net%';
+
+
+dc.identifier.uri
so I corrected thosecg.link.reference
so I corrected those too