mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-22 14:45:03 +01:00
Update notes for 2018-03-16
This commit is contained in:
parent
378024871c
commit
3fae17ddc0
@ -206,3 +206,26 @@ org.apache.jasper.JasperException: java.lang.ArrayIndexOutOfBoundsException: -1
|
|||||||
- If I do a report for "Orth, Alan" with the same custom layout it works!
|
- If I do a report for "Orth, Alan" with the same custom layout it works!
|
||||||
- I submitted a ticket to Atmire: https://tracker.atmire.com/tickets-cgiar-ilri/view-ticket?id=589
|
- I submitted a ticket to Atmire: https://tracker.atmire.com/tickets-cgiar-ilri/view-ticket?id=589
|
||||||
- Small fix to the example citation text in Listings and Reports ([#365](https://github.com/ilri/DSpace/pull/365))
|
- Small fix to the example citation text in Listings and Reports ([#365](https://github.com/ilri/DSpace/pull/365))
|
||||||
|
|
||||||
|
## 2018-03-16
|
||||||
|
|
||||||
|
- ICT made the DNS updates for dspacetest.cgiar.org late last night
|
||||||
|
- I have removed the old server (linode02 aka linode578611) in favor of linode19 aka linode6624164
|
||||||
|
- Looking at the CRP subjects on CGSpace I see there is one blank one so I'll just fix it:
|
||||||
|
|
||||||
|
```
|
||||||
|
dspace=# delete from metadatavalue where resource_type_id=2 and metadata_field_id=230 and text_value='';
|
||||||
|
```
|
||||||
|
|
||||||
|
- Copy all CRP subjects to a CSV to do the mass updates:
|
||||||
|
|
||||||
|
```
|
||||||
|
dspace=# \copy (select distinct text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id=230 group by text_value order by count desc) to /tmp/crps.csv with csv header;
|
||||||
|
COPY 21
|
||||||
|
```
|
||||||
|
|
||||||
|
- Once I prepare the new input forms ([#362](https://github.com/ilri/DSpace/issues/362)) I will need to do the batch corrections:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ ./fix-metadata-values.py -i Correct-20-CRPs-2018-03-16.csv -db dspace -u dspace -p 'fuuu' -f cg.contributor.crp -t correct -m 230 -n -d
|
||||||
|
```
|
||||||
|
@ -20,7 +20,7 @@ Export a CSV of the IITA community metadata for Martin Mueller
|
|||||||
|
|
||||||
<meta property="article:published_time" content="2018-03-02T16:07:54+02:00"/>
|
<meta property="article:published_time" content="2018-03-02T16:07:54+02:00"/>
|
||||||
|
|
||||||
<meta property="article:modified_time" content="2018-03-15T21:44:01+02:00"/>
|
<meta property="article:modified_time" content="2018-03-15T21:49:36+02:00"/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -51,9 +51,9 @@ Export a CSV of the IITA community metadata for Martin Mueller
|
|||||||
"@type": "BlogPosting",
|
"@type": "BlogPosting",
|
||||||
"headline": "March, 2018",
|
"headline": "March, 2018",
|
||||||
"url": "https://alanorth.github.io/cgspace-notes/2018-03/",
|
"url": "https://alanorth.github.io/cgspace-notes/2018-03/",
|
||||||
"wordCount": "1221",
|
"wordCount": "1348",
|
||||||
"datePublished": "2018-03-02T16:07:54+02:00",
|
"datePublished": "2018-03-02T16:07:54+02:00",
|
||||||
"dateModified": "2018-03-15T21:44:01+02:00",
|
"dateModified": "2018-03-15T21:49:36+02:00",
|
||||||
"author": {
|
"author": {
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
@ -353,6 +353,32 @@ org.apache.jasper.JasperException: java.lang.NullPointerException
|
|||||||
<li>Small fix to the example citation text in Listings and Reports (<a href="https://github.com/ilri/DSpace/pull/365">#365</a>)</li>
|
<li>Small fix to the example citation text in Listings and Reports (<a href="https://github.com/ilri/DSpace/pull/365">#365</a>)</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<h2 id="2018-03-16">2018-03-16</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>ICT made the DNS updates for dspacetest.cgiar.org late last night</li>
|
||||||
|
<li>I have removed the old server (linode02 aka linode578611) in favor of linode19 aka linode6624164</li>
|
||||||
|
<li>Looking at the CRP subjects on CGSpace I see there is one blank one so I’ll just fix it:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspace=# delete from metadatavalue where resource_type_id=2 and metadata_field_id=230 and text_value='';
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Copy all CRP subjects to a CSV to do the mass updates:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspace=# \copy (select distinct text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id=230 group by text_value order by count desc) to /tmp/crps.csv with csv header;
|
||||||
|
COPY 21
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Once I prepare the new input forms (<a href="https://github.com/ilri/DSpace/issues/362">#362</a>) I will need to do the batch corrections:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>$ ./fix-metadata-values.py -i Correct-20-CRPs-2018-03-16.csv -db dspace -u dspace -p 'fuuu' -f cg.contributor.crp -t correct -m 230 -n -d
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/2018-03/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/2018-03/</loc>
|
||||||
<lastmod>2018-03-15T21:44:01+02:00</lastmod>
|
<lastmod>2018-03-15T21:49:36+02:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
@ -154,7 +154,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
||||||
<lastmod>2018-03-15T21:44:01+02:00</lastmod>
|
<lastmod>2018-03-15T21:49:36+02:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
@ -165,7 +165,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
|
||||||
<lastmod>2018-03-15T21:44:01+02:00</lastmod>
|
<lastmod>2018-03-15T21:49:36+02:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
@ -177,13 +177,13 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
||||||
<lastmod>2018-03-15T21:44:01+02:00</lastmod>
|
<lastmod>2018-03-15T21:49:36+02:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
|
||||||
<lastmod>2018-03-15T21:44:01+02:00</lastmod>
|
<lastmod>2018-03-15T21:49:36+02:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user