diff --git a/content/post/2017-04.md b/content/post/2017-04.md new file mode 100644 index 000000000..f41f5f0ef --- /dev/null +++ b/content/post/2017-04.md @@ -0,0 +1,15 @@ ++++ +date = "2017-04-02T17:08:52+02:00" +author = "Alan Orth" +title = "April, 2017" +tags = ["Notes"] + ++++ +## 2017-04-02 + +- Merge one change to CCAFS flagships that I had forgotten to remove last month ("MANAGING CLIMATE RISK"): https://github.com/ilri/DSpace/pull/317 +- Quick proof-of-concept hack to add `dc.rights` to the input form, including some inline instructions/hints: + +![dc.rights in the submission form](/cgspace-notes/2017/04/dc-rights.png) + + diff --git a/public/2015-11/index.html b/public/2015-11/index.html index a3b257304..c7adf0049 100644 --- a/public/2015-11/index.html +++ b/public/2015-11/index.html @@ -25,7 +25,7 @@ $ psql -c 'SELECT * from pg_stat_activity;' | grep idle | grep -c cgspac - + @@ -71,7 +71,7 @@ $ psql -c 'SELECT * from pg_stat_activity;' | grep idle | grep -c cgspac "url": "https://alanorth.github.io/cgspace-notes/2015-11/", "wordCount": "798", "datePublished": "2015-11-23T17:00:57+03:00", - "dateModified": "2016-09-28T17:02:30+03:00", + "dateModified": "2015-11-23T17:00:57+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -301,6 +301,8 @@ db.statementpool = true
    +
  1. April, 2017
  2. +
  3. March, 2017
  4. February, 2017
  5. @@ -309,8 +311,6 @@ db.statementpool = true
  6. December, 2016
  7. -
  8. November, 2016
  9. -
diff --git a/public/2015-12/index.html b/public/2015-12/index.html index 6101098b6..933b0eab5 100644 --- a/public/2015-12/index.html +++ b/public/2015-12/index.html @@ -26,7 +26,7 @@ Replace lzop with xz in log compression cron jobs on DSpace Test—it uses less - + @@ -73,7 +73,7 @@ Replace lzop with xz in log compression cron jobs on DSpace Test—it uses less "url": "https://alanorth.github.io/cgspace-notes/2015-12/", "wordCount": "753", "datePublished": "2015-12-02T13:18:00+03:00", - "dateModified": "2017-01-09T16:18:07+02:00", + "dateModified": "2015-12-02T13:18:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -318,6 +318,8 @@ $ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle
    +
  1. April, 2017
  2. +
  3. March, 2017
  4. February, 2017
  5. @@ -326,8 +328,6 @@ $ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle
  6. December, 2016
  7. -
  8. November, 2016
  9. -
diff --git a/public/2016-01/index.html b/public/2016-01/index.html index 6e8338509..28a36a744 100644 --- a/public/2016-01/index.html +++ b/public/2016-01/index.html @@ -21,7 +21,7 @@ Update GitHub wiki for documentation of maintenance tasks. - + @@ -63,7 +63,7 @@ Update GitHub wiki for documentation of maintenance tasks. "url": "https://alanorth.github.io/cgspace-notes/2016-01/", "wordCount": "466", "datePublished": "2016-01-13T13:18:00+03:00", - "dateModified": "2017-01-09T16:18:07+02:00", + "dateModified": "2016-01-13T13:18:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -233,6 +233,8 @@ $ find SimpleArchiveForBio/ -iname “*.pdf” -exec basename {} \; | so
    +
  1. April, 2017
  2. +
  3. March, 2017
  4. February, 2017
  5. @@ -241,8 +243,6 @@ $ find SimpleArchiveForBio/ -iname “*.pdf” -exec basename {} \; | so
  6. December, 2016
  7. -
  8. November, 2016
  9. -
