From 23ba9d8e06d511c0e78e1d56acec1dd3e7fb51f9 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Wed, 18 Dec 2019 16:00:15 +0200 Subject: [PATCH] Update notes for 2019-12-18 --- content/posts/2019-12.md | 18 ++++++++++++++++++ docs/2019-12/index.html | 28 ++++++++++++++++++++++++---- docs/sitemap.xml | 10 +++++----- 3 files changed, 47 insertions(+), 9 deletions(-) diff --git a/content/posts/2019-12.md b/content/posts/2019-12.md index f815d06f4..3d08c60b7 100644 --- a/content/posts/2019-12.md +++ b/content/posts/2019-12.md @@ -149,4 +149,22 @@ $ ./fix-metadata-values.py -i /tmp/2019-12-17-investors-fix-112.csv -db dspace - $ ./delete-metadata-values.py -i /tmp/2019-12-17-investors-delete-68.csv -db dspace -u dspace -p 'fuuu' -m 29 -f dc.description.sponsorship -d ``` +- Peter asked about the "Open Government Licence 3.0" that is used by [some items]() + - I notice that it [exists in SPDX as `UGL-UK-3.0`](https://spdx.org/licenses/OGL-UK-3.0.html) so I created a GitHub issue to add this to our controlled vocabulary ([#439](https://github.com/ilri/DSpace/issues/439)) + - I only see two in our database that use this for now, so I will update them: + +``` +dspace=# SELECT text_value FROM metadatavalue WHERE resource_type_id=2 AND metadata_field_id=53 AND text_value LIKE '%Open%'; + text_value +----------------------------- + Open Government License 3.0 + Open Government License 3.0 +(2 rows) +dspace=# UPDATE metadatavalue SET text_value='OGL-UK-3.0' WHERE resource_type_id=2 AND metadata_field_id=53 AND text_value LIKE '%Open Government License 3.0%'; +UPDATE 2 +``` + +- I created a pull request to add the license and merged it to the `5_x-prod` branch ([#440](https://github.com/ilri/DSpace/pull/440)) +- Add three new CCAFS Phase II project tags to CGSpace ([#441](https://github.com/ilri/DSpace/pull/441)) + diff --git a/docs/2019-12/index.html b/docs/2019-12/index.html index 40b1e2a52..6734eb054 100644 --- a/docs/2019-12/index.html +++ b/docs/2019-12/index.html @@ -24,7 +24,7 @@ Make sure all packages are up to date and the package manager is up to date, the - + @@ -53,9 +53,9 @@ Make sure all packages are up to date and the package manager is up to date, the "@type": "BlogPosting", "headline": "December, 2019", "url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-12\/", - "wordCount": "971", + "wordCount": "1096", "datePublished": "2019-12-01T11:22:30+02:00", - "dateModified": "2019-12-17T16:45:21+02:00", + "dateModified": "2019-12-18T11:41:55+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -288,7 +288,27 @@ COPY 643
$ ./fix-metadata-values.py -i /tmp/2019-12-17-investors-fix-112.csv -db dspace -u dspace -p 'fuuu' -f dc.description.sponsorship -m 29 -t correct -d
 $ ./delete-metadata-values.py -i /tmp/2019-12-17-investors-delete-68.csv -db dspace -u dspace -p 'fuuu' -m 29 -f dc.description.sponsorship -d
-
+ +
dspace=# SELECT text_value FROM metadatavalue WHERE resource_type_id=2 AND metadata_field_id=53 AND text_value LIKE '%Open%';
+         text_value          
+-----------------------------
+ Open Government License 3.0
+ Open Government License 3.0
+(2 rows)
+dspace=# UPDATE metadatavalue SET text_value='OGL-UK-3.0' WHERE resource_type_id=2 AND metadata_field_id=53 AND text_value LIKE '%Open Government License 3.0%';
+UPDATE 2
+
+ diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 11435ec81..27171abdd 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,27 +4,27 @@ https://alanorth.github.io/cgspace-notes/categories/ - 2019-12-17T16:45:21+02:00 + 2019-12-18T11:41:55+02:00 https://alanorth.github.io/cgspace-notes/ - 2019-12-17T16:45:21+02:00 + 2019-12-18T11:41:55+02:00 https://alanorth.github.io/cgspace-notes/2019-12/ - 2019-12-17T16:45:21+02:00 + 2019-12-18T11:41:55+02:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2019-12-17T16:45:21+02:00 + 2019-12-18T11:41:55+02:00 https://alanorth.github.io/cgspace-notes/posts/ - 2019-12-17T16:45:21+02:00 + 2019-12-18T11:41:55+02:00