Add notes for 2017-05-01

This commit is contained in:
Alan Orth 2017-05-02 17:58:06 +03:00
parent 1462a88885
commit 11256b9b27
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
32 changed files with 529 additions and 234 deletions

13
content/post/2017-05.md Normal file
View File

@ -0,0 +1,13 @@
+++
date = "2017-05-01T16:21:52+02:00"
author = "Alan Orth"
title = "May, 2017"
tags = ["Notes"]
+++
## 2017-05-01
- ICARDA apparently started working on CG Core on their MEL repository
- They have done a few `cg.*` fields, but not very consistent and even copy some of CGSpace items:
- https://mel.cgiar.org/xmlui/handle/20.500.11766/6911?show=full
- https://cgspace.cgiar.org/handle/10568/73683

View File

@ -25,7 +25,7 @@ $ psql -c 'SELECT * from pg_stat_activity;' | grep idle | grep -c cgspac
<meta property="article:published_time" content="2015-11-23T17:00:57&#43;03:00"/>
<meta property="article:modified_time" content="2016-09-28T17:02:30&#43;03:00"/>
<meta property="article:modified_time" content="2015-11-23T17:00:57&#43;03:00"/>
@ -71,7 +71,7 @@ $ psql -c &#39;SELECT * from pg_stat_activity;&#39; | grep idle | grep -c cgspac
"url": "https://alanorth.github.io/cgspace-notes/2015-11/",
"wordCount": "798",
"datePublished": "2015-11-23T17:00:57&#43;03:00",
"dateModified": "2016-09-28T17:02:30&#43;03:00",
"dateModified": "2015-11-23T17:00:57&#43;03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -300,6 +300,8 @@ db.statementpool = true
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
@ -308,8 +310,6 @@ db.statementpool = true
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
<li><a href="/cgspace-notes/2016-12/">December, 2016</a></li>
</ol>
</section>

View File

@ -26,7 +26,7 @@ Replace lzop with xz in log compression cron jobs on DSpace Test—it uses less
<meta property="article:published_time" content="2015-12-02T13:18:00&#43;03:00"/>
<meta property="article:modified_time" content="2017-01-09T16:18:07&#43;02:00"/>
<meta property="article:modified_time" content="2015-12-02T13:18:00&#43;03:00"/>
@ -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&#43;03:00",
"dateModified": "2017-01-09T16:18:07&#43;02:00",
"dateModified": "2015-12-02T13:18:00&#43;03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -317,6 +317,8 @@ $ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
@ -325,8 +327,6 @@ $ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
<li><a href="/cgspace-notes/2016-12/">December, 2016</a></li>
</ol>
</section>

View File

@ -21,7 +21,7 @@ Update GitHub wiki for documentation of maintenance tasks.
<meta property="article:published_time" content="2016-01-13T13:18:00&#43;03:00"/>
<meta property="article:modified_time" content="2017-01-09T16:18:07&#43;02:00"/>
<meta property="article:modified_time" content="2016-01-13T13:18:00&#43;03:00"/>
@ -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&#43;03:00",
"dateModified": "2017-01-09T16:18:07&#43;02:00",
"dateModified": "2016-01-13T13:18:00&#43;03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -232,6 +232,8 @@ $ find SimpleArchiveForBio/ -iname &ldquo;*.pdf&rdquo; -exec basename {} \; | so
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
@ -240,8 +242,6 @@ $ find SimpleArchiveForBio/ -iname &ldquo;*.pdf&rdquo; -exec basename {} \; | so
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
<li><a href="/cgspace-notes/2016-12/">December, 2016</a></li>
</ol>
</section>

View File

@ -28,7 +28,7 @@ Also, lots of things like &ldquo;COTE D`LVOIRE&rdquo; and &ldquo;COTE D IVOIRE&r
<meta property="article:published_time" content="2016-02-05T13:18:00&#43;03:00"/>
<meta property="article:modified_time" content="2017-01-09T16:18:07&#43;02:00"/>
<meta property="article:modified_time" content="2016-02-05T13:18:00&#43;03:00"/>
@ -77,7 +77,7 @@ Also, lots of things like &ldquo;COTE D`LVOIRE&rdquo; and &ldquo;COTE D IVOIRE&r
"url": "https://alanorth.github.io/cgspace-notes/2016-02/",
"wordCount": "1657",
"datePublished": "2016-02-05T13:18:00&#43;03:00",
"dateModified": "2017-01-09T16:18:07&#43;02:00",
"dateModified": "2016-02-05T13:18:00&#43;03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -485,6 +485,8 @@ Bitstream: tést señora alimentación.pdf
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
@ -493,8 +495,6 @@ Bitstream: tést señora alimentación.pdf
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
<li><a href="/cgspace-notes/2016-12/">December, 2016</a></li>
</ol>
</section>

View File

@ -21,7 +21,7 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja
<meta property="article:published_time" content="2016-03-02T16:50:00&#43;03:00"/>
<meta property="article:modified_time" content="2017-01-09T16:18:07&#43;02:00"/>
<meta property="article:modified_time" content="2016-03-02T16:50:00&#43;03:00"/>
@ -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&#43;03:00",
"dateModified": "2017-01-09T16:18:07&#43;02:00",
"dateModified": "2016-03-02T16:50:00&#43;03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -385,6 +385,8 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
@ -393,8 +395,6 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
<li><a href="/cgspace-notes/2016-12/">December, 2016</a></li>
</ol>
</section>

View File

