From 635072df5bd3e56ea3453cdd3cbd435ea78952e8 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Thu, 2 Nov 2017 10:07:34 +0200 Subject: [PATCH] Add notes for 2017-11-02 --- content/post/2017-11.md | 7 + public/2015-11/index.html | 4 +- public/2015-12/index.html | 4 +- public/2016-01/index.html | 4 +- public/2016-02/index.html | 4 +- public/2016-03/index.html | 4 +- public/2016-04/index.html | 4 +- public/2016-05/index.html | 4 +- public/2016-06/index.html | 4 +- public/2016-07/index.html | 4 +- public/2016-08/index.html | 4 +- public/2016-09/index.html | 4 +- public/2016-10/index.html | 4 +- public/2016-11/index.html | 4 +- public/2016-12/index.html | 4 +- public/2017-01/index.html | 4 +- public/2017-02/index.html | 4 +- public/2017-03/index.html | 4 +- public/2017-04/index.html | 4 +- public/2017-05/index.html | 4 +- public/2017-06/index.html | 4 +- public/2017-07/index.html | 4 +- public/2017-08/index.html | 4 +- public/2017-09/index.html | 4 +- public/2017-10/index.html | 4 +- public/2017-11/index.html | 247 ++++++++++++++++++++++ public/categories/notes/index.html | 4 +- public/cgiar-library-migration/index.html | 4 +- public/index.html | 90 ++++---- public/index.xml | 35 ++- public/page/2/index.html | 76 ++++--- public/page/3/index.html | 36 +++- public/post/index.html | 90 ++++---- public/post/index.xml | 35 ++- public/post/page/2/index.html | 76 ++++--- public/post/page/3/index.html | 36 +++- public/robots.txt | 1 + public/sitemap.xml | 13 +- public/tags/index.xml | 4 +- public/tags/notes/index.html | 76 ++++--- public/tags/notes/index.xml | 35 ++- public/tags/notes/page/2/index.html | 60 +++--- public/tags/notes/page/3/index.html | 34 ++- 43 files changed, 770 insertions(+), 285 deletions(-) create mode 100644 public/2017-11/index.html diff --git a/content/post/2017-11.md b/content/post/2017-11.md index 31add4364..54dec2dc4 100644 --- a/content/post/2017-11.md +++ b/content/post/2017-11.md @@ -18,5 +18,12 @@ tags: ["Notes"] 0 ``` +- Generate list of authors on CGSpace for Peter to go through and correct: + +``` +dspace=# \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 group by text_value order by count desc) to /tmp/authors.csv with csv; +COPY 54701 +``` + diff --git a/public/2015-11/index.html b/public/2015-11/index.html index c0915f57b..f1030ec88 100644 --- a/public/2015-11/index.html +++ b/public/2015-11/index.html @@ -293,6 +293,8 @@ db.statementpool = true
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -301,8 +303,6 @@ db.statementpool = true
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/2015-12/index.html b/public/2015-12/index.html index 3a464228c..968a2db3e 100644 --- a/public/2015-12/index.html +++ b/public/2015-12/index.html @@ -310,6 +310,8 @@ $ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -318,8 +320,6 @@ $ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/2016-01/index.html b/public/2016-01/index.html index b3824861f..00715d780 100644 --- a/public/2016-01/index.html +++ b/public/2016-01/index.html @@ -225,6 +225,8 @@ $ find SimpleArchiveForBio/ -iname “*.pdf” -exec basename {} \; | so
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -233,8 +235,6 @@ $ find SimpleArchiveForBio/ -iname “*.pdf” -exec basename {} \; | so
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/2016-02/index.html b/public/2016-02/index.html index 106b72c2f..cd4ce44d4 100644 --- a/public/2016-02/index.html +++ b/public/2016-02/index.html @@ -478,6 +478,8 @@ Bitstream: tést señora alimentación.pdf
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -486,8 +488,6 @@ Bitstream: tést señora alimentación.pdf
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/2016-03/index.html b/public/2016-03/index.html index 9dff0b01e..1a3e63e25 100644 --- a/public/2016-03/index.html +++ b/public/2016-03/index.html @@ -378,6 +378,8 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -386,8 +388,6 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/2016-04/index.html b/public/2016-04/index.html index 6d5aa6986..c2523acba 100644 --- a/public/2016-04/index.html +++ b/public/2016-04/index.html @@ -595,6 +595,8 @@ dspace.log.2016-04-27:7271
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -603,8 +605,6 @@ dspace.log.2016-04-27:7271
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/2016-05/index.html b/public/2016-05/index.html index f238134df..2797e975d 100644 --- a/public/2016-05/index.html +++ b/public/2016-05/index.html @@ -445,6 +445,8 @@ sys 0m20.540s
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -453,8 +455,6 @@ sys 0m20.540s
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/2016-06/index.html b/public/2016-06/index.html index f786d141e..f609900c1 100644 --- a/public/2016-06/index.html +++ b/public/2016-06/index.html @@ -490,6 +490,8 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -498,8 +500,6 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/2016-07/index.html b/public/2016-07/index.html index 2cf164cc8..d799493a2 100644 --- a/public/2016-07/index.html +++ b/public/2016-07/index.html @@ -408,6 +408,8 @@ discovery.index.authority.ignore-variants=true
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -416,8 +418,6 @@ discovery.index.authority.ignore-variants=true
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/2016-08/index.html b/public/2016-08/index.html index 4898023cd..34be40073 100644 --- a/public/2016-08/index.html +++ b/public/2016-08/index.html @@ -481,6 +481,8 @@ $ JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx512m" /home/cgspace.cgiar.org/b
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -489,8 +491,6 @@ $ JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx512m" /home/cgspace.cgiar.org/b
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/2016-09/index.html b/public/2016-09/index.html index cbbcb5676..eb8a99e7b 100644 --- a/public/2016-09/index.html +++ b/public/2016-09/index.html @@ -781,6 +781,8 @@ $ ./delete-metadata-values.py -i ilrisubjects-delete-13.csv -f cg.subject.ilri -
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -789,8 +791,6 @@ $ ./delete-metadata-values.py -i ilrisubjects-delete-13.csv -f cg.subject.ilri -
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/2016-10/index.html b/public/2016-10/index.html index ce9675aff..d09cf227f 100644 --- a/public/2016-10/index.html +++ b/public/2016-10/index.html @@ -467,6 +467,8 @@ dspace=# update metadatavalue set text_value = regexp_replace(text_value, 'http:
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -475,8 +477,6 @@ dspace=# update metadatavalue set text_value = regexp_replace(text_value, 'http:
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/2016-11/index.html b/public/2016-11/index.html index 8b325cfd2..2c2e66a6f 100644 --- a/public/2016-11/index.html +++ b/public/2016-11/index.html @@ -683,6 +683,8 @@ org.dspace.discovery.SearchServiceException: Error executing query
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -691,8 +693,6 @@ org.dspace.discovery.SearchServiceException: Error executing query
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/2016-12/index.html b/public/2016-12/index.html index 7c683ee63..3c555ce8d 100644 --- a/public/2016-12/index.html +++ b/public/2016-12/index.html @@ -919,6 +919,8 @@ $ exit
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -927,8 +929,6 @@ $ exit
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/2017-01/index.html b/public/2017-01/index.html index fc3106aac..42232ebd7 100644 --- a/public/2017-01/index.html +++ b/public/2017-01/index.html @@ -464,6 +464,8 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -472,8 +474,6 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/2017-02/index.html b/public/2017-02/index.html index 6ccb0159e..dd1dee391 100644 --- a/public/2017-02/index.html +++ b/public/2017-02/index.html @@ -536,6 +536,8 @@ COPY 1968
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -544,8 +546,6 @@ COPY 1968
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/2017-03/index.html b/public/2017-03/index.html index 92c1a60ae..cb942bd81 100644 --- a/public/2017-03/index.html +++ b/public/2017-03/index.html @@ -450,6 +450,8 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -458,8 +460,6 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/2017-04/index.html b/public/2017-04/index.html index 2f1ef57ae..06f6a8dc1 100644 --- a/public/2017-04/index.html +++ b/public/2017-04/index.html @@ -729,6 +729,8 @@ $ gem install compass -v 1.0.3
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -737,8 +739,6 @@ $ gem install compass -v 1.0.3
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/2017-05/index.html b/public/2017-05/index.html index 203e37c87..06aeb26f6 100644 --- a/public/2017-05/index.html +++ b/public/2017-05/index.html @@ -483,6 +483,8 @@ UPDATE 187
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -491,8 +493,6 @@ UPDATE 187
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/2017-06/index.html b/public/2017-06/index.html index da1923a9d..8b8ff548d 100644 --- a/public/2017-06/index.html +++ b/public/2017-06/index.html @@ -301,6 +301,8 @@ $ JAVA_OPTS="-Xmx1024m -Dfile.encoding=UTF-8" [dspace]/bin/dspace impo
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -309,8 +311,6 @@ $ JAVA_OPTS="-Xmx1024m -Dfile.encoding=UTF-8" [dspace]/bin/dspace impo
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/2017-07/index.html b/public/2017-07/index.html index 2a1f94060..0ee908c82 100644 --- a/public/2017-07/index.html +++ b/public/2017-07/index.html @@ -336,6 +336,8 @@ delete from metadatavalue where resource_type_id=2 and metadata_field_id=235 and
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -344,8 +346,6 @@ delete from metadatavalue where resource_type_id=2 and metadata_field_id=235 and
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/2017-08/index.html b/public/2017-08/index.html index d5bc75776..272770763 100644 --- a/public/2017-08/index.html +++ b/public/2017-08/index.html @@ -622,6 +622,8 @@ org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -630,8 +632,6 @@ org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/2017-09/index.html b/public/2017-09/index.html index 2d9a9733e..0907240f1 100644 --- a/public/2017-09/index.html +++ b/public/2017-09/index.html @@ -794,6 +794,8 @@ Cert Status: good
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -802,8 +804,6 @@ Cert Status: good
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/2017-10/index.html b/public/2017-10/index.html index 0615ea5db..906d0ab0a 100644 --- a/public/2017-10/index.html +++ b/public/2017-10/index.html @@ -559,6 +559,8 @@ session_id=6C30F10B4351A4ED83EC6ED50AFD6B6A
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -567,8 +569,6 @@ session_id=6C30F10B4351A4ED83EC6ED50AFD6B6A
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/2017-11/index.html b/public/2017-11/index.html new file mode 100644 index 000000000..f30945761 --- /dev/null +++ b/public/2017-11/index.html @@ -0,0 +1,247 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + November, 2017 | CGSpace Notes + + + + + + + + + + + + + + + + +
+
+ +
+
+ +
+
+

