From a0103feaaed499e90752b50e8e12d68f86cf75a2 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Thu, 6 Oct 2016 08:06:32 +0300 Subject: [PATCH] Add notes for 2016-10-05 --- content/post/2016-10.md | 10 ++++++++++ public/2015-11/index.html | 1 + public/2015-12/index.html | 1 + public/2016-01/index.html | 1 + public/2016-02/index.html | 1 + public/2016-03/index.html | 1 + public/2016-04/index.html | 1 + public/2016-05/index.html | 1 + public/2016-06/index.html | 1 + public/2016-07/index.html | 1 + public/2016-08/index.html | 1 + public/2016-09/index.html | 1 + public/2016-10/index.html | 12 ++++++++++++ public/index.xml | 11 +++++++++++ public/post/index.xml | 11 +++++++++++ public/tags/notes/index.xml | 11 +++++++++++ themes/hugo-theme-bootstrap4-blog | 2 +- 17 files changed, 67 insertions(+), 1 deletion(-) diff --git a/content/post/2016-10.md b/content/post/2016-10.md index 6f13ba3ba..bf8ee9959 100644 --- a/content/post/2016-10.md +++ b/content/post/2016-10.md @@ -40,3 +40,13 @@ $ ./delete-metadata-values.py -i authors-delete-3.csv -f dc.contributor.author - ``` - Remove old about page ([#284](https://github.com/ilri/DSpace/pull/284)) +- CGSpace crashed a few times today +- Generate list of unique authors in CCAFS collections: + +``` +dspacetest=# \copy (select distinct text_value, count(*) as count from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element = 'contributor' and qualifier = 'author') AND resource_type_id = 2 AND resource_id IN (select item_id from collection2item where collection_id IN (select resource_id from handle where handle in ('10568/32729', '10568/5472', '10568/5473', '10568/10288', '10568/70974', '10568/3547', '10568/3549', '10568/3531','10568/16890','10568/5470','10568/3546', '10568/36024', '10568/66581', '10568/21789', '10568/5469', '10568/5468', '10568/3548', '10568/71053', '10568/25167'))) group by text_value order by count desc) to /tmp/ccafs-authors.csv with csv; +``` + +## 2016-10-05 + +- Work on more infrastructure cleanups for Ansible DSpace role diff --git a/public/2015-11/index.html b/public/2015-11/index.html index b1d5e1eb8..5afc7c954 100644 --- a/public/2015-11/index.html +++ b/public/2015-11/index.html @@ -230,6 +230,7 @@ db.statementpool = true + diff --git a/public/2015-12/index.html b/public/2015-12/index.html index 6866605f4..ca02efa86 100644 --- a/public/2015-12/index.html +++ b/public/2015-12/index.html @@ -245,6 +245,7 @@ $ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle + diff --git a/public/2016-01/index.html b/public/2016-01/index.html index 2a29e63ec..1175d706b 100644 --- a/public/2016-01/index.html +++ b/public/2016-01/index.html @@ -170,6 +170,7 @@ $ find SimpleArchiveForBio/ -iname “*.pdf” -exec basename {} \; | so

XMLUI subjects after

+ diff --git a/public/2016-02/index.html b/public/2016-02/index.html index b77e2736b..78661d679 100644 --- a/public/2016-02/index.html +++ b/public/2016-02/index.html @@ -409,6 +409,7 @@ Bitstream: tést señora alimentación.pdf + diff --git a/public/2016-03/index.html b/public/2016-03/index.html index e85847c91..45666da77 100644 --- a/public/2016-03/index.html +++ b/public/2016-03/index.html @@ -323,6 +323,7 @@ + diff --git a/public/2016-04/index.html b/public/2016-04/index.html index fee25318e..b837a2a17 100644 --- a/public/2016-04/index.html +++ b/public/2016-04/index.html @@ -536,6 +536,7 @@ dspace.log.2016-04-27:7271 + diff --git a/public/2016-05/index.html b/public/2016-05/index.html index 815b23711..8e33dede3 100644 --- a/public/2016-05/index.html +++ b/public/2016-05/index.html @@ -382,6 +382,7 @@ sys 0m20.540s + diff --git a/public/2016-06/index.html b/public/2016-06/index.html index d9c064962..24bbd216d 100644 --- a/public/2016-06/index.html +++ b/public/2016-06/index.html @@ -429,6 +429,7 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D + diff --git a/public/2016-07/index.html b/public/2016-07/index.html index fac022b77..a9eaddeed 100644 --- a/public/2016-07/index.html +++ b/public/2016-07/index.html @@ -331,6 +331,7 @@ discovery.index.authority.ignore-variants=true + diff --git a/public/2016-08/index.html b/public/2016-08/index.html index f6b08d0c9..9a9cb50d8 100644 --- a/public/2016-08/index.html +++ b/public/2016-08/index.html @@ -410,6 +410,7 @@ $ JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx512m" /home/cgspace.cgiar.org/b + diff --git a/public/2016-09/index.html b/public/2016-09/index.html index eef0d18fa..1f4cc3ef6 100644 --- a/public/2016-09/index.html +++ b/public/2016-09/index.html @@ -718,6 +718,7 @@ $ ./delete-metadata-values.py -i ilrisubjects-delete-13.csv -f cg.subject.ilri - + diff --git a/public/2016-10/index.html b/public/2016-10/index.html index 59a58bd76..f2c594bfd 100644 --- a/public/2016-10/index.html +++ b/public/2016-10/index.html @@ -132,10 +132,22 @@ $ ./delete-metadata-values.py -i authors-delete-3.csv -f dc.contributor.author - + +
dspacetest=# \copy (select distinct text_value, count(*) as count from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element = 'contributor' and qualifier = 'author') AND resource_type_id = 2 AND resource_id IN (select item_id from collection2item where collection_id IN (select resource_id from handle where handle in ('10568/32729', '10568/5472', '10568/5473', '10568/10288', '10568/70974', '10568/3547', '10568/3549', '10568/3531','10568/16890','10568/5470','10568/3546', '10568/36024', '10568/66581', '10568/21789', '10568/5469', '10568/5468', '10568/3548', '10568/71053', '10568/25167'))) group by text_value order by count desc) to /tmp/ccafs-authors.csv with csv;
+
+ +

