Add notes for 2016-06-07

This commit is contained in:
2016-06-08 00:28:43 +03:00
parent f1cfef0582
commit c9c6800dcd
9 changed files with 426 additions and 331 deletions

View File

@ -11,7 +11,7 @@
<meta property="og:type" content="article" />
<meta property="og:article:published_time" content="2016-05-01T10:53:00&#43;03:00" />
<meta property="og:article:published_time" content="2016-06-01T10:53:00&#43;03:00" />
<meta property="og:article:tag" content="notes" />
@ -65,8 +65,8 @@
<div class="post-meta clearfix">
<div class="post-date pull-left">
Posted on
<time datetime="2016-05-01T10:53:00&#43;03:00">
May 1, 2016
<time datetime="2016-06-01T10:53:00&#43;03:00">
Jun 1, 2016
</time>
</div>
<div class="pull-right">
@ -197,6 +197,31 @@ UPDATE 960
<li>Re-sync DSpace Test with CGSpace and perform test of metadata migration again</li>
<li>Run phase two of metadata migrations on CGSpace (see the <a href="https://gist.github.com/alanorth/1a730bec5ac9457a8fb0e3e72c98d09c">migration notes</a>)</li>
<li>Run all system updates and reboot CGSpace server</li>
</ul>
<h2 id="2016-06-07:6783872e82b68b1517e00f494e6b6504">2016-06-07</h2>
<ul>
<li>Figured out how to export a list of the unique values from a metadata field ordered by count:</li>
</ul>
<pre><code>dspacetest=# \copy (select text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id=29 group by text_value order by count desc) to /tmp/sponsorship.csv with csv;
</code></pre>
<ul>
<li>Identified the next round of fields to migrate:
<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.contributor.corporate → dc.contributor</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>
</ul>
</section>
@ -216,10 +241,10 @@ UPDATE 960
</section>
<ul class="pager">
<li class="previous"><a href="/cgspace-notes/2016-04/"><span aria-hidden="true">&larr;</span> Older</a></li>
<li class="previous"><a href="/cgspace-notes/2016-05/"><span aria-hidden="true">&larr;</span> Older</a></li>
<li class="next"><a href="/cgspace-notes/2016-05/">Newer <span aria-hidden="true">&rarr;</span></a></li>
<li class="next disabled"><a href="#">Newer <span aria-hidden="true">&rarr;</span></a></li>
</ul>
</footer>