CGSpace Notes

+

Documenting day-to-day work on the CGSpace repository.

+
+
+ +
+
+
+ + + + +
+
+

November, 2017

+ +
+

2017-11-01

+ +
    +
  • The CORE developers responded to say they are looking into their bot not respecting our robots.txt
  • +
+ +

2017-11-02

+ +
    +
  • Today there have been no hits by CORE and no alerts from Linode (coincidence?)
  • +
+ +
# grep -c "CORE" /var/log/nginx/access.log
+0
+
+ +
    +
  • Generate list of authors on CGSpace for Peter to go through and correct:
  • +
+ +
dspace=# \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 group by text_value order by count desc) to /tmp/authors.csv with csv;
+COPY 54701
+
+ +

+ + + + + +
+ + + +
+ + + + +
+
+ + + + + + diff --git a/public/categories/notes/index.html b/public/categories/notes/index.html index 295a7893a..c8387b800 100644 --- a/public/categories/notes/index.html +++ b/public/categories/notes/index.html @@ -130,6 +130,8 @@
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -138,8 +140,6 @@
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/cgiar-library-migration/index.html b/public/cgiar-library-migration/index.html index 9c81192d6..1d1670016 100644 --- a/public/cgiar-library-migration/index.html +++ b/public/cgiar-library-migration/index.html @@ -336,6 +336,8 @@ dspace=# select setval('handle_seq',86873);
    +
  1. November, 2017
  2. +
  3. October, 2017
  4. CGIAR Library Migration
  5. @@ -344,8 +346,6 @@ dspace=# select setval('handle_seq',86873);
  6. August, 2017
  7. -
  8. July, 2017
  9. -
