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
+ 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;
+
+
+