Update notes for 2017-02-09

This commit is contained in:
2017-02-09 22:36:23 -08:00
parent 0a94e2334e
commit 4906077ae4
5 changed files with 65 additions and 1 deletions

View File

@ -92,7 +92,7 @@ Looks like we’ll be using cg.identifier.ccafsprojectpii as the field name
"headline": "February, 2017",
"url": "https://alanorth.github.io/cgspace-notes/2017-02/",
"wordCount": "188",
"wordCount": "303",
"datePublished": "2017-02-07T07:04:52-08:00",
@ -209,6 +209,19 @@ DELETE 1
<pre><code>$ ./fix-metadata-values.py -i /tmp/CCAFS-Authors-Feb-7.csv -f dc.contributor.author -t 'correct name' -m 3 -d dspace -u dspace -p fuuu
</code></pre>
<h2 id="2017-02-09">2017-02-09</h2>
<ul>
<li>More work on CCAFS Phase II stuff</li>
<li>Looks like simply adding a new metadata field to <code>dspace/config/registries/cgiar-types.xml</code> and restarting DSpace causes the field to get added to the rregistry</li>
<li>It requires a restart but at least it allows you to manage the registry programmatically</li>
<li>It&rsquo;s not a very good way to manage the registry, though, as removing one there doesn&rsquo;t cause it to be removed from the registry, and we always restore from database backups so there would never be a scenario when we needed these to be created</li>
<li>Testing some corrections on CCAFS Phase II flagships (<code>cg.subject.ccafs</code>):</li>
</ul>
<pre><code>$ ./fix-metadata-values.py -i ccafs-flagships-feb7.csv -f cg.subject.ccafs -t correct -m 210 -d dspace -u dspace -p fuuu
</code></pre>

View File

@ -55,6 +55,19 @@ DELETE 1
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;$ ./fix-metadata-values.py -i /tmp/CCAFS-Authors-Feb-7.csv -f dc.contributor.author -t &#39;correct name&#39; -m 3 -d dspace -u dspace -p fuuu
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;2017-02-09&#34;&gt;2017-02-09&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;More work on CCAFS Phase II stuff&lt;/li&gt;
&lt;li&gt;Looks like simply adding a new metadata field to &lt;code&gt;dspace/config/registries/cgiar-types.xml&lt;/code&gt; and restarting DSpace causes the field to get added to the rregistry&lt;/li&gt;
&lt;li&gt;It requires a restart but at least it allows you to manage the registry programmatically&lt;/li&gt;
&lt;li&gt;It&amp;rsquo;s not a very good way to manage the registry, though, as removing one there doesn&amp;rsquo;t cause it to be removed from the registry, and we always restore from database backups so there would never be a scenario when we needed these to be created&lt;/li&gt;
&lt;li&gt;Testing some corrections on CCAFS Phase II flagships (&lt;code&gt;cg.subject.ccafs&lt;/code&gt;):&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;$ ./fix-metadata-values.py -i ccafs-flagships-feb7.csv -f cg.subject.ccafs -t correct -m 210 -d dspace -u dspace -p fuuu
&lt;/code&gt;&lt;/pre&gt;</description>
</item>

View File

@ -55,6 +55,19 @@ DELETE 1
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;$ ./fix-metadata-values.py -i /tmp/CCAFS-Authors-Feb-7.csv -f dc.contributor.author -t &#39;correct name&#39; -m 3 -d dspace -u dspace -p fuuu
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;2017-02-09&#34;&gt;2017-02-09&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;More work on CCAFS Phase II stuff&lt;/li&gt;
&lt;li&gt;Looks like simply adding a new metadata field to &lt;code&gt;dspace/config/registries/cgiar-types.xml&lt;/code&gt; and restarting DSpace causes the field to get added to the rregistry&lt;/li&gt;
&lt;li&gt;It requires a restart but at least it allows you to manage the registry programmatically&lt;/li&gt;
&lt;li&gt;It&amp;rsquo;s not a very good way to manage the registry, though, as removing one there doesn&amp;rsquo;t cause it to be removed from the registry, and we always restore from database backups so there would never be a scenario when we needed these to be created&lt;/li&gt;
&lt;li&gt;Testing some corrections on CCAFS Phase II flagships (&lt;code&gt;cg.subject.ccafs&lt;/code&gt;):&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;$ ./fix-metadata-values.py -i ccafs-flagships-feb7.csv -f cg.subject.ccafs -t correct -m 210 -d dspace -u dspace -p fuuu
&lt;/code&gt;&lt;/pre&gt;</description>
</item>

View File

@ -54,6 +54,19 @@ DELETE 1
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;$ ./fix-metadata-values.py -i /tmp/CCAFS-Authors-Feb-7.csv -f dc.contributor.author -t &#39;correct name&#39; -m 3 -d dspace -u dspace -p fuuu
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;2017-02-09&#34;&gt;2017-02-09&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;More work on CCAFS Phase II stuff&lt;/li&gt;
&lt;li&gt;Looks like simply adding a new metadata field to &lt;code&gt;dspace/config/registries/cgiar-types.xml&lt;/code&gt; and restarting DSpace causes the field to get added to the rregistry&lt;/li&gt;
&lt;li&gt;It requires a restart but at least it allows you to manage the registry programmatically&lt;/li&gt;
&lt;li&gt;It&amp;rsquo;s not a very good way to manage the registry, though, as removing one there doesn&amp;rsquo;t cause it to be removed from the registry, and we always restore from database backups so there would never be a scenario when we needed these to be created&lt;/li&gt;
&lt;li&gt;Testing some corrections on CCAFS Phase II flagships (&lt;code&gt;cg.subject.ccafs&lt;/code&gt;):&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;$ ./fix-metadata-values.py -i ccafs-flagships-feb7.csv -f cg.subject.ccafs -t correct -m 210 -d dspace -u dspace -p fuuu
&lt;/code&gt;&lt;/pre&gt;</description>
</item>