@ -23,7 +23,7 @@ Also, I noticed the checker log has some errors we should pay attention to:
<meta property="article:published_time" content="2016-04-04T11:06:00&#43;03:00"/>
<meta property="article:modified_time" content="2016-09-28T17:02:30&#43;03:00"/>
<meta property="article:modified_time" content="2016-04-04T11:06:00&#43;03:00"/>
@ -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&#43;03:00",
"dateModified": "2016-09-28T17:02:30&#43;03:00",
"dateModified": "2016-04-04T11:06:00&#43;03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -602,6 +602,8 @@ dspace.log.2016-04-27:7271
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
@ -610,8 +612,6 @@ dspace.log.2016-04-27:7271
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
<li><a href="/cgspace-notes/2016-12/">December, 2016</a></li>
</ol>
</section>

View File

@ -25,7 +25,7 @@ There are 3,000 IPs accessing the REST API in a 24-hour period!
<meta property="article:published_time" content="2016-05-01T23:06:00&#43;03:00"/>
<meta property="article:modified_time" content="2017-01-09T16:18:07&#43;02:00"/>
<meta property="article:modified_time" content="2016-05-01T23:06:00&#43;03:00"/>
@ -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&#43;03:00",
"dateModified": "2017-01-09T16:18:07&#43;02:00",
"dateModified": "2016-05-01T23:06:00&#43;03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -452,6 +452,8 @@ sys 0m20.540s
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
@ -460,8 +462,6 @@ sys 0m20.540s
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
<li><a href="/cgspace-notes/2016-12/">December, 2016</a></li>
</ol>
</section>

View File

@ -24,7 +24,7 @@ Working on second phase of metadata migration, looks like this will work for mov
<meta property="article:published_time" content="2016-06-01T10:53:00&#43;03:00"/>
<meta property="article:modified_time" content="2017-01-09T16:18:07&#43;02:00"/>
<meta property="article:modified_time" content="2016-06-01T10:53:00&#43;03:00"/>
@ -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&#43;03:00",
"dateModified": "2017-01-09T16:18:07&#43;02:00",
"dateModified": "2016-06-01T10:53:00&#43;03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -497,6 +497,8 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
@ -505,8 +507,6 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
<li><a href="/cgspace-notes/2016-12/">December, 2016</a></li>
</ol>
</section>

View File

@ -32,7 +32,7 @@ In this case the select query was showing 95 results before the update
<meta property="article:published_time" content="2016-07-01T10:53:00&#43;03:00"/>
<meta property="article:modified_time" content="2017-01-09T16:18:07&#43;02:00"/>
<meta property="article:modified_time" content="2016-07-01T10:53:00&#43;03:00"/>
@ -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&#43;03:00",
"dateModified": "2017-01-09T16:18:07&#43;02:00",
"dateModified": "2016-07-01T10:53:00&#43;03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -415,6 +415,8 @@ discovery.index.authority.ignore-variants=true
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
@ -423,8 +425,6 @@ discovery.index.authority.ignore-variants=true
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
<li><a href="/cgspace-notes/2016-12/">December, 2016</a></li>
</ol>
</section>

View File

@ -29,7 +29,7 @@ $ git rebase -i dspace-5.5
<meta property="article:published_time" content="2016-08-01T15:53:00&#43;03:00"/>
<meta property="article:modified_time" content="2017-01-09T16:18:07&#43;02:00"/>
<meta property="article:modified_time" content="2016-08-01T15:53:00&#43;03:00"/>
@ -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&#43;03:00",
"dateModified": "2017-01-09T16:18:07&#43;02:00",
"dateModified": "2016-08-01T15:53:00&#43;03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -488,6 +488,8 @@ $ JAVA_OPTS=&quot;-Dfile.encoding=UTF-8 -Xmx512m&quot; /home/cgspace.cgiar.org/b
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
@ -496,8 +498,6 @@ $ JAVA_OPTS=&quot;-Dfile.encoding=UTF-8 -Xmx512m&quot; /home/cgspace.cgiar.org/b
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
<li><a href="/cgspace-notes/2016-12/">December, 2016</a></li>
</ol>
</section>

View File

@ -25,7 +25,7 @@ $ ldapsearch -x -H ldaps://svcgroot2.cgiarad.org:3269/ -b &quot;dc=cgiarad,dc=or
<meta property="article:published_time" content="2016-09-01T15:53:00&#43;03:00"/>
<meta property="article:modified_time" content="2017-01-09T16:18:07&#43;02:00"/>
<meta property="article:modified_time" content="2016-09-01T15:53:00&#43;03:00"/>
@ -71,7 +71,7 @@ $ ldapsearch -x -H ldaps://svcgroot2.cgiarad.org:3269/ -b &quot;dc=cgiarad,dc=or
"url": "https://alanorth.github.io/cgspace-notes/2016-09/",
"wordCount": "3298",
"datePublished": "2016-09-01T15:53:00&#43;03:00",
"dateModified": "2017-01-09T16:18:07&#43;02:00",
"dateModified": "2016-09-01T15:53:00&#43;03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -788,6 +788,8 @@ $ ./delete-metadata-values.py -i ilrisubjects-delete-13.csv -f cg.subject.ilri -
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
@ -796,8 +798,6 @@ $ ./delete-metadata-values.py -i ilrisubjects-delete-13.csv -f cg.subject.ilri -
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
<li><a href="/cgspace-notes/2016-12/">December, 2016</a></li>
</ol>
</section>

View File

