mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2020-01-27
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
|
||||
<meta property="og:title" content="June, 2017" />
|
||||
<meta property="og:description" content="2017-06-01 After discussion with WLE and CGSpace content people, we decided to just add one metadata field for the WLE Research Themes The cg.identifier.wletheme field will be used for both Phase I and Phase II Research Themes Then we'll create a new sub-community for Phase II and create collections for the research themes there The current “Research Themes” community will be renamed to “WLE Phase I Research Themes” Tagged all items in the current Phase I collections with their appropriate themes Create pull request to add Phase II research themes to the submission form: #328 Add cg." />
|
||||
<meta property="og:description" content="2017-06-01 After discussion with WLE and CGSpace content people, we decided to just add one metadata field for the WLE Research Themes The cg.identifier.wletheme field will be used for both Phase I and Phase II Research Themes Then we’ll create a new sub-community for Phase II and create collections for the research themes there The current “Research Themes” community will be renamed to “WLE Phase I Research Themes” Tagged all items in the current Phase I collections with their appropriate themes Create pull request to add Phase II research themes to the submission form: #328 Add cg." />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2017-06/" />
|
||||
<meta property="article:published_time" content="2017-06-01T10:14:52+03:00" />
|
||||
@ -14,8 +14,8 @@
|
||||
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:title" content="June, 2017"/>
|
||||
<meta name="twitter:description" content="2017-06-01 After discussion with WLE and CGSpace content people, we decided to just add one metadata field for the WLE Research Themes The cg.identifier.wletheme field will be used for both Phase I and Phase II Research Themes Then we'll create a new sub-community for Phase II and create collections for the research themes there The current “Research Themes” community will be renamed to “WLE Phase I Research Themes” Tagged all items in the current Phase I collections with their appropriate themes Create pull request to add Phase II research themes to the submission form: #328 Add cg."/>
|
||||
<meta name="generator" content="Hugo 0.62.2" />
|
||||
<meta name="twitter:description" content="2017-06-01 After discussion with WLE and CGSpace content people, we decided to just add one metadata field for the WLE Research Themes The cg.identifier.wletheme field will be used for both Phase I and Phase II Research Themes Then we’ll create a new sub-community for Phase II and create collections for the research themes there The current “Research Themes” community will be renamed to “WLE Phase I Research Themes” Tagged all items in the current Phase I collections with their appropriate themes Create pull request to add Phase II research themes to the submission form: #328 Add cg."/>
|
||||
<meta name="generator" content="Hugo 0.63.1" />
|
||||
|
||||
|
||||
|
||||
@ -45,7 +45,7 @@
|
||||
|
||||
<!-- combined, minified CSS -->
|
||||
|
||||
<link href="https://alanorth.github.io/cgspace-notes/css/style.a20c1a4367639632cdb341d23c27ca44fedcc75b0f8b3cbea6203010da153d3c.css" rel="stylesheet" integrity="sha256-ogwaQ2djljLNs0HSPCfKRP7cx1sPizy+piAwENoVPTw=" crossorigin="anonymous">
|
||||
<link href="https://alanorth.github.io/cgspace-notes/css/style.23e2c3298bcc8c1136c19aba330c211ec94c36f7c4454ea15cf4d3548370042a.css" rel="stylesheet" integrity="sha256-I+LDKYvMjBE2wZq6MwwhHslMNvfERU6hXPTTVINwBCo=" crossorigin="anonymous">
|
||||
|
||||
|
||||
<!-- RSS 2.0 feed -->
|
||||
@ -93,7 +93,7 @@
|
||||
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2017-06/">June, 2017</a></h2>
|
||||
<p class="blog-post-meta"><time datetime="2017-06-01T10:14:52+03:00">Thu Jun 01, 2017</time> by Alan Orth in
|
||||
|
||||
<i class="fa fa-tag" aria-hidden="true"></i> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||
<span class="fas fa-tag" aria-hidden="true"></span> <a href="/cgspace-notes/tags/notes" rel="tag">Notes</a>
|
||||
|
||||
</p>
|
||||
</header>
|
||||
@ -101,7 +101,7 @@
|
||||
<ul>
|
||||
<li>After discussion with WLE and CGSpace content people, we decided to just add one metadata field for the WLE Research Themes</li>
|
||||
<li>The <code>cg.identifier.wletheme</code> field will be used for both Phase I and Phase II Research Themes</li>
|
||||
<li>Then we'll create a new sub-community for Phase II and create collections for the research themes there</li>
|
||||
<li>Then we’ll create a new sub-community for Phase II and create collections for the research themes there</li>
|
||||
<li>The current “Research Themes” community will be renamed to “WLE Phase I Research Themes”</li>
|
||||
<li>Tagged all items in the current Phase I collections with their appropriate themes</li>
|
||||
<li>Create pull request to add Phase II research themes to the submission form: <a href="https://github.com/ilri/DSpace/pull/328">#328</a></li>
|
||||
@ -111,15 +111,15 @@
|
||||
<ul>
|
||||
<li>After adding <code>cg.identifier.wletheme</code> to 1106 WLE items I can see the field on XMLUI but not in REST!</li>
|
||||
<li>Strangely it happens on DSpace Test AND on CGSpace!</li>
|
||||
<li>I tried to re-index Discovery but it didn't fix it</li>
|
||||
<li>I tried to re-index Discovery but it didn’t fix it</li>
|
||||
<li>Run all system updates on DSpace Test and reboot the server</li>
|
||||
<li>After rebooting the server (and therefore restarting Tomcat) the new metadata field is available</li>
|
||||
<li>I've sent a message to the dspace-tech mailing list to ask if this is a bug and whether I should file a Jira ticket</li>
|
||||
<li>I’ve sent a message to the dspace-tech mailing list to ask if this is a bug and whether I should file a Jira ticket</li>
|
||||
</ul>
|
||||
<h2 id="2016-06-05">2016-06-05</h2>
|
||||
<ul>
|
||||
<li>Rename WLE's “Research Themes” sub-community to “WLE Phase I Research Themes” on DSpace Test so Macaroni Bros can continue their testing</li>
|
||||
<li>Macaroni Bros tested it and said it's fine, so I renamed it on CGSpace as well</li>
|
||||
<li>Rename WLE’s “Research Themes” sub-community to “WLE Phase I Research Themes” on DSpace Test so Macaroni Bros can continue their testing</li>
|
||||
<li>Macaroni Bros tested it and said it’s fine, so I renamed it on CGSpace as well</li>
|
||||
<li>Working on how to automate the extraction of the CIAT Book chapters, doing some magic in OpenRefine to extract page from–to from cg.identifier.url and dc.format.extent, respectively:
|
||||
<ul>
|
||||
<li>cg.identifier.url: <code>value.split("page=", "")[1]</code></li>
|
||||
@ -144,7 +144,7 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li>17 of the items have issues with incorrect page number ranges, and upon closer inspection they do not appear in the referenced PDF</li>
|
||||
<li>I've flagged them and proceeded without them (752 total) on DSpace Test:</li>
|
||||
<li>I’ve flagged them and proceeded without them (752 total) on DSpace Test:</li>
|
||||
</ul>
|
||||
<pre><code>$ JAVA_OPTS="-Xmx1024m -Dfile.encoding=UTF-8" [dspace]/bin/dspace import --add --eperson=aorth@mjanja.ch --collection=10568/93843 --source /home/aorth/src/CIAT-Books/SimpleArchiveFormat/ --mapfile=/tmp/ciat-books.map &> /tmp/ciat-books.log
|
||||
</code></pre><ul>
|
||||
@ -154,9 +154,9 @@
|
||||
</ul>
|
||||
<h2 id="2017-06-07">2017-06-07</h2>
|
||||
<ul>
|
||||
<li>Testing <a href="https://github.com/ilri/DSpace/pull/319">Atmire's patch for the CUA Workflow Statistics again</a></li>
|
||||
<li>Still doesn't seem to give results I'd expect, like there are no results for Maria Garruccio, or for the ILRI community!</li>
|
||||
<li>Then I'll file an update to the issue on Atmire's tracker</li>
|
||||
<li>Testing <a href="https://github.com/ilri/DSpace/pull/319">Atmire’s patch for the CUA Workflow Statistics again</a></li>
|
||||
<li>Still doesn’t seem to give results I’d expect, like there are no results for Maria Garruccio, or for the ILRI community!</li>
|
||||
<li>Then I’ll file an update to the issue on Atmire’s tracker</li>
|
||||
<li>Created a new branch with just the relevant changes, so I can send it to them</li>
|
||||
<li>One thing I noticed is that there is a failed database migration related to CUA:</li>
|
||||
</ul>
|
||||
@ -194,7 +194,7 @@
|
||||
</ul>
|
||||
<h2 id="2017-06-20">2017-06-20</h2>
|
||||
<ul>
|
||||
<li>Import Abenet and Peter's changes to the CGIAR Library CRP community</li>
|
||||
<li>Import Abenet and Peter’s changes to the CGIAR Library CRP community</li>
|
||||
<li>Due to them using Windows and renaming some columns there were formatting, encoding, and duplicate metadata value issues</li>
|
||||
<li>I had to remove some fields from the CSV and rename some back to, ie, <code>dc.subject[en_US]</code> just so DSpace would detect changes properly</li>
|
||||
<li>Now it looks much better: <a href="https://dspacetest.cgiar.org/handle/10947/2517">https://dspacetest.cgiar.org/handle/10947/2517</a></li>
|
||||
@ -212,7 +212,7 @@ $ JAVA_OPTS="-Xmx1024m -Dfile.encoding=UTF-8" [dspace]/bin/dspace impo
|
||||
<ul>
|
||||
<li>WLE has said that one of their Phase II research themes is being renamed from <code>Regenerating Degraded Landscapes</code> to <code>Restoring Degraded Landscapes</code></li>
|
||||
<li>Pull request with the changes to <code>input-forms.xml</code>: <a href="https://github.com/ilri/DSpace/pull/329">#329</a></li>
|
||||
<li>As of now it doesn't look like there are any items using this research theme so we don't need to do any updates:</li>
|
||||
<li>As of now it doesn’t look like there are any items using this research theme so we don’t need to do any updates:</li>
|
||||
</ul>
|
||||
<pre><code>dspace=# select text_value from metadatavalue where resource_type_id=2 and metadata_field_id=237 and text_value like 'Regenerating Degraded Landscapes%';
|
||||
text_value
|
||||
@ -229,15 +229,15 @@ $ JAVA_OPTS="-Xmx1024m -Dfile.encoding=UTF-8" [dspace]/bin/dspace impo
|
||||
<pre><code>Java stacktrace: java.util.NoSuchElementException: Timeout waiting for idle object
|
||||
</code></pre><ul>
|
||||
<li>After looking at the Tomcat logs, Munin graphs, and PostgreSQL connection stats, it seems there is just a high load</li>
|
||||
<li>Might be a good time to adjust DSpace's database connection settings, like I first mentioned in April, 2017 after reading the <a href="https://wiki.duraspace.org/display/cmtygp/DCAT+Meeting+April+2017">2017-04 DCAT comments</a></li>
|
||||
<li>I've adjusted the following in CGSpace's config:
|
||||
<li>Might be a good time to adjust DSpace’s database connection settings, like I first mentioned in April, 2017 after reading the <a href="https://wiki.duraspace.org/display/cmtygp/DCAT+Meeting+April+2017">2017-04 DCAT comments</a></li>
|
||||
<li>I’ve adjusted the following in CGSpace’s config:
|
||||
<ul>
|
||||
<li><code>db.maxconnections</code> 30→70 (the default PostgreSQL config allows 100 connections, so DSpace's default of 30 is quite low)</li>
|
||||
<li><code>db.maxconnections</code> 30→70 (the default PostgreSQL config allows 100 connections, so DSpace’s default of 30 is quite low)</li>
|
||||
<li><code>db.maxwait</code> 5000→10000</li>
|
||||
<li><code>db.maxidle</code> 8→20 (DSpace default is -1, unlimited, but we had set it to 8 earlier)</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>We will need to adjust this again (as well as the <code>pg_hba.conf</code> settings) when we deploy tsega's REST API</li>
|
||||
<li>We will need to adjust this again (as well as the <code>pg_hba.conf</code> settings) when we deploy tsega’s REST API</li>
|
||||
<li>Whip up a test for Marianne of WLE to be able to show both their Phase I and II research themes in the CGSpace item submission form:</li>
|
||||
</ul>
|
||||
<p><img src="/cgspace-notes/2017/06/wle-theme-test-a.png" alt="Test A for displaying the Phase I and II research themes">
|
||||
|
Reference in New Issue
Block a user