diff --git a/public/2016-02/index.html b/public/2016-02/index.html index 4a6b69792..99dd1e1ea 100644 --- a/public/2016-02/index.html +++ b/public/2016-02/index.html @@ -28,7 +28,7 @@ Also, lots of things like “COTE D`LVOIRE” and “COTE D IVOIRE&r - + @@ -77,7 +77,7 @@ Also, lots of things like “COTE D`LVOIRE” and “COTE D IVOIRE&r "url": "https://alanorth.github.io/cgspace-notes/2016-02/", "wordCount": "1657", "datePublished": "2016-02-05T13:18:00+03:00", - "dateModified": "2017-01-09T16:18:07+02:00", + "dateModified": "2016-02-05T13:18:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -486,6 +486,8 @@ Bitstream: tést señora alimentación.pdf
    +
  1. April, 2017
  2. +
  3. March, 2017
  4. February, 2017
  5. @@ -494,8 +496,6 @@ Bitstream: tést señora alimentación.pdf
  6. December, 2016
  7. -
  8. November, 2016
  9. -
diff --git a/public/2016-03/index.html b/public/2016-03/index.html index 39b7dfc2e..66643832c 100644 --- a/public/2016-03/index.html +++ b/public/2016-03/index.html @@ -21,7 +21,7 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja - + @@ -63,7 +63,7 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja "url": "https://alanorth.github.io/cgspace-notes/2016-03/", "wordCount": "1581", "datePublished": "2016-03-02T16:50:00+03:00", - "dateModified": "2017-01-09T16:18:07+02:00", + "dateModified": "2016-03-02T16:50:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -386,6 +386,8 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja
    +
  1. April, 2017
  2. +
  3. March, 2017
  4. February, 2017
  5. @@ -394,8 +396,6 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja
  6. December, 2016
  7. -
  8. November, 2016
  9. -
diff --git a/public/2016-04/index.html b/public/2016-04/index.html index 8168ec38d..c7980c46a 100644 --- a/public/2016-04/index.html +++ b/public/2016-04/index.html @@ -23,7 +23,7 @@ Also, I noticed the checker log has some errors we should pay attention to: - + @@ -67,7 +67,7 @@ Also, I noticed the checker log has some errors we should pay attention to: "url": "https://alanorth.github.io/cgspace-notes/2016-04/", "wordCount": "2006", "datePublished": "2016-04-04T11:06:00+03:00", - "dateModified": "2016-09-28T17:02:30+03:00", + "dateModified": "2016-04-04T11:06:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -603,6 +603,8 @@ dspace.log.2016-04-27:7271
    +
  1. April, 2017
  2. +
  3. March, 2017
  4. February, 2017
  5. @@ -611,8 +613,6 @@ dspace.log.2016-04-27:7271
  6. December, 2016
  7. -
  8. November, 2016
  9. -
diff --git a/public/2016-05/index.html b/public/2016-05/index.html index c58fbde43..d8e1a3e1b 100644 --- a/public/2016-05/index.html +++ b/public/2016-05/index.html @@ -25,7 +25,7 @@ There are 3,000 IPs accessing the REST API in a 24-hour period! - + @@ -71,7 +71,7 @@ There are 3,000 IPs accessing the REST API in a 24-hour period! "url": "https://alanorth.github.io/cgspace-notes/2016-05/", "wordCount": "1349", "datePublished": "2016-05-01T23:06:00+03:00", - "dateModified": "2017-01-09T16:18:07+02:00", + "dateModified": "2016-05-01T23:06:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -453,6 +453,8 @@ sys 0m20.540s
    +
  1. April, 2017
  2. +
  3. March, 2017
  4. February, 2017
  5. @@ -461,8 +463,6 @@ sys 0m20.540s
  6. December, 2016
  7. -
  8. November, 2016
  9. -
