Add notes for 2016-07-06

This commit is contained in:
Alan Orth 2016-07-06 18:49:52 +03:00
parent 7a39c7ef6a
commit fc3ae23d02
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
4 changed files with 141 additions and 0 deletions

View File

@ -44,3 +44,33 @@ $ ./fix-metadata-values.py -i /tmp/Species-Peter-Fix.csv -f dc.Species -t CORREC
- A user is still having problems with Sherpa/Romeo causing crashes during the submission process when the journal is "ungraded" - 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 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` - I will merge it to `5_x-prod`
## 2016-07-06
- Delete 23 blank metadata values from CGSpace:
```
cgspace=# delete from metadatavalue where resource_type_id=2 and text_value='';
DELETE 23
```
- Complete phase three of metadata migration, for the following fields:
- dc.title.jtitle → dc.source
- dc.crsubject.crpsubject → cg.contributor.crp
- dc.contributor.affiliation → cg.contributor.affiliation
- dc.Species → cg.species
- dc.srplace.subregion → cg.coverage.subregion
- dc.contributor.corporate → dc.contributor.author
- dc.identifier.url → cg.identifier.url
- dc.identifier.doi → cg.identifier.doi
- dc.identifier.googleurl → cg.identifier.googleurl
- dc.identifier.dataurl → cg.identifier.dataurl
- Also, run fixes and deletes for species and author affiliations (over 1000 corrections!)
```
$ ./fix-metadata-values.py -i Species-Peter-Fix.csv -f dc.Species -t CORRECT -m 212 -d dspace -u dspace -p 'fuuu'
./fix-metadata-values.py -i Affiliations-Fix-1045-Peter-Abenet.csv -f dc.contributor.affiliation -t Correct -m 211 -d dspace -u dspace -p 'fuuu'
./delete-metadata-values.py -f dc.contributor.affiliation -i Affiliations-Delete-Peter-Abenet.csv -m 211 -u dspace -d dspace -p 'fuuu'
```
- I then ran all server updates and rebooted the server

View File

@ -126,6 +126,43 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
<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>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 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> <li>I will merge it to <code>5_x-prod</code></li>
</ul>
<h2 id="2016-07-06:edc14796891c14dec087b4bb89c38aa9">2016-07-06</h2>
<ul>
<li>Delete 23 blank metadata values from CGSpace:</li>
</ul>
<pre><code>cgspace=# delete from metadatavalue where resource_type_id=2 and text_value='';
DELETE 23
</code></pre>
<ul>
<li>Complete phase three of metadata migration, for the following fields:
<ul>
<li>dc.title.jtitle → dc.source</li>
<li>dc.crsubject.crpsubject → cg.contributor.crp</li>
<li>dc.contributor.affiliation → cg.contributor.affiliation</li>
<li>dc.Species → cg.species</li>
<li>dc.srplace.subregion → cg.coverage.subregion</li>
<li>dc.contributor.corporate → dc.contributor.author</li>
<li>dc.identifier.url → cg.identifier.url</li>
<li>dc.identifier.doi → cg.identifier.doi</li>
<li>dc.identifier.googleurl → cg.identifier.googleurl</li>
<li>dc.identifier.dataurl → cg.identifier.dataurl</li>
</ul></li>
<li>Also, run fixes and deletes for species and author affiliations (over 1000 corrections!)</li>
</ul>
<pre><code>$ ./fix-metadata-values.py -i Species-Peter-Fix.csv -f dc.Species -t CORRECT -m 212 -d dspace -u dspace -p 'fuuu'
./fix-metadata-values.py -i Affiliations-Fix-1045-Peter-Abenet.csv -f dc.contributor.affiliation -t Correct -m 211 -d dspace -u dspace -p 'fuuu'
./delete-metadata-values.py -f dc.contributor.affiliation -i Affiliations-Delete-Peter-Abenet.csv -m 211 -u dspace -d dspace -p 'fuuu'
</code></pre>
<ul>
<li>I then ran all server updates and rebooted the server</li>
</ul> </ul>
</section> </section>

View File

@ -65,6 +65,43 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
&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 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;li&gt;I will merge it to &lt;code&gt;5_x-prod&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt; &lt;/ul&gt;
&lt;h2 id=&#34;2016-07-06:edc14796891c14dec087b4bb89c38aa9&#34;&gt;2016-07-06&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Delete 23 blank metadata values from CGSpace:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;cgspace=# delete from metadatavalue where resource_type_id=2 and text_value=&#39;&#39;;
DELETE 23
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Complete phase three of metadata migration, for the following fields:
&lt;ul&gt;
&lt;li&gt;dc.title.jtitle → dc.source&lt;/li&gt;
&lt;li&gt;dc.crsubject.crpsubject → cg.contributor.crp&lt;/li&gt;
&lt;li&gt;dc.contributor.affiliation → cg.contributor.affiliation&lt;/li&gt;
&lt;li&gt;dc.Species → cg.species&lt;/li&gt;
&lt;li&gt;dc.srplace.subregion → cg.coverage.subregion&lt;/li&gt;
&lt;li&gt;dc.contributor.corporate → dc.contributor.author&lt;/li&gt;
&lt;li&gt;dc.identifier.url → cg.identifier.url&lt;/li&gt;
&lt;li&gt;dc.identifier.doi → cg.identifier.doi&lt;/li&gt;
&lt;li&gt;dc.identifier.googleurl → cg.identifier.googleurl&lt;/li&gt;
&lt;li&gt;dc.identifier.dataurl → cg.identifier.dataurl&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;Also, run fixes and deletes for species and author affiliations (over 1000 corrections!)&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;$ ./fix-metadata-values.py -i Species-Peter-Fix.csv -f dc.Species -t CORRECT -m 212 -d dspace -u dspace -p &#39;fuuu&#39;
./fix-metadata-values.py -i Affiliations-Fix-1045-Peter-Abenet.csv -f dc.contributor.affiliation -t Correct -m 211 -d dspace -u dspace -p &#39;fuuu&#39;
./delete-metadata-values.py -f dc.contributor.affiliation -i Affiliations-Delete-Peter-Abenet.csv -m 211 -u dspace -d dspace -p &#39;fuuu&#39;
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;I then ran all server updates and rebooted the server&lt;/li&gt;
&lt;/ul&gt;
</description> </description>
</item> </item>

View File

@ -65,6 +65,43 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
&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 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;li&gt;I will merge it to &lt;code&gt;5_x-prod&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt; &lt;/ul&gt;
&lt;h2 id=&#34;2016-07-06:edc14796891c14dec087b4bb89c38aa9&#34;&gt;2016-07-06&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Delete 23 blank metadata values from CGSpace:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;cgspace=# delete from metadatavalue where resource_type_id=2 and text_value=&#39;&#39;;
DELETE 23
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Complete phase three of metadata migration, for the following fields:
&lt;ul&gt;
&lt;li&gt;dc.title.jtitle → dc.source&lt;/li&gt;
&lt;li&gt;dc.crsubject.crpsubject → cg.contributor.crp&lt;/li&gt;
&lt;li&gt;dc.contributor.affiliation → cg.contributor.affiliation&lt;/li&gt;
&lt;li&gt;dc.Species → cg.species&lt;/li&gt;
&lt;li&gt;dc.srplace.subregion → cg.coverage.subregion&lt;/li&gt;
&lt;li&gt;dc.contributor.corporate → dc.contributor.author&lt;/li&gt;
&lt;li&gt;dc.identifier.url → cg.identifier.url&lt;/li&gt;
&lt;li&gt;dc.identifier.doi → cg.identifier.doi&lt;/li&gt;
&lt;li&gt;dc.identifier.googleurl → cg.identifier.googleurl&lt;/li&gt;
&lt;li&gt;dc.identifier.dataurl → cg.identifier.dataurl&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;Also, run fixes and deletes for species and author affiliations (over 1000 corrections!)&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;$ ./fix-metadata-values.py -i Species-Peter-Fix.csv -f dc.Species -t CORRECT -m 212 -d dspace -u dspace -p &#39;fuuu&#39;
./fix-metadata-values.py -i Affiliations-Fix-1045-Peter-Abenet.csv -f dc.contributor.affiliation -t Correct -m 211 -d dspace -u dspace -p &#39;fuuu&#39;
./delete-metadata-values.py -f dc.contributor.affiliation -i Affiliations-Delete-Peter-Abenet.csv -m 211 -u dspace -d dspace -p &#39;fuuu&#39;
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;I then ran all server updates and rebooted the server&lt;/li&gt;
&lt;/ul&gt;
</description> </description>
</item> </item>