@ -29,7 +29,7 @@ I exported a random item&rsquo;s metadata as CSV, deleted all columns except id
<meta property="article:published_time" content="2016-10-03T15:53:00&#43;03:00"/>
<meta property="article:modified_time" content="2017-01-10T16:21:47&#43;02:00"/>
<meta property="article:modified_time" content="2016-10-03T15:53:00&#43;03:00"/>
@ -79,7 +79,7 @@ I exported a random item&rsquo;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&#43;03:00",
"dateModified": "2017-01-10T16:21:47&#43;02:00",
"dateModified": "2016-10-03T15:53:00&#43;03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -474,6 +474,8 @@ dspace=# update metadatavalue set text_value = regexp_replace(text_value, 'http:
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
@ -482,8 +484,6 @@ dspace=# update metadatavalue set text_value = regexp_replace(text_value, 'http:
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
<li><a href="/cgspace-notes/2016-12/">December, 2016</a></li>
</ol>
</section>

View File

@ -21,7 +21,7 @@ Add dc.type to the output options for Atmire&rsquo;s Listings and Reports module
<meta property="article:published_time" content="2016-11-01T09:21:00&#43;03:00"/>
<meta property="article:modified_time" content="2017-01-10T16:21:47&#43;02:00"/>
<meta property="article:modified_time" content="2016-11-01T09:21:00&#43;03:00"/>
@ -63,7 +63,7 @@ Add dc.type to the output options for Atmire&rsquo;s Listings and Reports module
"url": "https://alanorth.github.io/cgspace-notes/2016-11/",
"wordCount": "2825",
"datePublished": "2016-11-01T09:21:00&#43;03:00",
"dateModified": "2017-01-10T16:21:47&#43;02:00",
"dateModified": "2016-11-01T09:21:00&#43;03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -690,6 +690,8 @@ org.dspace.discovery.SearchServiceException: Error executing query
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
@ -698,8 +700,6 @@ org.dspace.discovery.SearchServiceException: Error executing query
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
<li><a href="/cgspace-notes/2016-12/">December, 2016</a></li>
</ol>
</section>

View File

@ -33,7 +33,7 @@ Another worrying error from dspace.log is:
<meta property="article:published_time" content="2016-12-02T10:43:00&#43;03:00"/>
<meta property="article:modified_time" content="2017-01-10T16:21:47&#43;02:00"/>
<meta property="article:modified_time" content="2016-12-02T10:43:00&#43;03:00"/>
@ -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&#43;03:00",
"dateModified": "2017-01-10T16:21:47&#43;02:00",
"dateModified": "2016-12-02T10:43:00&#43;03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -926,6 +926,8 @@ $ exit
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
@ -934,8 +936,6 @@ $ exit
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
<li><a href="/cgspace-notes/2016-12/">December, 2016</a></li>
</ol>
</section>

View File

@ -21,7 +21,7 @@ I asked on the dspace-tech mailing list because it seems to be broken, and actua
<meta property="article:published_time" content="2017-01-02T10:43:00&#43;03:00"/>
<meta property="article:modified_time" content="2017-01-29T13:18:32&#43;02:00"/>
<meta property="article:modified_time" content="2017-01-02T10:43:00&#43;03:00"/>
@ -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&#43;03:00",
"dateModified": "2017-01-29T13:18:32&#43;02:00",
"dateModified": "2017-01-02T10:43:00&#43;03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -471,6 +471,8 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
@ -479,8 +481,6 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
<li><a href="/cgspace-notes/2016-12/">December, 2016</a></li>
</ol>
</section>

View File

@ -35,7 +35,7 @@ Looks like we&rsquo;ll be using cg.identifier.ccafsprojectpii as the field name
<meta property="article:published_time" content="2017-02-07T07:04:52-08:00"/>
<meta property="article:modified_time" content="2017-02-28T22:58:29&#43;02:00"/>
<meta property="article:modified_time" content="2017-02-07T07:04:52-08:00"/>
@ -91,7 +91,7 @@ Looks like we&rsquo;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&#43;02:00",
"dateModified": "2017-02-07T07:04:52-08:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -543,6 +543,8 @@ COPY 1968
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
@ -551,8 +553,6 @@ COPY 1968
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
<li><a href="/cgspace-notes/2016-12/">December, 2016</a></li>
</ol>
</section>

View File

@ -37,7 +37,7 @@ $ identify ~/Desktop/alc_contrastes_desafios.jpg
<meta property="article:published_time" content="2017-03-01T17:08:52&#43;02:00"/>
<meta property="article:modified_time" content="2017-03-31T05:36:10&#43;03:00"/>
<meta property="article:modified_time" content="2017-03-01T17:08:52&#43;02:00"/>
@ -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&#43;02:00",
"dateModified": "2017-03-31T05:36:10&#43;03:00",
"dateModified": "2017-03-01T17:08:52&#43;02:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -457,6 +457,8 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
@ -465,8 +467,6 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
<li><a href="/cgspace-notes/2016-12/">December, 2016</a></li>
</ol>
</section>

View File

@ -30,7 +30,7 @@ $ [dspace]/bin/dspace filter-media -f -i 10568/16498 -p &quot;ImageMagick PDF Th
<meta property="article:published_time" content="2017-04-02T17:08:52&#43;02:00"/>
<meta property="article:modified_time" content="2017-04-25T18:21:38&#43;03:00"/>
<meta property="article:modified_time" content="2017-04-02T17:08:52&#43;02:00"/>
@ -81,7 +81,7 @@ $ [dspace]/bin/dspace filter-media -f -i 10568/16498 -p &quot;ImageMagick PDF Th
"url": "https://alanorth.github.io/cgspace-notes/2017-04/",
"wordCount": "2917",
"datePublished": "2017-04-02T17:08:52&#43;02:00",
"dateModified": "2017-04-25T18:21:38&#43;03:00",
"dateModified": "2017-04-02T17:08:52&#43;02:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -736,6 +736,8 @@ $ gem install compass -v 1.0.3
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
@ -744,8 +746,6 @@ $ gem install compass -v 1.0.3
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
<li><a href="/cgspace-notes/2016-12/">December, 2016</a></li>
</ol>
</section>