diff --git a/public/2016-06/index.html b/public/2016-06/index.html index 9e4d76c90..2071346be 100644 --- a/public/2016-06/index.html +++ b/public/2016-06/index.html @@ -24,7 +24,7 @@ Working on second phase of metadata migration, looks like this will work for mov - + @@ -69,7 +69,7 @@ Working on second phase of metadata migration, looks like this will work for mov "url": "https://alanorth.github.io/cgspace-notes/2016-06/", "wordCount": "1549", "datePublished": "2016-06-01T10:53:00+03:00", - "dateModified": "2017-01-09T16:18:07+02:00", + "dateModified": "2016-06-01T10:53:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -498,6 +498,8 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D
    +
  1. April, 2017
  2. +
  3. March, 2017
  4. February, 2017
  5. @@ -506,8 +508,6 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D
  6. December, 2016
  7. -
  8. November, 2016
  9. -
diff --git a/public/2016-07/index.html b/public/2016-07/index.html index 8ccd0c9a8..59ac884fd 100644 --- a/public/2016-07/index.html +++ b/public/2016-07/index.html @@ -32,7 +32,7 @@ In this case the select query was showing 95 results before the update - + @@ -85,7 +85,7 @@ In this case the select query was showing 95 results before the update "url": "https://alanorth.github.io/cgspace-notes/2016-07/", "wordCount": "866", "datePublished": "2016-07-01T10:53:00+03:00", - "dateModified": "2017-01-09T16:18:07+02:00", + "dateModified": "2016-07-01T10:53:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -416,6 +416,8 @@ discovery.index.authority.ignore-variants=true
    +
  1. April, 2017
  2. +
  3. March, 2017
  4. February, 2017
  5. @@ -424,8 +426,6 @@ discovery.index.authority.ignore-variants=true
  6. December, 2016
  7. -
  8. November, 2016
  9. -
diff --git a/public/2016-08/index.html b/public/2016-08/index.html index 2ef58db1a..69a52c7c9 100644 --- a/public/2016-08/index.html +++ b/public/2016-08/index.html @@ -29,7 +29,7 @@ $ git rebase -i dspace-5.5 - + @@ -79,7 +79,7 @@ $ git rebase -i dspace-5.5 "url": "https://alanorth.github.io/cgspace-notes/2016-08/", "wordCount": "1514", "datePublished": "2016-08-01T15:53:00+03:00", - "dateModified": "2017-01-09T16:18:07+02:00", + "dateModified": "2016-08-01T15:53:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -489,6 +489,8 @@ $ JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx512m" /home/cgspace.cgiar.org/b
    +
  1. April, 2017
  2. +
  3. March, 2017
  4. February, 2017
  5. @@ -497,8 +499,6 @@ $ JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx512m" /home/cgspace.cgiar.org/b
  6. December, 2016
  7. -
  8. November, 2016
  9. -
diff --git a/public/2016-09/index.html b/public/2016-09/index.html index e09134a46..88d1e5e73 100644 --- a/public/2016-09/index.html +++ b/public/2016-09/index.html @@ -25,7 +25,7 @@ $ ldapsearch -x -H ldaps://svcgroot2.cgiarad.org:3269/ -b "dc=cgiarad,dc=or - + @@ -71,7 +71,7 @@ $ ldapsearch -x -H ldaps://svcgroot2.cgiarad.org:3269/ -b "dc=cgiarad,dc=or "url": "https://alanorth.github.io/cgspace-notes/2016-09/", "wordCount": "3298", "datePublished": "2016-09-01T15:53:00+03:00", - "dateModified": "2017-01-09T16:18:07+02:00", + "dateModified": "2016-09-01T15:53:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -789,6 +789,8 @@ $ ./delete-metadata-values.py -i ilrisubjects-delete-13.csv -f cg.subject.ilri -
    +
  1. April, 2017
  2. +
  3. March, 2017
  4. February, 2017
  5. @@ -797,8 +799,6 @@ $ ./delete-metadata-values.py -i ilrisubjects-delete-13.csv -f cg.subject.ilri -
  6. December, 2016
  7. -
  8. November, 2016
  9. -
