mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-04 14:23:01 +01:00
Update notes for 2018-08-16
This commit is contained in:
parent
23c81efa55
commit
3c5174eb35
@ -69,5 +69,20 @@ dspace=# \copy (select distinct text_value, count(*) from metadatavalue where me
|
|||||||
|
|
||||||
- Start working on adding the ORCID metadata to a handful of CIAT authors as requested by Elizabeth earlier this month
|
- Start working on adding the ORCID metadata to a handful of CIAT authors as requested by Elizabeth earlier this month
|
||||||
- I might need to overhaul the [add-orcid-identifiers-csv.py](https://gist.github.com/alanorth/a49d85cd9c5dea89cddbe809813a7050) script to be a little more robust about author order and ORCID metadata that might have been altered manually by editors after submission, as this script was written without that consideration
|
- I might need to overhaul the [add-orcid-identifiers-csv.py](https://gist.github.com/alanorth/a49d85cd9c5dea89cddbe809813a7050) script to be a little more robust about author order and ORCID metadata that might have been altered manually by editors after submission, as this script was written without that consideration
|
||||||
|
- After checking a few examples I see that checking only the `text_value` and `place` when adding ORCID fields is not enough anymore
|
||||||
|
- It was a sane assumption when I was initially migrating ORCID records from Solr to regular metadata, but now it seems that some authors might have been added or changed after item submission
|
||||||
|
- Now it is better to check if there is _any_ existing ORCID identifier for a given author for the item...
|
||||||
|
- I will have to update my script to extract the ORCID identifier and search for that
|
||||||
|
- Re-create my local DSpace database using the latest PostgreSQL 9.6 Docker image and re-import the latest CGSpace dump:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ sudo docker run --name dspacedb -e POSTGRES_PASSWORD=postgres -p 5432:5432 -d postgres:9.6-alpine
|
||||||
|
$ createuser -h localhost -U postgres --pwprompt dspacetest
|
||||||
|
$ createdb -h localhost -U postgres -O dspacetest --encoding=UNICODE dspacetest
|
||||||
|
$ psql -h localhost -U postgres dspacetest -c 'alter user dspacetest superuser;'
|
||||||
|
$ pg_restore -h localhost -U postgres -d dspacetest -O --role=dspacetest -h localhost ~/Downloads/cgspace_2018-08-16.backup
|
||||||
|
$ psql -h localhost -U postgres dspacetest -c 'alter user dspacetest nosuperuser;'
|
||||||
|
$ psql -h localhost -U postgres -f ~/src/git/DSpace/dspace/etc/postgres/update-sequences.sql dspacetest
|
||||||
|
```
|
||||||
|
|
||||||
<!-- vim: set sw=2 ts=2: -->
|
<!-- vim: set sw=2 ts=2: -->
|
||||||
|
@ -34,7 +34,7 @@ I ran all system updates on DSpace Test and rebooted it
|
|||||||
|
|
||||||
<meta property="article:published_time" content="2018-08-01T11:52:54+03:00"/>
|
<meta property="article:published_time" content="2018-08-01T11:52:54+03:00"/>
|
||||||
|
|
||||||
<meta property="article:modified_time" content="2018-08-15T10:56:38+01:00"/>
|
<meta property="article:modified_time" content="2018-08-16T15:40:38+03:00"/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -79,9 +79,9 @@ I ran all system updates on DSpace Test and rebooted it
|
|||||||
"@type": "BlogPosting",
|
"@type": "BlogPosting",
|
||||||
"headline": "August, 2018",
|
"headline": "August, 2018",
|
||||||
"url": "https://alanorth.github.io/cgspace-notes/2018-08/",
|
"url": "https://alanorth.github.io/cgspace-notes/2018-08/",
|
||||||
"wordCount": "649",
|
"wordCount": "834",
|
||||||
"datePublished": "2018-08-01T11:52:54+03:00",
|
"datePublished": "2018-08-01T11:52:54+03:00",
|
||||||
"dateModified": "2018-08-15T10:56:38+01:00",
|
"dateModified": "2018-08-16T15:40:38+03:00",
|
||||||
"author": {
|
"author": {
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
@ -225,8 +225,22 @@ $ ./delete-metadata-values.py -i 2018-08-15-Remove-11-Affiliations.csv -db dspac
|
|||||||
<ul>
|
<ul>
|
||||||
<li>Start working on adding the ORCID metadata to a handful of CIAT authors as requested by Elizabeth earlier this month</li>
|
<li>Start working on adding the ORCID metadata to a handful of CIAT authors as requested by Elizabeth earlier this month</li>
|
||||||
<li>I might need to overhaul the <a href="https://gist.github.com/alanorth/a49d85cd9c5dea89cddbe809813a7050">add-orcid-identifiers-csv.py</a> script to be a little more robust about author order and ORCID metadata that might have been altered manually by editors after submission, as this script was written without that consideration</li>
|
<li>I might need to overhaul the <a href="https://gist.github.com/alanorth/a49d85cd9c5dea89cddbe809813a7050">add-orcid-identifiers-csv.py</a> script to be a little more robust about author order and ORCID metadata that might have been altered manually by editors after submission, as this script was written without that consideration</li>
|
||||||
|
<li>After checking a few examples I see that checking only the <code>text_value</code> and <code>place</code> when adding ORCID fields is not enough anymore</li>
|
||||||
|
<li>It was a sane assumption when I was initially migrating ORCID records from Solr to regular metadata, but now it seems that some authors might have been added or changed after item submission</li>
|
||||||
|
<li>Now it is better to check if there is <em>any</em> existing ORCID identifier for a given author for the item…</li>
|
||||||
|
<li>I will have to update my script to extract the ORCID identifier and search for that</li>
|
||||||
|
<li>Re-create my local DSpace database using the latest PostgreSQL 9.6 Docker image and re-import the latest CGSpace dump:</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>$ sudo docker run --name dspacedb -e POSTGRES_PASSWORD=postgres -p 5432:5432 -d postgres:9.6-alpine
|
||||||
|
$ createuser -h localhost -U postgres --pwprompt dspacetest
|
||||||
|
$ createdb -h localhost -U postgres -O dspacetest --encoding=UNICODE dspacetest
|
||||||
|
$ psql -h localhost -U postgres dspacetest -c 'alter user dspacetest superuser;'
|
||||||
|
$ pg_restore -h localhost -U postgres -d dspacetest -O --role=dspacetest -h localhost ~/Downloads/cgspace_2018-08-16.backup
|
||||||
|
$ psql -h localhost -U postgres dspacetest -c 'alter user dspacetest nosuperuser;'
|
||||||
|
$ psql -h localhost -U postgres -f ~/src/git/DSpace/dspace/etc/postgres/update-sequences.sql dspacetest
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
<!-- vim: set sw=2 ts=2: -->
|
<!-- vim: set sw=2 ts=2: -->
|
||||||
|
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ Disallow: /cgspace-notes/2015-12/
|
|||||||
Disallow: /cgspace-notes/2015-11/
|
Disallow: /cgspace-notes/2015-11/
|
||||||
Disallow: /cgspace-notes/
|
Disallow: /cgspace-notes/
|
||||||
Disallow: /cgspace-notes/categories/
|
Disallow: /cgspace-notes/categories/
|
||||||
Disallow: /cgspace-notes/categories/notes/
|
|
||||||
Disallow: /cgspace-notes/tags/notes/
|
Disallow: /cgspace-notes/tags/notes/
|
||||||
|
Disallow: /cgspace-notes/categories/notes/
|
||||||
Disallow: /cgspace-notes/posts/
|
Disallow: /cgspace-notes/posts/
|
||||||
Disallow: /cgspace-notes/tags/
|
Disallow: /cgspace-notes/tags/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/2018-08/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/2018-08/</loc>
|
||||||
<lastmod>2018-08-15T10:56:38+01:00</lastmod>
|
<lastmod>2018-08-16T15:40:38+03:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
@ -179,7 +179,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
||||||
<lastmod>2018-08-15T10:56:38+01:00</lastmod>
|
<lastmod>2018-08-16T15:40:38+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
@ -188,27 +188,27 @@
|
|||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
|
||||||
|
<lastmod>2018-08-16T15:40:38+03:00</lastmod>
|
||||||
|
<priority>0</priority>
|
||||||
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc>
|
||||||
<lastmod>2018-03-09T22:10:33+02:00</lastmod>
|
<lastmod>2018-03-09T22:10:33+02:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
|
|
||||||
<lastmod>2018-08-15T10:56:38+01:00</lastmod>
|
|
||||||
<priority>0</priority>
|
|
||||||
</url>
|
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
||||||
<lastmod>2018-08-15T10:56:38+01:00</lastmod>
|
<lastmod>2018-08-16T15:40:38+03: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-08-15T10:56:38+01:00</lastmod>
|
<lastmod>2018-08-16T15:40:38+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user