cgspace-notes/docs/2019-10/index.html

437 lines
20 KiB
HTML
Raw Normal View History

2019-10-01 16:31:40 +02:00
<!DOCTYPE html>
<html lang="en" >
2019-10-01 16:31:40 +02:00
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta property="og:title" content="October, 2019" />
2020-01-27 15:20:44 +01:00
<meta property="og:description" content="2019-10-01 Udana from IWMI asked me for a CSV export of their community on CGSpace I exported it, but a quick run through the csv-metadata-quality tool shows that there are some low-hanging fruits we can fix before I send him the data I will limit the scope to the titles, regions, subregions, and river basins for now to manually fix some non-breaking spaces (U&#43;00A0) there that would otherwise be removed by the csv-metadata-quality script&rsquo;s &ldquo;unneccesary Unicode&rdquo; fix: $ csvcut -c &#39;id,dc." />
2019-10-01 16:31:40 +02:00
<meta property="og:type" content="article" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-10/" />
<meta property="article:published_time" content="2019-10-01T13:20:51+03:00" />
2019-11-04 15:41:19 +01:00
<meta property="article:modified_time" content="2019-10-29T17:41:17+02:00" />
2019-10-01 16:31:40 +02:00
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="October, 2019"/>
2020-01-27 15:20:44 +01:00
<meta name="twitter:description" content="2019-10-01 Udana from IWMI asked me for a CSV export of their community on CGSpace I exported it, but a quick run through the csv-metadata-quality tool shows that there are some low-hanging fruits we can fix before I send him the data I will limit the scope to the titles, regions, subregions, and river basins for now to manually fix some non-breaking spaces (U&#43;00A0) there that would otherwise be removed by the csv-metadata-quality script&rsquo;s &ldquo;unneccesary Unicode&rdquo; fix: $ csvcut -c &#39;id,dc."/>
2020-08-02 21:14:16 +02:00
<meta name="generator" content="Hugo 0.74.1" />
2019-10-01 16:31:40 +02:00
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "BlogPosting",
"headline": "October, 2019",
2020-04-02 09:55:42 +02:00
"url": "https://alanorth.github.io/cgspace-notes/2019-10/",
2019-10-29 16:41:17 +01:00
"wordCount": "1800",
"datePublished": "2019-10-01T13:20:51+03:00",
2019-11-04 15:41:19 +01:00
"dateModified": "2019-10-29T17:41:17+02:00",
2019-10-01 16:31:40 +02:00
"author": {
"@type": "Person",
"name": "Alan Orth"
},
"keywords": "Notes"
}
</script>
<link rel="canonical" href="https://alanorth.github.io/cgspace-notes/2019-10/">
<title>October, 2019 | CGSpace Notes</title>
2019-10-01 16:31:40 +02:00
<!-- combined, minified CSS -->
2020-01-23 19:19:38 +01:00
2020-01-28 11:01:42 +01:00
<link href="https://alanorth.github.io/cgspace-notes/css/style.6da5c906cc7a8fbb93f31cd2316c5dbe3f19ac4aa6bfb066f1243045b8f6061e.css" rel="stylesheet" integrity="sha256-baXJBsx6j7uT8xzSMWxdvj8ZrEqmv7Bm8SQwRbj2Bh4=" crossorigin="anonymous">
2019-10-01 16:31:40 +02:00
2020-01-28 11:01:42 +01:00
<!-- minified Font Awesome for SVG icons -->
2020-04-02 09:55:42 +02:00
<script defer src="https://alanorth.github.io/cgspace-notes/js/fontawesome.min.f3d2a1f5980bab30ddd0d8cadbd496475309fc48e2b1d052c5c09e6facffcb0f.js" integrity="sha256-89Kh9ZgLqzDd0NjK29SWR1MJ/EjisdBSxcCeb6z/yw8=" crossorigin="anonymous"></script>
2020-01-28 11:01:42 +01:00
2019-10-01 16:31:40 +02:00
<!-- RSS 2.0 feed -->
</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" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/" rel="home">CGSpace Notes</a></h1>
<p class="lead blog-description" dir="auto">Documenting day-to-day work on the <a href="https://cgspace.cgiar.org">CGSpace</a> repository.</p>
2019-10-01 16:31:40 +02:00
</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" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2019-10/">October, 2019</a></h2>
2020-04-02 09:55:42 +02:00
<p class="blog-post-meta"><time datetime="2019-10-01T13:20:51+03:00">Tue Oct 01, 2019</time> by Alan Orth in
2020-01-28 11:01:42 +01:00
<span class="fas fa-folder" aria-hidden="true"></span>&nbsp;<a href="/cgspace-notes/categories/notes/" rel="category tag">Notes</a>
2019-10-01 16:31:40 +02:00
</p>
</header>
2019-12-17 13:49:24 +01:00
<h2 id="2019-10-01">2019-10-01</h2>
2019-10-01 16:31:40 +02:00
<ul>
2019-11-28 16:30:45 +01:00
<li>Udana from IWMI asked me for a CSV export of their community on CGSpace
2019-10-01 16:31:40 +02:00
<ul>
<li>I exported it, but a quick run through the <code>csv-metadata-quality</code> tool shows that there are some low-hanging fruits we can fix before I send him the data</li>
2020-01-27 15:20:44 +01:00
<li>I will limit the scope to the titles, regions, subregions, and river basins for now to manually fix some non-breaking spaces (U+00A0) there that would otherwise be removed by the csv-metadata-quality script&rsquo;s &ldquo;unneccesary Unicode&rdquo; fix:</li>
2019-11-28 16:30:45 +01:00
</ul>
</li>
</ul>
2019-10-01 16:31:40 +02:00
<pre><code>$ csvcut -c 'id,dc.title[en_US],cg.coverage.region[en_US],cg.coverage.subregion[en_US],cg.river.basin[en_US]' ~/Downloads/10568-16814.csv &gt; /tmp/iwmi-title-region-subregion-river.csv
2019-11-28 16:30:45 +01:00
</code></pre><ul>
2020-01-27 15:20:44 +01:00
<li>Then I replace them in vim with <code>:% s/\%u00a0/ /g</code> because I can&rsquo;t figure out the correct sed syntax to do it directly from the pipe above</li>
2019-11-28 16:30:45 +01:00
<li>I uploaded those to CGSpace and then re-exported the metadata</li>
2020-01-27 15:20:44 +01:00
<li>Now that I think about it, I shouldn&rsquo;t be removing non-breaking spaces (U+00A0), I should be replacing them with normal spaces!</li>
2019-11-28 16:30:45 +01:00
<li>I modified the script so it replaces the non-breaking spaces instead of removing them</li>
<li>Then I ran the csv-metadata-quality script to do some general cleanups (though I temporarily commented out the whitespace fixes because it was too many thousands of rows):</li>
</ul>
2019-10-01 16:31:40 +02:00
<pre><code>$ csv-metadata-quality -i ~/Downloads/10568-16814.csv -o /tmp/iwmi.csv -x 'dc.date.issued,dc.date.issued[],dc.date.issued[en_US]' -u
2019-11-28 16:30:45 +01:00
</code></pre><ul>
<li>That fixed 153 items (unnecessary Unicode, duplicates, commaspace fixes, etc)</li>
<li>Release <a href="https://github.com/ilri/csv-metadata-quality/releases/tag/v0.3.1">version 0.3.1 of the csv-metadata-quality script</a> with the non-breaking spaces change</li>
2019-10-01 16:31:40 +02:00
</ul>
2019-12-17 13:49:24 +01:00
<h2 id="2019-10-03">2019-10-03</h2>
2019-10-03 16:38:41 +02:00
<ul>
<li>Upload the 117 IITA records that we had been working on last month (aka 20196th.xls aka Sept 6) to CGSpace</li>
</ul>
2019-12-17 13:49:24 +01:00
<h2 id="2019-10-04">2019-10-04</h2>
2019-10-04 17:34:31 +02:00
<ul>
2020-01-27 15:20:44 +01:00
<li>Create an account for Bioversity&rsquo;s ICT consultant Francesco on DSpace Test:</li>
2019-11-28 16:30:45 +01:00
</ul>
2019-10-04 17:34:31 +02:00
<pre><code>$ dspace user -a -m blah@mail.it -g Francesco -s Vernocchi -p 'fffff'
2019-11-28 16:30:45 +01:00
</code></pre><ul>
<li>Email Francesca and Carol to ask for follow up about the test upload I did on 2019-09-21
2019-10-04 17:34:31 +02:00
<ul>
<li>I suggested that if they still want to do value addition of those records (like adding countries, regions, etc) that they could maybe do it after we migrate the records to CGSpace</li>
<li>Carol responded to tell me where to map the items with type Brochure, Journal Item, and Thesis, so I applied them to the <a href="https://dspacetest.cgiar.org/handle/10568/103688">collection on DSpace Test</a></li>
</ul>
2019-11-28 16:30:45 +01:00
</li>
</ul>
2019-12-17 13:49:24 +01:00
<h2 id="2019-10-06">2019-10-06</h2>
2019-10-06 15:40:15 +02:00
<ul>
<li>Hector from CCAFS responded about my feedback of their CLARISA API
<ul>
<li>He made some fixes to the metadata values they are using based on my feedback and said they are happy if we would use it</li>
2019-11-28 16:30:45 +01:00
</ul>
</li>
2019-10-06 15:40:15 +02:00
<li>Gabriela from CIP asked me if it was possible to generate an RSS feed of items that have the CIP subject &ldquo;POTATO AGRI-FOOD SYSTEMS&rdquo;
<ul>
<li>I notice that there is a similar term &ldquo;SWEETPOTATO AGRI-FOOD SYSTEMS&rdquo; so I had to come up with a way to exclude that using the boolean &ldquo;AND NOT&rdquo; in the <a href="https://cgspace.cgiar.org/open-search/discover?query=cipsubject:POTATO%20AGRI%E2%80%90FOOD%20SYSTEMS%20AND%20NOT%20cipsubject:SWEETPOTATO%20AGRI%E2%80%90FOOD%20SYSTEMS&amp;scope=10568/51671&amp;sort_by=3&amp;order=DESC">OpenSearch query</a></li>
<li>Again, the <code>sort_by=3</code> parameter is the accession date, as configured in <code>dspace.cfg</code></li>
</ul>
2019-11-28 16:30:45 +01:00
</li>
</ul>
2019-12-17 13:49:24 +01:00
<h2 id="2019-10-08">2019-10-08</h2>
2019-10-08 11:07:31 +02:00
<ul>
2019-10-08 18:33:09 +02:00
<li>Fix 108 more issues with authors in the ongoing Bioversity migration on DSpace Test, for example:
2019-10-08 11:07:31 +02:00
<ul>
<li>Europeanooperative Programme for Plant Genetic Resources</li>
<li>Bioversity International. Capacity Development Unit</li>
<li>W.M. van der Heide, W.M., Tripp, R.</li>
<li>Internationallant Genetic Resources Institute</li>
2019-11-28 16:30:45 +01:00
</ul>
</li>
2019-10-08 18:33:09 +02:00
<li>Start looking at duplicates in the Bioversity migration data on DSpace Test
<ul>
2020-01-27 15:20:44 +01:00
<li>I&rsquo;m keeping track of the originals and duplicates in a Google Docs spreadsheet that I will share with Bioversity</li>
2019-10-08 11:07:31 +02:00
</ul>
2019-11-28 16:30:45 +01:00
</li>
</ul>
2019-12-17 13:49:24 +01:00
<h2 id="2019-10-09">2019-10-09</h2>
2019-10-09 16:05:01 +02:00
<ul>
<li>Continue working on identifying duplicates in the Bioversity migration
<ul>
<li>I have been recording the originals and duplicates in a spreadsheet so I can map them later</li>
<li>For now I am just reconciling any incorrect or missing metadata in the original items on CGSpace, deleting the duplicate from DSpace Test, and mapping the original to the correct place on CGSpace</li>
<li>So far I have deleted thirty duplicates and mapped fourteen</li>
2019-11-28 16:30:45 +01:00
</ul>
</li>
2019-10-09 16:05:01 +02:00
<li>Run all system updates on DSpace Test (linode19) and reboot the server</li>
</ul>
2019-12-17 13:49:24 +01:00
<h2 id="2019-10-10">2019-10-10</h2>
2019-10-10 16:07:06 +02:00
<ul>
2019-11-28 16:30:45 +01:00
<li>Felix Shaw from Earlham emailed me to ask about his admin account on DSpace Test
2019-10-10 16:07:06 +02:00
<ul>
2020-01-27 15:20:44 +01:00
<li>His old one got lost when I re-sync&rsquo;d DSpace Test with CGSpace a few weeks ago</li>
2019-11-28 16:30:45 +01:00
<li>I added a new account for him and added it to the Administrators group:</li>
2019-10-10 16:07:06 +02:00
</ul>
2019-11-28 16:30:45 +01:00
</li>
</ul>
<pre><code>$ dspace user -a -m wow@me.com -g Felix -s Shaw -p 'fuananaaa'
2019-12-17 13:49:24 +01:00
</code></pre><h2 id="2019-10-11">2019-10-11</h2>
2019-10-11 11:06:40 +02:00
<ul>
2019-11-28 16:30:45 +01:00
<li>I ran the DSpace cleanup function on CGSpace and it found some errors:</li>
</ul>
2019-10-11 11:06:40 +02:00
<pre><code>$ dspace cleanup -v
...
Error: ERROR: update or delete on table &quot;bitstream&quot; violates foreign key constraint &quot;bundle_primary_bitstream_id_fkey&quot; on table &quot;bundle&quot;
2019-11-28 16:30:45 +01:00
Detail: Key (bitstream_id)=(171221) is still referenced from table &quot;bundle&quot;.
</code></pre><ul>
<li>The solution, as always, is (repeat as many times as needed):</li>
</ul>
2019-10-11 11:06:40 +02:00
<pre><code># su - postgres
$ psql dspace -c 'update bundle set primary_bitstream_id=NULL where primary_bitstream_id in (171221);'
UPDATE 1
2019-12-17 13:49:24 +01:00
</code></pre><h2 id="2019-10-12">2019-10-12</h2>
2019-10-12 13:28:43 +02:00
<ul>
<li>More work on identifying duplicates in the Bioversity migration data on DSpace Test
<ul>
<li>I mapped twenty-five more items on CGSpace and deleted them from the migration test collection on DSpace Test</li>
2020-01-27 15:20:44 +01:00
<li>After a few hours I think I finished all the duplicates that were identified by Atmire&rsquo;s Duplicate Checker module</li>
2019-10-12 18:21:30 +02:00
<li>According to my spreadsheet there were fifty-two in total</li>
2019-11-28 16:30:45 +01:00
</ul>
</li>
<li>I was preparing to check the affiliations on the Bioversity records when I noticed that the last list of top affiliations I generated has some anomalies
2019-10-12 18:21:30 +02:00
<ul>
2019-11-28 16:30:45 +01:00
<li>I made some corrections in a CSV:</li>
</ul>
</li>
</ul>
2019-10-12 18:21:30 +02:00
<pre><code>from,to
CIAT,International Center for Tropical Agriculture
International Centre for Tropical Agriculture,International Center for Tropical Agriculture
International Maize and Wheat Improvement Center (CIMMYT),International Maize and Wheat Improvement Center
International Centre for Agricultural Research in the Dry Areas,International Center for Agricultural Research in the Dry Areas
International Maize and Wheat Improvement Centre,International Maize and Wheat Improvement Center
&quot;Agricultural Information Resource Centre, Kenya.&quot;,&quot;Agricultural Information Resource Centre, Kenya&quot;
&quot;Centre for Livestock and Agricultural Development, Cambodia&quot;,&quot;Centre for Livestock and Agriculture Development, Cambodia&quot;
2019-11-28 16:30:45 +01:00
</code></pre><ul>
<li>Then I applied it with my <code>fix-metadata-values.py</code> script on CGSpace:</li>
</ul>
2019-10-12 18:21:30 +02:00
<pre><code>$ ./fix-metadata-values.py -i /tmp/affiliations.csv -db dspace -u dspace -p 'fuuu' -f from -m 211 -t to
2019-11-28 16:30:45 +01:00
</code></pre><ul>
<li>I did some manual curation of about 300 authors in OpenRefine in preparation for telling Peter and Abenet that the migration is almost ready
2019-10-12 18:21:30 +02:00
<ul>
<li>I would still like to perhaps (re)move institutional authors from <code>dc.contributor.author</code> to <code>cg.contributor.affiliation</code>, but I will have to run that by Francesca, Carol, and Abenet</li>
2019-10-12 22:28:50 +02:00
<li>I could use a custom text facet like this in OpenRefine to find authors that likely match the &ldquo;Last, F.&rdquo; pattern: <code>isNotNull(value.match(/^.*, \p{Lu}\.?.*$/))</code></li>
<li>The <code>\p{Lu}</code> is a cool <a href="https://www.regular-expressions.info/unicode.html">regex character class</a> to make sure this works for letters with accents</li>
2020-01-27 15:20:44 +01:00
<li>As cool as that is, it&rsquo;s actually more effective to just search for authors that have &ldquo;.&rdquo; in them!</li>
<li>I&rsquo;ve decided to add a <code>cg.contributor.affiliation</code> column to 1,025 items based on the logic above where the author name is not an actual person</li>
2019-10-12 13:28:43 +02:00
</ul>
2019-11-28 16:30:45 +01:00
</li>
</ul>
2019-12-17 13:49:24 +01:00
<h2 id="2019-10-13">2019-10-13</h2>
2019-10-13 10:59:11 +02:00
<ul>
<li>More cleanup work on the authors in the Bioversity migration
<ul>
<li>Now I sent the final feedback to Francesca, Carol, and Abenet</li>
2019-11-28 16:30:45 +01:00
</ul>
</li>
<li>Peter is still seeing some authors listed with &ldquo;|&rdquo; in the &ldquo;Top Authors&rdquo; statistics for some collections
2019-10-13 20:17:22 +02:00
<ul>
<li>I looked in some of the items that are listed and the author field does not contain those invalid separators</li>
2019-11-28 16:30:45 +01:00
<li>I decided to try doing a full Discovery re-indexing on CGSpace (linode18):</li>
</ul>
</li>
</ul>
2019-10-13 20:17:22 +02:00
<pre><code>$ time schedtool -B -e ionice -c2 -n7 nice -n19 dspace index-discovery -b
real 82m35.993s
2019-11-28 16:30:45 +01:00
</code></pre><ul>
<li>After the re-indexing the top authors still list the following:</li>
</ul>
2019-10-13 20:17:22 +02:00
<pre><code>Jagwe, J.|Ouma, E.A.|Brandes-van Dorresteijn, D.|Kawuma, Brian|Smith, J.
2019-11-28 16:30:45 +01:00
</code></pre><ul>
<li>I looked in the database to find authors that had &ldquo;|&rdquo; in them:</li>
</ul>
2019-10-13 20:17:22 +02:00
<pre><code>dspace=# SELECT text_value, resource_id FROM metadatavalue WHERE resource_type_id=2 AND metadata_field_id=3 AND text_value LIKE '%|%';
2019-11-28 16:30:45 +01:00
text_value | resource_id
2019-10-13 20:17:22 +02:00
----------------------------------+-------------
2019-11-28 16:30:45 +01:00
Anandajayasekeram, P.|Puskur, R. | 157
Morales, J.|Renner, I. | 22779
Zahid, A.|Haque, M.A. | 25492
2019-10-13 20:17:22 +02:00
(3 rows)
2019-11-28 16:30:45 +01:00
</code></pre><ul>
<li>Then I found their handles and corrected them, for example:</li>
</ul>
2019-10-13 20:17:22 +02:00
<pre><code>dspacetest=# select handle from item, handle where handle.resource_id = item.item_id AND item.item_id = '157' and handle.resource_type_id=2;
2019-11-28 16:30:45 +01:00
handle
2019-10-13 20:17:22 +02:00
-----------
2019-11-28 16:30:45 +01:00
10568/129
2019-10-13 20:17:22 +02:00
(1 row)
2019-11-28 16:30:45 +01:00
</code></pre><ul>
2020-01-27 15:20:44 +01:00
<li>So I&rsquo;m still not sure where these weird authors in the &ldquo;Top Author&rdquo; stats are coming from</li>
2019-10-13 10:59:11 +02:00
</ul>
2019-12-17 13:49:24 +01:00
<h2 id="2019-10-14">2019-10-14</h2>
2019-10-15 17:58:36 +02:00
<ul>
<li>I talked to Peter about the Bioversity items and he said that we should add the institutional authors back to <code>dc.contributor.author</code>, because I had moved them to <code>cg.contributor.affiliation</code>
<ul>
<li>Otherwise he said the data looks good</li>
</ul>
2019-11-28 16:30:45 +01:00
</li>
</ul>
2019-12-17 13:49:24 +01:00
<h2 id="2019-10-15">2019-10-15</h2>
2019-10-15 17:58:36 +02:00
<ul>
2019-11-28 16:30:45 +01:00
<li>I did a test export / import of the Bioversity migration items on DSpace Test
2019-10-15 17:58:36 +02:00
<ul>
2019-11-28 16:30:45 +01:00
<li>First export them:</li>
</ul>
</li>
</ul>
2019-10-15 17:58:36 +02:00
<pre><code>$ export JAVA_OPTS='-Dfile.encoding=UTF-8 -Xmx512m'
$ mkdir 2019-10-15-Bioversity
$ dspace export -i 10568/108684 -t COLLECTION -m -n 0 -d 2019-10-15-Bioversity
$ sed -i '/&lt;dcvalue element=&quot;identifier&quot; qualifier=&quot;uri&quot;&gt;/d' 2019-10-15-Bioversity/*/dublin_core.xml
2019-11-28 16:30:45 +01:00
</code></pre><ul>
2020-01-27 15:20:44 +01:00
<li>It&rsquo;s really stupid, but for some reason the handles are included even though I specified the <code>-m</code> option, so after the export I removed the <code>dc.identifier.uri</code> metadata values from the items</li>
2019-11-28 16:30:45 +01:00
<li>Then I imported a test subset of them in my local test environment:</li>
</ul>
2019-10-15 17:58:36 +02:00
<pre><code>$ ~/dspace/bin/dspace import -a -c 10568/104049 -e fuu@cgiar.org -m 2019-10-15-Bioversity.map -s /tmp/2019-10-15-Bioversity
2019-11-28 16:30:45 +01:00
</code></pre><ul>
2020-01-27 15:20:44 +01:00
<li>I had forgotten (again) that the <code>dspace export</code> command doesn&rsquo;t preserve collection ownership or mappings, so I will have to create a temporary collection on CGSpace to import these to, then do the mappings again after import&hellip;</li>
2019-11-28 16:30:45 +01:00
<li>On CGSpace I will increase the RAM of the command line Java process for good luck before import&hellip;</li>
</ul>
2019-10-15 17:58:36 +02:00
<pre><code>$ export JAVA_OPTS=&quot;-Dfile.encoding=UTF-8 -Xmx1024m&quot;
2019-10-15 18:00:18 +02:00
$ dspace import -a -c 10568/104057 -e fuu@cgiar.org -m 2019-10-15-Bioversity.map -s 2019-10-15-Bioversity
2019-11-28 16:30:45 +01:00
</code></pre><ul>
<li>After importing the 1,367 items I re-exported the metadata, changed the owning collections to those based on their type, then re-imported them</li>
2019-10-15 17:58:36 +02:00
</ul>
2019-12-17 13:49:24 +01:00
<h2 id="2019-10-21">2019-10-21</h2>
2019-10-21 21:09:15 +02:00
<ul>
<li>Re-sync the DSpace Test database and assetstore with CGSpace</li>
<li>Run system updates on DSpace Test (linode19) and reboot it</li>
</ul>
2019-12-17 13:49:24 +01:00
<h2 id="2019-10-24">2019-10-24</h2>
2019-10-24 20:39:21 +02:00
<ul>
<li>Create a test user for Mohammad Salem to test depositing from MEL to DSpace Test, as the last one I had created in 2019-08 was cleared when we re-syncronized DSpace Test with CGSpace recently.</li>
</ul>
2019-12-17 13:49:24 +01:00
<h2 id="2019-10-25">2019-10-25</h2>
2019-10-28 12:51:00 +01:00
<ul>
<li>Give a presentationa (via WebEx) about open source software to the ILRI Open Access Week
<ul>
<li>The title was <em>Making ILRI code open: Software as an International Public Good</em></li>
<li>It is available on CGSpace: <a href="https://hdl.handle.net/10568/105514">https://hdl.handle.net/10568/105514</a></li>
</ul>
2019-11-28 16:30:45 +01:00
</li>
</ul>
2019-12-17 13:49:24 +01:00
<h2 id="2019-10-28">2019-10-28</h2>
2019-10-28 12:51:00 +01:00
<ul>
<li>Move the CGSpace CG Core v2 notes from a <a href="https://gist.github.com/alanorth/2db39e91f48d116e00a4edffd6ba6409">GitHub Gist</a> to a <a href="/cgspace-notes/cgspace-cgcorev2-migration/">page</a> on this site for archive and searchability sake</li>
2019-10-28 15:52:51 +01:00
<li>Work on the CG Core v2 implementation testing
<ul>
2020-01-27 15:20:44 +01:00
<li>I noticed that the page title is messed up on the item view, and after over an hour of troubleshooting it I couldn&rsquo;t figure out why</li>
<li>It seems to be because the <code>dc.title</code><code>dcterms.title</code> modifications cause the title metadata to disappear from DRI&rsquo;s <code>&lt;pageMeta&gt;</code> and therefore the title is not accessible to the XSL transformation</li>
2019-10-28 15:52:51 +01:00
<li>Also, I noticed a few places in the Java code where <code>dc.title</code> is hard coded so I think this might be one of the fields that we just assume DSpace relies on internally</li>
<li>I will revert all changes to <code>dc.title</code> and <code>dc.title.alternative</code></li>
<li>TODO: there are similar issues with the <code>citation_author</code> metadata element missing from DRI, so I might have to revert those changes too</li>
2019-10-28 12:51:00 +01:00
</ul>
2019-11-28 16:30:45 +01:00
</li>
</ul>
2019-12-17 13:49:24 +01:00
<h2 id="2019-10-29">2019-10-29</h2>
2019-10-29 15:23:43 +01:00
<ul>
<li>After more digging in the source I found out why the <code>dcterms.title</code> and <code>dcterms.creator</code> fields are not present in the DRI <code>pageMeta</code>&hellip;
<ul>
<li>The <code>pageMeta</code> element is constructed in <code>dspace-xmlui/src/main/java/org/dspace/app/xmlui/wing/IncludePageMeta.java</code> and the code does not consider any other schemas besides DC</li>
<li>I moved title and creator back to the original DC fields and then everything was working as expected in the pageMeta, so I guess we cannot use these in DCTERMS either!</li>
2019-11-28 16:30:45 +01:00
</ul>
</li>
2019-10-29 16:41:17 +01:00
<li>Assist Maria from Bioversity with community and collection subscriptions</li>
2019-10-29 15:23:43 +01:00
</ul>
2019-11-28 16:30:45 +01:00
<!-- raw HTML omitted -->
2019-10-01 16:31:40 +02:00
</article>
</div> <!-- /.blog-main -->
<aside class="col-sm-3 ml-auto blog-sidebar">
<section class="sidebar-module">
<h4>Recent Posts</h4>
<ol class="list-unstyled">
2020-08-02 21:14:16 +02:00
<li><a href="/cgspace-notes/2020-07/">August, 2020</a></li>
2020-07-01 14:37:20 +02:00
<li><a href="/cgspace-notes/2020-07/">July, 2020</a></li>
2020-06-02 14:12:32 +02:00
<li><a href="/cgspace-notes/2020-06/">June, 2020</a></li>
2020-05-02 09:08:14 +02:00
2020-06-02 14:12:32 +02:00
<li><a href="/cgspace-notes/2020-05/">May, 2020</a></li>
2020-06-01 16:08:25 +02:00
2020-04-02 09:54:46 +02:00
<li><a href="/cgspace-notes/2020-04/">April, 2020</a></li>
2019-10-01 16:31:40 +02:00
</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 dir="auto">
2019-10-01 16:31:40 +02:00
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>