diff --git a/public/2016-10/index.html b/public/2016-10/index.html index 0ba20afd4..15e4263f2 100644 --- a/public/2016-10/index.html +++ b/public/2016-10/index.html @@ -29,7 +29,7 @@ I exported a random item’s metadata as CSV, deleted all columns except id - + @@ -79,7 +79,7 @@ I exported a random item’s metadata as CSV, deleted all columns except id "url": "https://alanorth.github.io/cgspace-notes/2016-10/", "wordCount": "1828", "datePublished": "2016-10-03T15:53:00+03:00", - "dateModified": "2017-01-10T16:21:47+02:00", + "dateModified": "2016-10-03T15:53:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -475,6 +475,8 @@ dspace=# update metadatavalue set text_value = regexp_replace(text_value, 'http:
    +
  1. April, 2017
  2. +
  3. March, 2017
  4. February, 2017
  5. @@ -483,8 +485,6 @@ dspace=# update metadatavalue set text_value = regexp_replace(text_value, 'http:
  6. December, 2016
  7. -
  8. November, 2016
  9. -
diff --git a/public/2016-11/index.html b/public/2016-11/index.html index 80c09654b..a59faf43b 100644 --- a/public/2016-11/index.html +++ b/public/2016-11/index.html @@ -21,7 +21,7 @@ Add dc.type to the output options for Atmire’s Listings and Reports module - + @@ -63,7 +63,7 @@ Add dc.type to the output options for Atmire’s Listings and Reports module "url": "https://alanorth.github.io/cgspace-notes/2016-11/", "wordCount": "2825", "datePublished": "2016-11-01T09:21:00+03:00", - "dateModified": "2017-01-10T16:21:47+02:00", + "dateModified": "2016-11-01T09:21:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -691,6 +691,8 @@ org.dspace.discovery.SearchServiceException: Error executing query
    +
  1. April, 2017
  2. +
  3. March, 2017
  4. February, 2017
  5. @@ -699,8 +701,6 @@ org.dspace.discovery.SearchServiceException: Error executing query
  6. December, 2016
  7. -
  8. November, 2016
  9. -
diff --git a/public/2016-12/index.html b/public/2016-12/index.html index b46f33706..1a01ff5af 100644 --- a/public/2016-12/index.html +++ b/public/2016-12/index.html @@ -33,7 +33,7 @@ Another worrying error from dspace.log is: - + @@ -87,7 +87,7 @@ Another worrying error from dspace.log is: "url": "https://alanorth.github.io/cgspace-notes/2016-12/", "wordCount": "4078", "datePublished": "2016-12-02T10:43:00+03:00", - "dateModified": "2017-01-10T16:21:47+02:00", + "dateModified": "2016-12-02T10:43:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -927,6 +927,8 @@ $ exit
    +
  1. April, 2017
  2. +
  3. March, 2017
  4. February, 2017
  5. @@ -935,8 +937,6 @@ $ exit
  6. December, 2016
  7. -
  8. November, 2016
  9. -
diff --git a/public/2017-01/index.html b/public/2017-01/index.html index f8b9ece04..b3f04adf6 100644 --- a/public/2017-01/index.html +++ b/public/2017-01/index.html @@ -21,7 +21,7 @@ I asked on the dspace-tech mailing list because it seems to be broken, and actua - + @@ -63,7 +63,7 @@ I asked on the dspace-tech mailing list because it seems to be broken, and actua "url": "https://alanorth.github.io/cgspace-notes/2017-01/", "wordCount": "1594", "datePublished": "2017-01-02T10:43:00+03:00", - "dateModified": "2017-01-29T13:18:32+02:00", + "dateModified": "2017-01-02T10:43:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -472,6 +472,8 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -
    +
  1. April, 2017
  2. +
  3. March, 2017
  4. February, 2017
  5. @@ -480,8 +482,6 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -
  6. December, 2016
  7. -
  8. November, 2016
  9. -
