Add notes for 2016-06-30

This commit is contained in:
Alan Orth 2016-06-30 19:22:18 +03:00
parent 6c0d873c6a
commit f2c66ce9e0
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
4 changed files with 80 additions and 0 deletions

View File

@ -273,3 +273,17 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D
- Run all system updates on the servers and reboot - Run all system updates on the servers and reboot
- Start working on config changes for phase three of the metadata migrations - Start working on config changes for phase three of the metadata migrations
## 2016-06-30
- Wow, there are 95 authors in the database who have ',' at the end of their name:
```
#select text_value from metadatavalue where metadata_field_id=3 and text_value like '%,';
```
- We need to use something like this to fix them, need to write a proper regex later:
```
# update metadatavalue set text_value = regexp_replace(text_value, '(Poole, J),', '\1') where text_value = 'Poole, J,';
```

View File

@ -397,10 +397,32 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D
<ul> <ul>
<li>Re-deploy CGSpace and DSpace Test with latest June changes</li> <li>Re-deploy CGSpace and DSpace Test with latest June changes</li>
<li>Now the sharing and Altmetric bits are more prominent:</li>
</ul>
<p><img src="../images/2016/06/xmlui-altmetric-sharing.png" alt="DSpace 5.1 XMLUI With Altmetric Badge" /></p>
<ul>
<li>Run all system updates on the servers and reboot</li> <li>Run all system updates on the servers and reboot</li>
<li>Start working on config changes for phase three of the metadata migrations</li> <li>Start working on config changes for phase three of the metadata migrations</li>
</ul> </ul>
<h2 id="2016-06-30:6783872e82b68b1517e00f494e6b6504">2016-06-30</h2>
<ul>
<li>Wow, there are 95 authors in the database who have &lsquo;,&rsquo; at the end of their name:</li>
</ul>
<pre><code>#select text_value from metadatavalue where metadata_field_id=3 and text_value like '%,';
</code></pre>
<ul>
<li>We need to use something like this to fix them, need to write a proper regex later:</li>
</ul>
<pre><code># update metadatavalue set text_value = regexp_replace(text_value, '(Poole, J),', '\1') where text_value = 'Poole, J,';
</code></pre>
</section> </section>
<footer> <footer>

View File

@ -335,9 +335,31 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D
&lt;ul&gt; &lt;ul&gt;
&lt;li&gt;Re-deploy CGSpace and DSpace Test with latest June changes&lt;/li&gt; &lt;li&gt;Re-deploy CGSpace and DSpace Test with latest June changes&lt;/li&gt;
&lt;li&gt;Now the sharing and Altmetric bits are more prominent:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&#34;../images/2016/06/xmlui-altmetric-sharing.png&#34; alt=&#34;DSpace 5.1 XMLUI With Altmetric Badge&#34; /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Run all system updates on the servers and reboot&lt;/li&gt; &lt;li&gt;Run all system updates on the servers and reboot&lt;/li&gt;
&lt;li&gt;Start working on config changes for phase three of the metadata migrations&lt;/li&gt; &lt;li&gt;Start working on config changes for phase three of the metadata migrations&lt;/li&gt;
&lt;/ul&gt; &lt;/ul&gt;
&lt;h2 id=&#34;2016-06-30:6783872e82b68b1517e00f494e6b6504&#34;&gt;2016-06-30&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Wow, there are 95 authors in the database who have &amp;lsquo;,&amp;rsquo; at the end of their name:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;#select text_value from metadatavalue where metadata_field_id=3 and text_value like &#39;%,&#39;;
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;We need to use something like this to fix them, need to write a proper regex later:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;# update metadatavalue set text_value = regexp_replace(text_value, &#39;(Poole, J),&#39;, &#39;\1&#39;) where text_value = &#39;Poole, J,&#39;;
&lt;/code&gt;&lt;/pre&gt;
</description> </description>
</item> </item>

View File

@ -335,9 +335,31 @@ $ ./delete-metadata-values.py -f dc.contributor.corporate -i Corporate-Authors-D
&lt;ul&gt; &lt;ul&gt;
&lt;li&gt;Re-deploy CGSpace and DSpace Test with latest June changes&lt;/li&gt; &lt;li&gt;Re-deploy CGSpace and DSpace Test with latest June changes&lt;/li&gt;
&lt;li&gt;Now the sharing and Altmetric bits are more prominent:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&#34;../images/2016/06/xmlui-altmetric-sharing.png&#34; alt=&#34;DSpace 5.1 XMLUI With Altmetric Badge&#34; /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Run all system updates on the servers and reboot&lt;/li&gt; &lt;li&gt;Run all system updates on the servers and reboot&lt;/li&gt;
&lt;li&gt;Start working on config changes for phase three of the metadata migrations&lt;/li&gt; &lt;li&gt;Start working on config changes for phase three of the metadata migrations&lt;/li&gt;
&lt;/ul&gt; &lt;/ul&gt;
&lt;h2 id=&#34;2016-06-30:6783872e82b68b1517e00f494e6b6504&#34;&gt;2016-06-30&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Wow, there are 95 authors in the database who have &amp;lsquo;,&amp;rsquo; at the end of their name:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;#select text_value from metadatavalue where metadata_field_id=3 and text_value like &#39;%,&#39;;
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;We need to use something like this to fix them, need to write a proper regex later:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;# update metadatavalue set text_value = regexp_replace(text_value, &#39;(Poole, J),&#39;, &#39;\1&#39;) where text_value = &#39;Poole, J,&#39;;
&lt;/code&gt;&lt;/pre&gt;
</description> </description>
</item> </item>