Add notes for 2016-06-24

This commit is contained in:
Alan Orth 2016-06-24 15:17:19 +03:00
parent b816df277c
commit 5c5380d7bd
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
4 changed files with 70 additions and 0 deletions

View File

@ -213,3 +213,16 @@ UPDATE 960
```
- I really need to fix that cron job...
## 2016-06-24
- Run the replacements/deletes for `dc.description.sponsorship` (investors) on CGSpace:
```
$ ./fix-metadata-values.py -i investors-not-blank-not-delete-85.csv -f dc.description.sponsorship -t 'correct investor' -m 29 -d cgspace -p 'fuuu' -u cgspace
$ ./delete-metadata-values.py -i investors-delete-82.csv -f dc.description.sponsorship -m 29 -d cgspace -p 'fuuu' -u cgspace
```
- The scripts for this are here:
- [fix-metadata-values.py](https://gist.github.com/alanorth/df92cbfb54d762ba21b28f7cd83b6897)
- [delete-metadata-values.py](https://gist.github.com/alanorth/bd7d58c947f686401a2b1fadc78736be)

View File

@ -330,6 +330,25 @@ UPDATE 960
<ul>
<li>I really need to fix that cron job&hellip;</li>
</ul>
<h2 id="2016-06-24:6783872e82b68b1517e00f494e6b6504">2016-06-24</h2>
<ul>
<li>Run the replacements/deletes for <code>dc.description.sponsorship</code> (investors) on CGSpace:</li>
</ul>
<pre><code>$ ./fix-metadata-values.py -i investors-not-blank-not-delete-85.csv -f dc.description.sponsorship -t 'correct investor' -m 29 -d cgspace -p 'fuuu' -u cgspace
$ ./delete-metadata-values.py -i investors-delete-82.csv -f dc.description.sponsorship -m 29 -d cgspace -p 'fuuu' -u cgspace
</code></pre>
<ul>
<li>The scripts for this are here:
<ul>
<li><a href="https://gist.github.com/alanorth/df92cbfb54d762ba21b28f7cd83b6897">fix-metadata-values.py</a></li>
<li><a href="https://gist.github.com/alanorth/bd7d58c947f686401a2b1fadc78736be">delete-metadata-values.py</a></li>
</ul></li>
</ul>
</section>

View File

@ -269,6 +269,25 @@ UPDATE 960
&lt;ul&gt;
&lt;li&gt;I really need to fix that cron job&amp;hellip;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;2016-06-24:6783872e82b68b1517e00f494e6b6504&#34;&gt;2016-06-24&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Run the replacements/deletes for &lt;code&gt;dc.description.sponsorship&lt;/code&gt; (investors) on CGSpace:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;$ ./fix-metadata-values.py -i investors-not-blank-not-delete-85.csv -f dc.description.sponsorship -t &#39;correct investor&#39; -m 29 -d cgspace -p &#39;fuuu&#39; -u cgspace
$ ./delete-metadata-values.py -i investors-delete-82.csv -f dc.description.sponsorship -m 29 -d cgspace -p &#39;fuuu&#39; -u cgspace
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;The scripts for this are here:
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://gist.github.com/alanorth/df92cbfb54d762ba21b28f7cd83b6897&#34;&gt;fix-metadata-values.py&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://gist.github.com/alanorth/bd7d58c947f686401a2b1fadc78736be&#34;&gt;delete-metadata-values.py&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
</item>

View File

@ -269,6 +269,25 @@ UPDATE 960
&lt;ul&gt;
&lt;li&gt;I really need to fix that cron job&amp;hellip;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;2016-06-24:6783872e82b68b1517e00f494e6b6504&#34;&gt;2016-06-24&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Run the replacements/deletes for &lt;code&gt;dc.description.sponsorship&lt;/code&gt; (investors) on CGSpace:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;$ ./fix-metadata-values.py -i investors-not-blank-not-delete-85.csv -f dc.description.sponsorship -t &#39;correct investor&#39; -m 29 -d cgspace -p &#39;fuuu&#39; -u cgspace
$ ./delete-metadata-values.py -i investors-delete-82.csv -f dc.description.sponsorship -m 29 -d cgspace -p &#39;fuuu&#39; -u cgspace
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;The scripts for this are here:
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://gist.github.com/alanorth/df92cbfb54d762ba21b28f7cd83b6897&#34;&gt;fix-metadata-values.py&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://gist.github.com/alanorth/bd7d58c947f686401a2b1fadc78736be&#34;&gt;delete-metadata-values.py&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
</item>