diff --git a/public/2017-02/index.html b/public/2017-02/index.html index ec4169712..51c0021a8 100644 --- a/public/2017-02/index.html +++ b/public/2017-02/index.html @@ -35,7 +35,7 @@ Looks like we’ll be using cg.identifier.ccafsprojectpii as the field name - + @@ -91,7 +91,7 @@ Looks like we’ll be using cg.identifier.ccafsprojectpii as the field name "url": "https://alanorth.github.io/cgspace-notes/2017-02/", "wordCount": "2028", "datePublished": "2017-02-07T07:04:52-08:00", - "dateModified": "2017-02-28T22:58:29+02:00", + "dateModified": "2017-02-07T07:04:52-08:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -544,6 +544,8 @@ COPY 1968
    +
  1. April, 2017
  2. +
  3. March, 2017
  4. February, 2017
  5. @@ -552,8 +554,6 @@ COPY 1968
  6. December, 2016
  7. -
  8. November, 2016
  9. -
diff --git a/public/2017-03/index.html b/public/2017-03/index.html index 8408adbf6..114c23b71 100644 --- a/public/2017-03/index.html +++ b/public/2017-03/index.html @@ -37,7 +37,7 @@ $ identify ~/Desktop/alc_contrastes_desafios.jpg - + @@ -95,7 +95,7 @@ $ identify ~/Desktop/alc_contrastes_desafios.jpg "url": "https://alanorth.github.io/cgspace-notes/2017-03/", "wordCount": "1538", "datePublished": "2017-03-01T17:08:52+02:00", - "dateModified": "2017-03-30T14:50:53+03:00", + "dateModified": "2017-03-01T17:08:52+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -458,6 +458,8 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon
    +
  1. April, 2017
  2. +
  3. March, 2017
  4. February, 2017
  5. @@ -466,8 +468,6 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon
  6. December, 2016
  7. -
  8. November, 2016
  9. -
diff --git a/public/2017-04/index.html b/public/2017-04/index.html new file mode 100644 index 000000000..77dc75838 --- /dev/null +++ b/public/2017-04/index.html @@ -0,0 +1,210 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + April, 2017 | CGSpace Notes + + + + + + + + + + + + + + + + +
+
+ +
+
+ +
+
+

CGSpace Notes

+

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

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

April, 2017

+ +
+

2017-04-02

+ +
    +
  • Merge one change to CCAFS flagships that I had forgotten to remove last month (“MANAGING CLIMATE RISK”): https://github.com/ilri/DSpace/pull/317
  • +
  • Quick proof-of-concept hack to add dc.rights to the input form, including some inline instructions/hints:
  • +
+ +

dc.rights in the submission form

+ +

+ + + + + +
+ + + +
+ + + + +
+
+ + + + + + diff --git a/public/2017/04/dc-rights.png b/public/2017/04/dc-rights.png new file mode 100644 index 000000000..5a511b654 Binary files /dev/null and b/public/2017/04/dc-rights.png differ diff --git a/public/index.html b/public/index.html index 611c55cab..f10ed23de 100644 --- a/public/index.html +++ b/public/index.html @@ -12,7 +12,7 @@ - + @@ -37,7 +37,7 @@ "@type": "Person", "name": "Alan Orth" }, - "dateModified": "2017-03-01T17:08:52+02:00", + "dateModified": "2017-04-02T17:08:52+02:00", "keywords": "notes,", "description": "Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." } @@ -94,6 +94,31 @@ +
+
+

April, 2017

+ +
+

2017-04-02

+ + + +

dc.rights in the submission form

+ +

+ Read more → +
+ + + +

March, 2017

@@ -383,33 +408,6 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and -
-
-

June, 2016

- -
-

2016-06-01

- - - -

- Read more → -
- - - -