diff --git a/public/index.html b/public/index.html index 5e93faa7b..f83d9c162 100644 --- a/public/index.html +++ b/public/index.html @@ -12,7 +12,7 @@ - + @@ -39,7 +39,7 @@ "@type": "Person", "name": "Alan Orth" }, - "dateModified": "2017-10-01T08:07:54+03:00", + "dateModified": "2017-11-02T09:37:54+02:00", "keywords": "notes,notes,", "description": "Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." } @@ -97,6 +97,48 @@ +
+
+

November, 2017

+ +
+

2017-11-01

+ + + +

2017-11-02

+ + + +
# grep -c "CORE" /var/log/nginx/access.log
+0
+
+ + + +
dspace=# \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 group by text_value order by count desc) to /tmp/authors.csv with csv;
+COPY 54701
+
+ +

+ Read more → +
+ + + + + +

October, 2017

@@ -365,46 +407,6 @@ - -
-
-

February, 2017

- -
-

2017-02-07

- -
    -
  • An item was mapped twice erroneously again, so I had to remove one of the mappings manually:
  • -
- -
dspace=# select * from collection2item where item_id = '80278';
-  id   | collection_id | item_id
--------+---------------+---------
- 92551 |           313 |   80278
- 92550 |           313 |   80278
- 90774 |          1051 |   80278
-(3 rows)
-dspace=# delete from collection2item where id = 92551 and item_id = 80278;
-DELETE 1
-
- -
    -
  • Create issue on GitHub to track the addition of CCAFS Phase II project tags (#301)
  • -
  • Looks like we’ll be using cg.identifier.ccafsprojectpii as the field name
  • -
- -

- Read more → -
- - - - -