mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-26 08:28:18 +01:00
Add notes for 2016-06-24
This commit is contained in:
parent
b816df277c
commit
5c5380d7bd
@ -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)
|
||||
|
@ -330,6 +330,25 @@ UPDATE 960
|
||||
|
||||
<ul>
|
||||
<li>I really need to fix that cron job…</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>
|
||||
|
@ -269,6 +269,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>
|
||||
</description>
|
||||
</item>
|
||||
|
||||
|
@ -269,6 +269,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>
|
||||
</description>
|
||||
</item>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user