195
public/2017-05/index.html Normal file
View File

@ -0,0 +1,195 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta property="og:title" content="May, 2017" />
<meta property="og:description" content=" 2017-05-01 ICARDA apparently started working on CG Core on their MEL repository They have done a few cg.* fields, but not very consistent and even copy some of CGSpace items: https://mel.cgiar.org/xmlui/handle/20.500.11766/6911?show=full https://cgspace.cgiar.org/handle/10568/73683 " />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2017-05/" />
<meta property="article:published_time" content="2017-05-01T16:21:52&#43;02:00"/>
<meta property="article:modified_time" content="2017-05-01T16:21:52&#43;02:00"/>
<meta name="twitter:card" content="summary"/>
<meta name="twitter:text:title" content="May, 2017"/>
<meta name="twitter:title" content="May, 2017"/>
<meta name="twitter:description" content=" 2017-05-01 ICARDA apparently started working on CG Core on their MEL repository They have done a few cg.* fields, but not very consistent and even copy some of CGSpace items: https://mel.cgiar.org/xmlui/handle/20.500.11766/6911?show=full https://cgspace.cgiar.org/handle/10568/73683 "/>
<meta name="generator" content="Hugo 0.21-DEV" />
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "BlogPosting",
"headline": "May, 2017",
"url": "https://alanorth.github.io/cgspace-notes/2017-05/",
"wordCount": "32",
"datePublished": "2017-05-01T16:21:52&#43;02:00",
"dateModified": "2017-05-01T16:21:52&#43;02:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
},
"keywords": "Notes"
}
</script>
<link rel="canonical" href="https://alanorth.github.io/cgspace-notes/2017-05/">
<title>May, 2017 | CGSpace Notes</title>
<!-- combined, minified CSS -->
<link href="https://alanorth.github.io/cgspace-notes/css/style.css" rel="stylesheet" integrity="sha384-CBHEXFKdMsTRFhEu0HSP9oETZoVpnz1mozAPqhfpxMQkda7lNJlqsQdYB30287Ka" crossorigin="anonymous">
</head>
<body>
<div class="blog-masthead">
<div class="container">
<nav class="nav blog-nav">
<a class="nav-link " href="https://alanorth.github.io/cgspace-notes/">Home</a>
</nav>
</div>
</div>
<header class="blog-header">
<div class="container">
<h1 class="blog-title"><a href="https://alanorth.github.io/cgspace-notes/" rel="home">CGSpace Notes</a></h1>
<p class="lead blog-description">Documenting day-to-day work on the <a href="https://cgspace.cgiar.org">CGSpace</a> repository.</p>
</div>
</header>
<div class="container">
<div class="row">
<div class="col-sm-8 blog-main">
<article class="blog-post">
<header>
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2017-05/">May, 2017</a></h2>
<p class="blog-post-meta"><time datetime="2017-05-01T16:21:52&#43;02:00">Mon May 01, 2017</time> by Alan Orth in
<i class="fa fa-tag" aria-hidden="true"></i>&nbsp;<a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
</p>
</header>
<h2 id="2017-05-01">2017-05-01</h2>
<ul>
<li>ICARDA apparently started working on CG Core on their MEL repository</li>
<li>They have done a few <code>cg.*</code> fields, but not very consistent and even copy some of CGSpace items:
<ul>
<li><a href="https://mel.cgiar.org/xmlui/handle/20.500.11766/6911?show=full">https://mel.cgiar.org/xmlui/handle/20.500.11766/6911?show=full</a></li>
<li><a href="https://cgspace.cgiar.org/handle/10568/73683">https://cgspace.cgiar.org/handle/10568/73683</a></li>
</ul></li>
</ul>
</article>
</div> <!-- /.blog-main -->
<aside class="col-sm-3 offset-sm-1 blog-sidebar">
<section class="sidebar-module">
<h4>Recent Posts</h4>
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
<li><a href="/cgspace-notes/2017-02/">February, 2017</a></li>
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
</ol>
</section>
<section class="sidebar-module">
<h4>Links</h4>
<ol class="list-unstyled">
<li><a href="https://cgspace.cgiar.org">CGSpace</a></li>
<li><a href="https://dspacetest.cgiar.org">DSpace Test</a></li>
<li><a href="https://github.com/ilri/DSpace">CGSpace @ GitHub</a></li>
</ol>
</section>
</aside>
</div> <!-- /.row -->
</div> <!-- /.container -->
<footer class="blog-footer">
<p>
Blog template created by <a href="https://twitter.com/mdo">@mdo</a>, ported to Hugo by <a href='https://twitter.com/mralanorth'>@mralanorth</a>.
</p>
<p>
<a href="#">Back to top</a>
</p>
</footer>
</body>
</html>

View File

