Add notes for 2016-07-05

This commit is contained in:
Alan Orth 2016-07-05 19:07:25 +03:00
parent 4335039e50
commit 7a39c7ef6a
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
6 changed files with 93 additions and 2 deletions

View File

@ -25,3 +25,22 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
## 2016-07-02
- Comment on DSpace Jira ticket about author lookup search text ([DS-2329](https://jira.duraspace.org/browse/DS-2329))
## 2016-07-04
- Seems the database's author authority values mean nothing without the `authority` Solr core from the host where they were created!
## 2016-07-05
- Amend `backup-solr.sh` script so it backs up the entire Solr folder
- We *really* only need `statistics` and `authority` but meh
- Fix metadata for species on DSpace Test:
```
$ ./fix-metadata-values.py -i /tmp/Species-Peter-Fix.csv -f dc.Species -t CORRECT -m 94 -d dspacetest -u dspacetest -p 'fuuu'
```
- Will run later on CGSpace
- A user is still having problems with Sherpa/Romeo causing crashes during the submission process when the journal is "ungraded"
- I tested the [patch for DS-2740](https://jira.duraspace.org/browse/DS-2740) that I had found last month and it seems to work
- I will merge it to `5_x-prod`

View File

@ -102,6 +102,30 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
<ul>
<li>Comment on DSpace Jira ticket about author lookup search text (<a href="https://jira.duraspace.org/browse/DS-2329">DS-2329</a>)</li>
</ul>
<h2 id="2016-07-04:edc14796891c14dec087b4bb89c38aa9">2016-07-04</h2>
<ul>
<li>Seems the database&rsquo;s author authority values mean nothing without the <code>authority</code> Solr core from the host where they were created!</li>
</ul>
<h2 id="2016-07-05:edc14796891c14dec087b4bb89c38aa9">2016-07-05</h2>
<ul>
<li>Amend <code>backup-solr.sh</code> script so it backs up the entire Solr folder</li>
<li>We <em>really</em> only need <code>statistics</code> and <code>authority</code> but meh</li>
<li>Fix metadata for species on DSpace Test:</li>
</ul>
<pre><code>$ ./fix-metadata-values.py -i /tmp/Species-Peter-Fix.csv -f dc.Species -t CORRECT -m 94 -d dspacetest -u dspacetest -p 'fuuu'
</code></pre>
<ul>
<li>Will run later on CGSpace</li>
<li>A user is still having problems with Sherpa/Romeo causing crashes during the submission process when the journal is &ldquo;ungraded&rdquo;</li>
<li>I tested the <a href="https://jira.duraspace.org/browse/DS-2740">patch for DS-2740</a> that I had found last month and it seems to work</li>
<li>I will merge it to <code>5_x-prod</code></li>
</ul>
</section>

View File

@ -71,7 +71,7 @@
</div>
</header>
<div>
2016-07-01 Add dc.description.sponsorship to Discovery sidebar facets and make investors clickable in item view (#232) I think this query should find and replace all authors that have &ldquo;,&rdquo; at the end of their names: dspacetest=# update metadatavalue set text_value = regexp_replace(text_value, '(^.+?),$', '\1') where metadata_field_id=3 and text_value ~ '^.+?,$'; UPDATE 95 dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and text_value ~ '^.+?,$'; text_value ------------ (0 rows) In this case the
2016-07-01 Add dc.description.sponsorship to Discovery sidebar facets and make investors clickable in item view (#232) I think this query should find and replace all authors that have &ldquo;,&rdquo; at the end of their names: dspacetest=# update metadatavalue set text_value = regexp_replace(text_value, '(^.+?),$', '\1') where metadata_field_id=3 and text_value ~ '^.+?,$'; UPDATE 95 dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and text_value ~ '^.+?,$'; text_value ------------ (0 rows) In this case the select query was showing 95 results before the update 2016-07-02 Comment on DSpace Jira ticket about author lookup search text (DS-2329) 2016-07-04 Seems the database&rsquo;s author authority values mean nothing without the authority Solr core from the host where they were created!
</div>
<footer>

View File

@ -41,6 +41,30 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
&lt;ul&gt;
&lt;li&gt;Comment on DSpace Jira ticket about author lookup search text (&lt;a href=&#34;https://jira.duraspace.org/browse/DS-2329&#34;&gt;DS-2329&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;2016-07-04:edc14796891c14dec087b4bb89c38aa9&#34;&gt;2016-07-04&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Seems the database&amp;rsquo;s author authority values mean nothing without the &lt;code&gt;authority&lt;/code&gt; Solr core from the host where they were created!&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;2016-07-05:edc14796891c14dec087b4bb89c38aa9&#34;&gt;2016-07-05&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Amend &lt;code&gt;backup-solr.sh&lt;/code&gt; script so it backs up the entire Solr folder&lt;/li&gt;
&lt;li&gt;We &lt;em&gt;really&lt;/em&gt; only need &lt;code&gt;statistics&lt;/code&gt; and &lt;code&gt;authority&lt;/code&gt; but meh&lt;/li&gt;
&lt;li&gt;Fix metadata for species on DSpace Test:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;$ ./fix-metadata-values.py -i /tmp/Species-Peter-Fix.csv -f dc.Species -t CORRECT -m 94 -d dspacetest -u dspacetest -p &#39;fuuu&#39;
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Will run later on CGSpace&lt;/li&gt;
&lt;li&gt;A user is still having problems with Sherpa/Romeo causing crashes during the submission process when the journal is &amp;ldquo;ungraded&amp;rdquo;&lt;/li&gt;
&lt;li&gt;I tested the &lt;a href=&#34;https://jira.duraspace.org/browse/DS-2740&#34;&gt;patch for DS-2740&lt;/a&gt; that I had found last month and it seems to work&lt;/li&gt;
&lt;li&gt;I will merge it to &lt;code&gt;5_x-prod&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
</item>

View File

@ -75,7 +75,7 @@
</div>
</header>
<div>
2016-07-01 Add dc.description.sponsorship to Discovery sidebar facets and make investors clickable in item view (#232) I think this query should find and replace all authors that have &ldquo;,&rdquo; at the end of their names: dspacetest=# update metadatavalue set text_value = regexp_replace(text_value, '(^.+?),$', '\1') where metadata_field_id=3 and text_value ~ '^.+?,$'; UPDATE 95 dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and text_value ~ '^.+?,$'; text_value ------------ (0 rows) In this case the
2016-07-01 Add dc.description.sponsorship to Discovery sidebar facets and make investors clickable in item view (#232) I think this query should find and replace all authors that have &ldquo;,&rdquo; at the end of their names: dspacetest=# update metadatavalue set text_value = regexp_replace(text_value, '(^.+?),$', '\1') where metadata_field_id=3 and text_value ~ '^.+?,$'; UPDATE 95 dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and text_value ~ '^.+?,$'; text_value ------------ (0 rows) In this case the select query was showing 95 results before the update 2016-07-02 Comment on DSpace Jira ticket about author lookup search text (DS-2329) 2016-07-04 Seems the database&rsquo;s author authority values mean nothing without the authority Solr core from the host where they were created!
</div>
<footer>

View File

@ -41,6 +41,30 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
&lt;ul&gt;
&lt;li&gt;Comment on DSpace Jira ticket about author lookup search text (&lt;a href=&#34;https://jira.duraspace.org/browse/DS-2329&#34;&gt;DS-2329&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;2016-07-04:edc14796891c14dec087b4bb89c38aa9&#34;&gt;2016-07-04&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Seems the database&amp;rsquo;s author authority values mean nothing without the &lt;code&gt;authority&lt;/code&gt; Solr core from the host where they were created!&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;2016-07-05:edc14796891c14dec087b4bb89c38aa9&#34;&gt;2016-07-05&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Amend &lt;code&gt;backup-solr.sh&lt;/code&gt; script so it backs up the entire Solr folder&lt;/li&gt;
&lt;li&gt;We &lt;em&gt;really&lt;/em&gt; only need &lt;code&gt;statistics&lt;/code&gt; and &lt;code&gt;authority&lt;/code&gt; but meh&lt;/li&gt;
&lt;li&gt;Fix metadata for species on DSpace Test:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;$ ./fix-metadata-values.py -i /tmp/Species-Peter-Fix.csv -f dc.Species -t CORRECT -m 94 -d dspacetest -u dspacetest -p &#39;fuuu&#39;
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Will run later on CGSpace&lt;/li&gt;
&lt;li&gt;A user is still having problems with Sherpa/Romeo causing crashes during the submission process when the journal is &amp;ldquo;ungraded&amp;rdquo;&lt;/li&gt;
&lt;li&gt;I tested the &lt;a href=&#34;https://jira.duraspace.org/browse/DS-2740&#34;&gt;patch for DS-2740&lt;/a&gt; that I had found last month and it seems to work&lt;/li&gt;
&lt;li&gt;I will merge it to &lt;code&gt;5_x-prod&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
</item>