Add notes for 2016-05-30

This commit is contained in:
Alan Orth 2016-05-30 09:59:13 +03:00
parent 45c926e116
commit 9c12117b41
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
4 changed files with 92 additions and 0 deletions

View File

@ -189,3 +189,23 @@ value.replace(/\u0081/,'')
- LibreOffice excludes empty cells when it exports and all the fields shift over to the left and cause URLs to go to Subjects, etc. - LibreOffice excludes empty cells when it exports and all the fields shift over to the left and cause URLs to go to Subjects, etc.
- Google Docs does this better, but somehow reorders the rows and when I paste the thumbnail/filename row in they don't match! - Google Docs does this better, but somehow reorders the rows and when I paste the thumbnail/filename row in they don't match!
- I will have to try later - I will have to try later
## 2016-05-30
- Export CCAFS video and image records from DSpace Test using the migrate option (`-m`):
```
$ mkdir ~/ccafs-images
$ /home/dspacetest.cgiar.org/bin/dspace export -t COLLECTION -i 10568/79355 -d ~/ccafs-images -n 0 -m
```
- And then imprt to CGSpace:
```
$ JAVA_OPTS="-Xmx512m -Dfile.encoding=UTF-8" /home/cgspace.cgiar.org/bin/dspace import --add --eperson=aorth@mjanja.ch --collection=10568/70974 --source /tmp/ccafs-images --mapfile=/tmp/ccafs-images-may30.map &> /tmp/ccafs-images-may30.log
```
- But now we have double authors for "CGIAR Research Program on Climate Change, Agriculture and Food Security" in the authority
- I'm trying to do a Discovery index before messing with the authority index
- Looks like we are missing the `index-authority` cron job, so who knows what's up with our authority index
- Run system updates on DSpace Test, re-deploy code, and reboot the server

View File

@ -310,6 +310,30 @@ fi
<li>LibreOffice excludes empty cells when it exports and all the fields shift over to the left and cause URLs to go to Subjects, etc.</li> <li>LibreOffice excludes empty cells when it exports and all the fields shift over to the left and cause URLs to go to Subjects, etc.</li>
<li>Google Docs does this better, but somehow reorders the rows and when I paste the thumbnail/filename row in they don&rsquo;t match!</li> <li>Google Docs does this better, but somehow reorders the rows and when I paste the thumbnail/filename row in they don&rsquo;t match!</li>
<li>I will have to try later</li> <li>I will have to try later</li>
</ul>
<h2 id="2016-05-30:b7bf1a0f8f2415a40e1e11e343b04c0d">2016-05-30</h2>
<ul>
<li>Export CCAFS video and image records from DSpace Test using the migrate option (<code>-m</code>):</li>
</ul>
<pre><code>$ mkdir ~/ccafs-images
$ /home/dspacetest.cgiar.org/bin/dspace export -t COLLECTION -i 10568/79355 -d ~/ccafs-images -n 0 -m
</code></pre>
<ul>
<li>And then imprt to CGSpace:</li>
</ul>
<pre><code>$ JAVA_OPTS=&quot;-Xmx512m -Dfile.encoding=UTF-8&quot; /home/cgspace.cgiar.org/bin/dspace import --add --eperson=aorth@mjanja.ch --collection=10568/70974 --source /tmp/ccafs-images --mapfile=/tmp/ccafs-images-may30.map &amp;&gt; /tmp/ccafs-images-may30.log
</code></pre>
<ul>
<li>But now we have double authors for &ldquo;CGIAR Research Program on Climate Change, Agriculture and Food Security&rdquo; in the authority</li>
<li>I&rsquo;m trying to do a Discovery index before messing with the authority index</li>
<li>Looks like we are missing the <code>index-authority</code> cron job, so who knows what&rsquo;s up with our authority index</li>
<li>Run system updates on DSpace Test, re-deploy code, and reboot the server</li>
</ul> </ul>
</section> </section>

View File

