mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Update notes for 2017-02-16
This commit is contained in:
@ -114,7 +114,27 @@ DELETE 1
|
||||
<li>Especially because we only use 2 out of 8 CPUs basically:</li>
|
||||
</ul>
|
||||
|
||||
<p><img src="https://alanorth.github.io/cgspace-notes/cgspace-notes/2017/02/cpu-week.png" alt="CGSpace CPU" /></p></description>
|
||||
<p><img src="https://alanorth.github.io/cgspace-notes/cgspace-notes/2017/02/cpu-week.png" alt="CGSpace CPU" /></p>
|
||||
|
||||
<ul>
|
||||
<li>Fix issue with duplicate declaration of in atmire-dspace-xmlui <code>pom.xml</code> (causing non-fatal warnings during the maven build)</li>
|
||||
<li>Experiment with making DSpace generate HTTPS handle links, first a change in dspace.cfg or the site&rsquo;s properties file:</li>
|
||||
</ul>
|
||||
|
||||
<pre><code>handle.canonical.prefix = https://hdl.handle.net/
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
<li>And then a SQL command to update existing records:</li>
|
||||
</ul>
|
||||
|
||||
<pre><code>dspace=# update metadatavalue set text_value = regexp_replace(text_value, 'http://hdl.handle.net', 'https://hdl.handle.net') where metadata_field_id IN (select metadata_field_id from metadatafieldregistry where element = 'identifier' and qualifier = 'uri');
|
||||
UPDATE 58193
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
<li>Seems to work fine!</li>
|
||||
</ul></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
Reference in New Issue
Block a user