@ -12,7 +12,7 @@
<meta property="og:updated_time" content="2017-04-02T17:08:52&#43;02:00"/>
<meta property="og:updated_time" content="2017-05-01T16:21:52&#43;02:00"/>
@ -37,7 +37,7 @@
"@type": "Person",
"name": "Alan Orth"
},
"dateModified": "2017-04-02T17:08:52&#43;02:00",
"dateModified": "2017-05-01T16:21:52&#43;02:00",
"keywords": "notes,",
"description": "Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."
}
@ -95,6 +95,24 @@
<article class="blog-post">
<header>
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2017-05/">May, 2017</a></h2>
<p class="blog-post-meta"><time datetime="2017-05-01T16:21:52&#43;02:00">Mon May 01, 2017</time> by Alan Orth in
<i class="fa fa-tag" aria-hidden="true"></i>&nbsp;<a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
</p>
</header>
2017-05-01 ICARDA apparently started working on CG Core on their MEL repository They have done a few cg.* fields, but not very consistent and even copy some of CGSpace items: https://mel.cgiar.org/xmlui/handle/20.500.11766/6911?show=full https://cgspace.cgiar.org/handle/10568/73683
<a href='https://alanorth.github.io/cgspace-notes/2017-05/'>Read more →</a>
</article>
<article class="blog-post">
<header>
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2017-04/">April, 2017</a></h2>
@ -399,43 +417,6 @@ $ git rebase -i dspace-5.5
<article class="blog-post">
<header>
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-07/">July, 2016</a></h2>
<p class="blog-post-meta"><time datetime="2016-07-01T10:53:00&#43;03:00">Fri Jul 01, 2016</time> by Alan Orth in
<i class="fa fa-tag" aria-hidden="true"></i>&nbsp;<a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
</p>
</header>
<h2 id="2016-07-01">2016-07-01</h2>
<ul>
<li>Add <code>dc.description.sponsorship</code> to Discovery sidebar facets and make investors clickable in item view (<a href="https://github.com/ilri/DSpace/issues/232">#232</a>)</li>
<li>I think this query should find and replace all authors that have &ldquo;,&rdquo; at the end of their names:</li>
</ul>
<pre><code>dspacetest=# update metadatavalue set text_value = regexp_replace(text_value, '(^.+?),$', '\1') where metadata_field_id=3 and resource_type_id=2 and text_value ~ '^.+?,$';
UPDATE 95
dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and resource_type_id=2 and text_value ~ '^.+?,$';
text_value
------------
(0 rows)
</code></pre>
<ul>
<li>In this case the select query was showing 95 results before the update</li>
</ul>
<p></p>
<a href='https://alanorth.github.io/cgspace-notes/2016-07/'>Read more →</a>
</article>
<nav class="blog-pagination">
@ -459,6 +440,8 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
@ -467,8 +450,6 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
<li><a href="/cgspace-notes/2016-12/">December, 2016</a></li>
</ol>
</section>

View File

@ -6,11 +6,20 @@
<description>Recent content on CGSpace Notes</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Sun, 02 Apr 2017 17:08:52 +0200</lastBuildDate>
<lastBuildDate>Mon, 01 May 2017 16:21:52 +0200</lastBuildDate>
<atom:link href="https://alanorth.github.io/cgspace-notes/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>May, 2017</title>
<link>https://alanorth.github.io/cgspace-notes/2017-05/</link>
<pubDate>Mon, 01 May 2017 16:21:52 +0200</pubDate>
<guid>https://alanorth.github.io/cgspace-notes/2017-05/</guid>
<description> 2017-05-01 ICARDA apparently started working on CG Core on their MEL repository They have done a few cg.* fields, but not very consistent and even copy some of CGSpace items: https://mel.cgiar.org/xmlui/handle/20.500.11766/6911?show=full https://cgspace.cgiar.org/handle/10568/73683 </description>
</item>
<item>
<title>April, 2017</title>
<link>https://alanorth.github.io/cgspace-notes/2017-04/</link>

View File

@ -12,7 +12,7 @@
<meta property="og:updated_time" content="2016-06-01T10:53:00&#43;03:00"/>
<meta property="og:updated_time" content="2016-07-01T10:53:00&#43;03:00"/>
@ -37,7 +37,7 @@
"@type": "Person",
"name": "Alan Orth"
},
"dateModified": "2016-06-01T10:53:00&#43;03:00",
"dateModified": "2016-07-01T10:53:00&#43;03:00",
"keywords": "notes,",
"description": "Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."
}
@ -95,6 +95,43 @@
<article class="blog-post">
<header>
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-07/">July, 2016</a></h2>
<p class="blog-post-meta"><time datetime="2016-07-01T10:53:00&#43;03:00">Fri Jul 01, 2016</time> by Alan Orth in
<i class="fa fa-tag" aria-hidden="true"></i>&nbsp;<a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
</p>
</header>
<h2 id="2016-07-01">2016-07-01</h2>
<ul>
<li>Add <code>dc.description.sponsorship</code> to Discovery sidebar facets and make investors clickable in item view (<a href="https://github.com/ilri/DSpace/issues/232">#232</a>)</li>
<li>I think this query should find and replace all authors that have &ldquo;,&rdquo; at the end of their names:</li>
</ul>
<pre><code>dspacetest=# update metadatavalue set text_value = regexp_replace(text_value, '(^.+?),$', '\1') where metadata_field_id=3 and resource_type_id=2 and text_value ~ '^.+?,$';
UPDATE 95
dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and resource_type_id=2 and text_value ~ '^.+?,$';
text_value
------------
(0 rows)
</code></pre>
<ul>
<li>In this case the select query was showing 95 results before the update</li>
</ul>
<p></p>
<a href='https://alanorth.github.io/cgspace-notes/2016-07/'>Read more →</a>
</article>
<article class="blog-post">
<header>
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-06/">June, 2016</a></h2>
@ -350,6 +387,8 @@
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
@ -358,8 +397,6 @@
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
<li><a href="/cgspace-notes/2016-12/">December, 2016</a></li>
</ol>
</section>

View File

@ -12,7 +12,7 @@
<meta property="og:updated_time" content="2017-04-02T17:08:52&#43;02:00"/>
<meta property="og:updated_time" content="2017-05-01T16:21:52&#43;02:00"/>
@ -37,7 +37,7 @@
"@type": "Person",
"name": "Alan Orth"
},
"dateModified": "2017-04-02T17:08:52&#43;02:00",
"dateModified": "2017-05-01T16:21:52&#43;02:00",
"keywords": "notes,",
"description": "Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."
}
@ -95,6 +95,24 @@
<article class="blog-post">
<header>
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2017-05/">May, 2017</a></h2>
<p class="blog-post-meta"><time datetime="2017-05-01T16:21:52&#43;02:00">Mon May 01, 2017</time> by Alan Orth in
<i class="fa fa-tag" aria-hidden="true"></i>&nbsp;<a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
</p>
</header>
2017-05-01 ICARDA apparently started working on CG Core on their MEL repository They have done a few cg.* fields, but not very consistent and even copy some of CGSpace items: https://mel.cgiar.org/xmlui/handle/20.500.11766/6911?show=full https://cgspace.cgiar.org/handle/10568/73683
<a href='https://alanorth.github.io/cgspace-notes/2017-05/'>Read more →</a>
</article>
<article class="blog-post">
<header>
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2017-04/">April, 2017</a></h2>
@ -399,43 +417,6 @@ $ git rebase -i dspace-5.5
<article class="blog-post">
<header>
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-07/">July, 2016</a></h2>
<p class="blog-post-meta"><time datetime="2016-07-01T10:53:00&#43;03:00">Fri Jul 01, 2016</time> by Alan Orth in
<i class="fa fa-tag" aria-hidden="true"></i>&nbsp;<a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
</p>
</header>
<h2 id="2016-07-01">2016-07-01</h2>
<ul>
<li>Add <code>dc.description.sponsorship</code> to Discovery sidebar facets and make investors clickable in item view (<a href="https://github.com/ilri/DSpace/issues/232">#232</a>)</li>
<li>I think this query should find and replace all authors that have &ldquo;,&rdquo; at the end of their names:</li>
</ul>
<pre><code>dspacetest=# update metadatavalue set text_value = regexp_replace(text_value, '(^.+?),$', '\1') where metadata_field_id=3 and resource_type_id=2 and text_value ~ '^.+?,$';
UPDATE 95
dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and resource_type_id=2 and text_value ~ '^.+?,$';
text_value
------------
(0 rows)
</code></pre>
<ul>
<li>In this case the select query was showing 95 results before the update</li>
</ul>
<p></p>
<a href='https://alanorth.github.io/cgspace-notes/2016-07/'>Read more →</a>
</article>
<nav class="blog-pagination">
@ -459,6 +440,8 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
@ -467,8 +450,6 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
<li><a href="/cgspace-notes/2016-12/">December, 2016</a></li>
</ol>
</section>

View File

@ -6,11 +6,20 @@
<description>Recent content in Posts on CGSpace Notes</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Sun, 02 Apr 2017 17:08:52 +0200</lastBuildDate>
<lastBuildDate>Mon, 01 May 2017 16:21:52 +0200</lastBuildDate>
<atom:link href="https://alanorth.github.io/cgspace-notes/post/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>May, 2017</title>
<link>https://alanorth.github.io/cgspace-notes/2017-05/</link>
<pubDate>Mon, 01 May 2017 16:21:52 +0200</pubDate>
<guid>https://alanorth.github.io/cgspace-notes/2017-05/</guid>
<description> 2017-05-01 ICARDA apparently started working on CG Core on their MEL repository They have done a few cg.* fields, but not very consistent and even copy some of CGSpace items: https://mel.cgiar.org/xmlui/handle/20.500.11766/6911?show=full https://cgspace.cgiar.org/handle/10568/73683 </description>
</item>
<item>
<title>April, 2017</title>
<link>https://alanorth.github.io/cgspace-notes/2017-04/</link>

View File

@ -12,7 +12,7 @@
<meta property="og:updated_time" content="2016-06-01T10:53:00&#43;03:00"/>
<meta property="og:updated_time" content="2016-07-01T10:53:00&#43;03:00"/>
@ -37,7 +37,7 @@
"@type": "Person",
"name": "Alan Orth"
},
"dateModified": "2016-06-01T10:53:00&#43;03:00",
"dateModified": "2016-07-01T10:53:00&#43;03:00",
"keywords": "notes,",
"description": "Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."
}
@ -95,6 +95,43 @@
<article class="blog-post">
<header>
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-07/">July, 2016</a></h2>
<p class="blog-post-meta"><time datetime="2016-07-01T10:53:00&#43;03:00">Fri Jul 01, 2016</time> by Alan Orth in
<i class="fa fa-tag" aria-hidden="true"></i>&nbsp;<a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
</p>
</header>
<h2 id="2016-07-01">2016-07-01</h2>
<ul>
<li>Add <code>dc.description.sponsorship</code> to Discovery sidebar facets and make investors clickable in item view (<a href="https://github.com/ilri/DSpace/issues/232">#232</a>)</li>
<li>I think this query should find and replace all authors that have &ldquo;,&rdquo; at the end of their names:</li>
</ul>
<pre><code>dspacetest=# update metadatavalue set text_value = regexp_replace(text_value, '(^.+?),$', '\1') where metadata_field_id=3 and resource_type_id=2 and text_value ~ '^.+?,$';
UPDATE 95
dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and resource_type_id=2 and text_value ~ '^.+?,$';
text_value
------------
(0 rows)
</code></pre>
<ul>
<li>In this case the select query was showing 95 results before the update</li>
</ul>
<p></p>
<a href='https://alanorth.github.io/cgspace-notes/2016-07/'>Read more →</a>
</article>
<article class="blog-post">
<header>
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-06/">June, 2016</a></h2>
@ -350,6 +387,8 @@
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
@ -358,8 +397,6 @@
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
<li><a href="/cgspace-notes/2016-12/">December, 2016</a></li>
</ol>
</section>

View File

@ -1,6 +1,7 @@
User-agent: *
Disallow: /cgspace-notes/2017-05/
Disallow: /cgspace-notes/2017-04/
Disallow: /cgspace-notes/2017-03/
Disallow: /cgspace-notes/2017-02/

View File

@ -2,99 +2,104 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://alanorth.github.io/cgspace-notes/2017-05/</loc>
<lastmod>2017-05-01T16:21:52+02:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/2017-04/</loc>
<lastmod>2017-04-25T18:21:38+03:00</lastmod>
<lastmod>2017-04-02T17:08:52+02:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/2017-03/</loc>
<lastmod>2017-03-31T05:36:10+03:00</lastmod>
<lastmod>2017-03-01T17:08:52+02:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/2017-02/</loc>
<lastmod>2017-02-28T22:58:29+02:00</lastmod>
<lastmod>2017-02-07T07:04:52-08:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/2017-01/</loc>
<lastmod>2017-01-29T13:18:32+02:00</lastmod>
<lastmod>2017-01-02T10:43:00+03:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/2016-12/</loc>
<lastmod>2017-01-10T16:21:47+02:00</lastmod>
<lastmod>2016-12-02T10:43:00+03:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/2016-11/</loc>
<lastmod>2017-01-10T16:21:47+02:00</lastmod>
<lastmod>2016-11-01T09:21:00+03:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/2016-10/</loc>
<lastmod>2017-01-10T16:21:47+02:00</lastmod>
<lastmod>2016-10-03T15:53:00+03:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/2016-09/</loc>
<lastmod>2017-01-09T16:18:07+02:00</lastmod>
<lastmod>2016-09-01T15:53:00+03:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/2016-08/</loc>
<lastmod>2017-01-09T16:18:07+02:00</lastmod>
<lastmod>2016-08-01T15:53:00+03:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/2016-07/</loc>
<lastmod>2017-01-09T16:18:07+02:00</lastmod>
<lastmod>2016-07-01T10:53:00+03:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/2016-06/</loc>
<lastmod>2017-01-09T16:18:07+02:00</lastmod>
<lastmod>2016-06-01T10:53:00+03:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/2016-05/</loc>
<lastmod>2017-01-09T16:18:07+02:00</lastmod>
<lastmod>2016-05-01T23:06:00+03:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/2016-04/</loc>
<lastmod>2016-09-28T17:02:30+03:00</lastmod>
<lastmod>2016-04-04T11:06:00+03:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/2016-03/</loc>
<lastmod>2017-01-09T16:18:07+02:00</lastmod>
<lastmod>2016-03-02T16:50:00+03:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/2016-02/</loc>
<lastmod>2017-01-09T16:18:07+02:00</lastmod>
<lastmod>2016-02-05T13:18:00+03:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/2016-01/</loc>
<lastmod>2017-01-09T16:18:07+02:00</lastmod>
<lastmod>2016-01-13T13:18:00+03:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/2015-12/</loc>
<lastmod>2017-01-09T16:18:07+02:00</lastmod>
<lastmod>2015-12-02T13:18:00+03:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/2015-11/</loc>
<lastmod>2016-09-28T17:02:30+03:00</lastmod>
<lastmod>2015-11-23T17:00:57+03:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/</loc>
<lastmod>2017-04-25T18:21:38+03:00</lastmod>
<lastmod>2017-05-01T16:21:52+02:00</lastmod>
<priority>0</priority>
</url>
@ -105,19 +110,19 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
<lastmod>2017-04-25T18:21:38+03:00</lastmod>
<lastmod>2017-05-01T16:21:52+02:00</lastmod>
<priority>0</priority>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/post/</loc>
<lastmod>2017-04-25T18:21:38+03:00</lastmod>
<lastmod>2017-05-01T16:21:52+02:00</lastmod>
<priority>0</priority>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
<lastmod>2017-04-25T18:21:38+03:00</lastmod>
<lastmod>2017-05-01T16:21:52+02:00</lastmod>
<priority>0</priority>
</url>

View File

@ -6,7 +6,7 @@
<description>Recent content in Tags on CGSpace Notes</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Sun, 02 Apr 2017 17:08:52 +0200</lastBuildDate>
<lastBuildDate>Mon, 01 May 2017 16:21:52 +0200</lastBuildDate>
<atom:link href="https://alanorth.github.io/cgspace-notes/tags/index.xml" rel="self" type="application/rss+xml" />
@ -14,7 +14,7 @@
<item>
<title>Notes</title>
<link>https://alanorth.github.io/cgspace-notes/tags/notes/</link>
<pubDate>Sun, 02 Apr 2017 17:08:52 +0200</pubDate>
<pubDate>Mon, 01 May 2017 16:21:52 +0200</pubDate>
<guid>https://alanorth.github.io/cgspace-notes/tags/notes/</guid>
<description></description>

View File

@ -12,7 +12,7 @@
<meta property="og:updated_time" content="2017-04-02T17:08:52&#43;02:00"/>
<meta property="og:updated_time" content="2017-05-01T16:21:52&#43;02:00"/>
@ -37,7 +37,7 @@
"@type": "Person",
"name": "Alan Orth"
},
"dateModified": "2017-04-02T17:08:52&#43;02:00",
"dateModified": "2017-05-01T16:21:52&#43;02:00",
"keywords": "notes,",
"description": "Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."
}
@ -95,6 +95,24 @@
<article class="blog-post">
<header>
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2017-05/">May, 2017</a></h2>
<p class="blog-post-meta"><time datetime="2017-05-01T16:21:52&#43;02:00">Mon May 01, 2017</time> by Alan Orth in
<i class="fa fa-tag" aria-hidden="true"></i>&nbsp;<a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
</p>
</header>
2017-05-01 ICARDA apparently started working on CG Core on their MEL repository They have done a few cg.* fields, but not very consistent and even copy some of CGSpace items: https://mel.cgiar.org/xmlui/handle/20.500.11766/6911?show=full https://cgspace.cgiar.org/handle/10568/73683
<a href='https://alanorth.github.io/cgspace-notes/2017-05/'>Read more →</a>
</article>
<article class="blog-post">
<header>
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2017-04/">April, 2017</a></h2>
@ -399,43 +417,6 @@ $ git rebase -i dspace-5.5
<article class="blog-post">
<header>
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-07/">July, 2016</a></h2>
<p class="blog-post-meta"><time datetime="2016-07-01T10:53:00&#43;03:00">Fri Jul 01, 2016</time> by Alan Orth in
<i class="fa fa-tag" aria-hidden="true"></i>&nbsp;<a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
</p>
</header>
<h2 id="2016-07-01">2016-07-01</h2>
<ul>
<li>Add <code>dc.description.sponsorship</code> to Discovery sidebar facets and make investors clickable in item view (<a href="https://github.com/ilri/DSpace/issues/232">#232</a>)</li>
<li>I think this query should find and replace all authors that have &ldquo;,&rdquo; at the end of their names:</li>
</ul>
<pre><code>dspacetest=# update metadatavalue set text_value = regexp_replace(text_value, '(^.+?),$', '\1') where metadata_field_id=3 and resource_type_id=2 and text_value ~ '^.+?,$';
UPDATE 95
dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and resource_type_id=2 and text_value ~ '^.+?,$';
text_value
------------
(0 rows)
</code></pre>
<ul>
<li>In this case the select query was showing 95 results before the update</li>
</ul>
<p></p>
<a href='https://alanorth.github.io/cgspace-notes/2016-07/'>Read more →</a>
</article>
<nav class="blog-pagination">
@ -459,6 +440,8 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
@ -467,8 +450,6 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
<li><a href="/cgspace-notes/2016-12/">December, 2016</a></li>
</ol>
</section>

View File

@ -6,11 +6,20 @@
<description>Recent content in Notes on CGSpace Notes</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Sun, 02 Apr 2017 17:08:52 +0200</lastBuildDate>
<lastBuildDate>Mon, 01 May 2017 16:21:52 +0200</lastBuildDate>
<atom:link href="https://alanorth.github.io/cgspace-notes/tags/notes/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>May, 2017</title>
<link>https://alanorth.github.io/cgspace-notes/2017-05/</link>
<pubDate>Mon, 01 May 2017 16:21:52 +0200</pubDate>
<guid>https://alanorth.github.io/cgspace-notes/2017-05/</guid>
<description> 2017-05-01 ICARDA apparently started working on CG Core on their MEL repository They have done a few cg.* fields, but not very consistent and even copy some of CGSpace items: https://mel.cgiar.org/xmlui/handle/20.500.11766/6911?show=full https://cgspace.cgiar.org/handle/10568/73683 </description>
</item>
<item>
<title>April, 2017</title>
<link>https://alanorth.github.io/cgspace-notes/2017-04/</link>

View File

@ -12,7 +12,7 @@
<meta property="og:updated_time" content="2016-06-01T10:53:00&#43;03:00"/>
<meta property="og:updated_time" content="2016-07-01T10:53:00&#43;03:00"/>
@ -37,7 +37,7 @@
"@type": "Person",
"name": "Alan Orth"
},
"dateModified": "2016-06-01T10:53:00&#43;03:00",
"dateModified": "2016-07-01T10:53:00&#43;03:00",
"keywords": "notes,",
"description": "Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."
}
@ -95,6 +95,43 @@
<article class="blog-post">
<header>
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-07/">July, 2016</a></h2>
<p class="blog-post-meta"><time datetime="2016-07-01T10:53:00&#43;03:00">Fri Jul 01, 2016</time> by Alan Orth in
<i class="fa fa-tag" aria-hidden="true"></i>&nbsp;<a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
</p>
</header>
<h2 id="2016-07-01">2016-07-01</h2>
<ul>
<li>Add <code>dc.description.sponsorship</code> to Discovery sidebar facets and make investors clickable in item view (<a href="https://github.com/ilri/DSpace/issues/232">#232</a>)</li>
<li>I think this query should find and replace all authors that have &ldquo;,&rdquo; at the end of their names:</li>
</ul>
<pre><code>dspacetest=# update metadatavalue set text_value = regexp_replace(text_value, '(^.+?),$', '\1') where metadata_field_id=3 and resource_type_id=2 and text_value ~ '^.+?,$';
UPDATE 95
dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and resource_type_id=2 and text_value ~ '^.+?,$';
text_value
------------
(0 rows)
</code></pre>
<ul>
<li>In this case the select query was showing 95 results before the update</li>
</ul>
<p></p>
<a href='https://alanorth.github.io/cgspace-notes/2016-07/'>Read more →</a>
</article>
<article class="blog-post">
<header>
<h2 class="blog-post-title"><a href="https://alanorth.github.io/cgspace-notes/2016-06/">June, 2016</a></h2>
@ -350,6 +387,8 @@
<ol class="list-unstyled">
<li><a href="/cgspace-notes/2017-05/">May, 2017</a></li>
<li><a href="/cgspace-notes/2017-04/">April, 2017</a></li>
<li><a href="/cgspace-notes/2017-03/">March, 2017</a></li>
@ -358,8 +397,6 @@
<li><a href="/cgspace-notes/2017-01/">January, 2017</a></li>
<li><a href="/cgspace-notes/2016-12/">December, 2016</a></li>
</ol>
</section>