@ -249,6 +249,30 @@ fi
&lt;li&gt;Google Docs does this better, but somehow reorders the rows and when I paste the thumbnail/filename row in they don&amp;rsquo;t match!&lt;/li&gt; &lt;li&gt;Google Docs does this better, but somehow reorders the rows and when I paste the thumbnail/filename row in they don&amp;rsquo;t match!&lt;/li&gt;
&lt;li&gt;I will have to try later&lt;/li&gt; &lt;li&gt;I will have to try later&lt;/li&gt;
&lt;/ul&gt; &lt;/ul&gt;
&lt;h2 id=&#34;2016-05-30:b7bf1a0f8f2415a40e1e11e343b04c0d&#34;&gt;2016-05-30&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Export CCAFS video and image records from DSpace Test using the migrate option (&lt;code&gt;-m&lt;/code&gt;):&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;$ mkdir ~/ccafs-images
$ /home/dspacetest.cgiar.org/bin/dspace export -t COLLECTION -i 10568/79355 -d ~/ccafs-images -n 0 -m
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;And then imprt to CGSpace:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;$ JAVA_OPTS=&amp;quot;-Xmx512m -Dfile.encoding=UTF-8&amp;quot; /home/cgspace.cgiar.org/bin/dspace import --add --eperson=aorth@mjanja.ch --collection=10568/70974 --source /tmp/ccafs-images --mapfile=/tmp/ccafs-images-may30.map &amp;amp;&amp;gt; /tmp/ccafs-images-may30.log
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;But now we have double authors for &amp;ldquo;CGIAR Research Program on Climate Change, Agriculture and Food Security&amp;rdquo; in the authority&lt;/li&gt;
&lt;li&gt;I&amp;rsquo;m trying to do a Discovery index before messing with the authority index&lt;/li&gt;
&lt;li&gt;Looks like we are missing the &lt;code&gt;index-authority&lt;/code&gt; cron job, so who knows what&amp;rsquo;s up with our authority index&lt;/li&gt;
&lt;li&gt;Run system updates on DSpace Test, re-deploy code, and reboot the server&lt;/li&gt;
&lt;/ul&gt;
</description> </description>
</item> </item>

View File

@ -249,6 +249,30 @@ fi
&lt;li&gt;Google Docs does this better, but somehow reorders the rows and when I paste the thumbnail/filename row in they don&amp;rsquo;t match!&lt;/li&gt; &lt;li&gt;Google Docs does this better, but somehow reorders the rows and when I paste the thumbnail/filename row in they don&amp;rsquo;t match!&lt;/li&gt;
&lt;li&gt;I will have to try later&lt;/li&gt; &lt;li&gt;I will have to try later&lt;/li&gt;
&lt;/ul&gt; &lt;/ul&gt;
&lt;h2 id=&#34;2016-05-30:b7bf1a0f8f2415a40e1e11e343b04c0d&#34;&gt;2016-05-30&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Export CCAFS video and image records from DSpace Test using the migrate option (&lt;code&gt;-m&lt;/code&gt;):&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;$ mkdir ~/ccafs-images
$ /home/dspacetest.cgiar.org/bin/dspace export -t COLLECTION -i 10568/79355 -d ~/ccafs-images -n 0 -m
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;And then imprt to CGSpace:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;$ JAVA_OPTS=&amp;quot;-Xmx512m -Dfile.encoding=UTF-8&amp;quot; /home/cgspace.cgiar.org/bin/dspace import --add --eperson=aorth@mjanja.ch --collection=10568/70974 --source /tmp/ccafs-images --mapfile=/tmp/ccafs-images-may30.map &amp;amp;&amp;gt; /tmp/ccafs-images-may30.log
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;But now we have double authors for &amp;ldquo;CGIAR Research Program on Climate Change, Agriculture and Food Security&amp;rdquo; in the authority&lt;/li&gt;
&lt;li&gt;I&amp;rsquo;m trying to do a Discovery index before messing with the authority index&lt;/li&gt;
&lt;li&gt;Looks like we are missing the &lt;code&gt;index-authority&lt;/code&gt; cron job, so who knows what&amp;rsquo;s up with our authority index&lt;/li&gt;
&lt;li&gt;Run system updates on DSpace Test, re-deploy code, and reboot the server&lt;/li&gt;
&lt;/ul&gt;
</description> </description>
</item> </item>