2016-10-05

+ + + diff --git a/public/index.xml b/public/index.xml index 6b55dbda4..7933ac01b 100644 --- a/public/index.xml +++ b/public/index.xml @@ -65,6 +65,17 @@ $ ./delete-metadata-values.py -i authors-delete-3.csv -f dc.contributor.author - <ul> <li>Remove old about page (<a href="https://github.com/ilri/DSpace/pull/284">#284</a>)</li> +<li>CGSpace crashed a few times today</li> +<li>Generate list of unique authors in CCAFS collections:</li> +</ul> + +<pre><code>dspacetest=# \copy (select distinct text_value, count(*) as count from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element = 'contributor' and qualifier = 'author') AND resource_type_id = 2 AND resource_id IN (select item_id from collection2item where collection_id IN (select resource_id from handle where handle in ('10568/32729', '10568/5472', '10568/5473', '10568/10288', '10568/70974', '10568/3547', '10568/3549', '10568/3531','10568/16890','10568/5470','10568/3546', '10568/36024', '10568/66581', '10568/21789', '10568/5469', '10568/5468', '10568/3548', '10568/71053', '10568/25167'))) group by text_value order by count desc) to /tmp/ccafs-authors.csv with csv; +</code></pre> + +<h2 id="2016-10-05">2016-10-05</h2> + +<ul> +<li>Work on more infrastructure cleanups for Ansible DSpace role</li> </ul> diff --git a/public/post/index.xml b/public/post/index.xml index 9bef17e88..5b7f9bfbd 100644 --- a/public/post/index.xml +++ b/public/post/index.xml @@ -65,6 +65,17 @@ $ ./delete-metadata-values.py -i authors-delete-3.csv -f dc.contributor.author - <ul> <li>Remove old about page (<a href="https://github.com/ilri/DSpace/pull/284">#284</a>)</li> +<li>CGSpace crashed a few times today</li> +<li>Generate list of unique authors in CCAFS collections:</li> +</ul> + +<pre><code>dspacetest=# \copy (select distinct text_value, count(*) as count from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element = 'contributor' and qualifier = 'author') AND resource_type_id = 2 AND resource_id IN (select item_id from collection2item where collection_id IN (select resource_id from handle where handle in ('10568/32729', '10568/5472', '10568/5473', '10568/10288', '10568/70974', '10568/3547', '10568/3549', '10568/3531','10568/16890','10568/5470','10568/3546', '10568/36024', '10568/66581', '10568/21789', '10568/5469', '10568/5468', '10568/3548', '10568/71053', '10568/25167'))) group by text_value order by count desc) to /tmp/ccafs-authors.csv with csv; +</code></pre> + +<h2 id="2016-10-05">2016-10-05</h2> + +<ul> +<li>Work on more infrastructure cleanups for Ansible DSpace role</li> </ul> diff --git a/public/tags/notes/index.xml b/public/tags/notes/index.xml index 5ba73f0ca..4798b3aad 100644 --- a/public/tags/notes/index.xml +++ b/public/tags/notes/index.xml @@ -64,6 +64,17 @@ $ ./delete-metadata-values.py -i authors-delete-3.csv -f dc.contributor.author - <ul> <li>Remove old about page (<a href="https://github.com/ilri/DSpace/pull/284">#284</a>)</li> +<li>CGSpace crashed a few times today</li> +<li>Generate list of unique authors in CCAFS collections:</li> +</ul> + +<pre><code>dspacetest=# \copy (select distinct text_value, count(*) as count from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element = 'contributor' and qualifier = 'author') AND resource_type_id = 2 AND resource_id IN (select item_id from collection2item where collection_id IN (select resource_id from handle where handle in ('10568/32729', '10568/5472', '10568/5473', '10568/10288', '10568/70974', '10568/3547', '10568/3549', '10568/3531','10568/16890','10568/5470','10568/3546', '10568/36024', '10568/66581', '10568/21789', '10568/5469', '10568/5468', '10568/3548', '10568/71053', '10568/25167'))) group by text_value order by count desc) to /tmp/ccafs-authors.csv with csv; +</code></pre> + +<h2 id="2016-10-05">2016-10-05</h2> + +<ul> +<li>Work on more infrastructure cleanups for Ansible DSpace role</li> </ul> diff --git a/themes/hugo-theme-bootstrap4-blog b/themes/hugo-theme-bootstrap4-blog index 48a6a82dc..07ea0a3d6 160000 --- a/themes/hugo-theme-bootstrap4-blog +++ b/themes/hugo-theme-bootstrap4-blog @@ -1 +1 @@ -Subproject commit 48a6a82dccd35d262be7a4d9271c0194557e48ef +Subproject commit 07ea0a3d68bd34ffc3c113060ddbccaefd5a4f52