mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-11 22:43:20 +01:00
Update notes for 2019-04-26
This commit is contained in:
parent
929922f09e
commit
2ec01d7f04
@ -985,4 +985,13 @@ dspace=# SELECT * FROM item WHERE item_id=74648;
|
|||||||
- Communicate with Carlos Tejo from the Land Portal about the `/items/find-by-metadata-value` endpoint
|
- Communicate with Carlos Tejo from the Land Portal about the `/items/find-by-metadata-value` endpoint
|
||||||
- Run all system updates on DSpace Test (linode19) and reboot it
|
- Run all system updates on DSpace Test (linode19) and reboot it
|
||||||
|
|
||||||
|
## 2019-04-26
|
||||||
|
|
||||||
|
- Export a list of authors for Peter to look through:
|
||||||
|
|
||||||
|
```
|
||||||
|
dspacetest=# # \copy (select distinct text_value, count(*) as count from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element = 'contributor' and qualifier = 'author') AND resource_type_id = 2 group by text_value order by count desc) to /tmp/2019-04-26-all-authors.csv with csv header;
|
||||||
|
COPY 65752
|
||||||
|
```
|
||||||
|
|
||||||
<!-- vim: set sw=2 ts=2: -->
|
<!-- vim: set sw=2 ts=2: -->
|
||||||
|
@ -14,7 +14,7 @@ Export a CSV of the IITA community metadata for Martin Mueller
|
|||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2018-03/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2018-03/" />
|
||||||
<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-04-04T15:57:34+03:00"/>
|
<meta property="article:modified_time" content="2019-04-26T12:13:02+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="March, 2018"/>
|
<meta name="twitter:title" content="March, 2018"/>
|
||||||
@ -35,7 +35,7 @@ Export a CSV of the IITA community metadata for Martin Mueller
|
|||||||
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2018-03\/",
|
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2018-03\/",
|
||||||
"wordCount": "2960",
|
"wordCount": "2960",
|
||||||
"datePublished": "2018-03-02T16:07:54\x2b02:00",
|
"datePublished": "2018-03-02T16:07:54\x2b02:00",
|
||||||
"dateModified": "2018-04-04T15:57:34\x2b03:00",
|
"dateModified": "2019-04-26T12:13:02\x2b03:00",
|
||||||
"author": {
|
"author": {
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
@ -510,8 +510,7 @@ UPDATE 195463
|
|||||||
<li>Send Peter a list of all authors to correct:</li>
|
<li>Send Peter a list of all authors to correct:</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<pre><code class="language-sql">dspace=# \copy (select distinct text_value, count(*) as count from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element
|
<pre><code class="language-sql">dspace=# \copy (select distinct text_value, count(*) as count from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element = 'contributor' and qualifier = 'author') AND resource_type_id = 2 group by text_value order by count desc) to /tmp/authors.csv with csv header;
|
||||||
= 'contributor' and qualifier = 'author') AND resource_type_id = 2 group by text_value order by count desc) to /tmp/authors.csv with csv header;
|
|
||||||
COPY 56156
|
COPY 56156
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace
|
|||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-04/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-04/" />
|
||||||
<meta property="article:published_time" content="2019-04-01T09:00:43+03:00"/>
|
<meta property="article:published_time" content="2019-04-01T09:00:43+03:00"/>
|
||||||
<meta property="article:modified_time" content="2019-04-25T23:06:39+03:00"/>
|
<meta property="article:modified_time" content="2019-04-25T23:10:38+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="April, 2019"/>
|
<meta name="twitter:title" content="April, 2019"/>
|
||||||
@ -81,9 +81,9 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace
|
|||||||
"@type": "BlogPosting",
|
"@type": "BlogPosting",
|
||||||
"headline": "April, 2019",
|
"headline": "April, 2019",
|
||||||
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-04\/",
|
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-04\/",
|
||||||
"wordCount": "6309",
|
"wordCount": "6364",
|
||||||
"datePublished": "2019-04-01T09:00:43\x2b03:00",
|
"datePublished": "2019-04-01T09:00:43\x2b03:00",
|
||||||
"dateModified": "2019-04-25T23:06:39\x2b03:00",
|
"dateModified": "2019-04-25T23:10:38\x2b03:00",
|
||||||
"author": {
|
"author": {
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
@ -1379,6 +1379,16 @@ $ curl -f -H "rest-dspace-token: b43d41a6-5ac1-455d-b49a-616b8debc25b"
|
|||||||
<li>Run all system updates on DSpace Test (linode19) and reboot it</li>
|
<li>Run all system updates on DSpace Test (linode19) and reboot it</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<h2 id="2019-04-26">2019-04-26</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Export a list of authors for Peter to look through:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspacetest=# # \copy (select distinct text_value, count(*) as count from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element = 'contributor' and qualifier = 'author') AND resource_type_id = 2 group by text_value order by count desc) to /tmp/2019-04-26-all-authors.csv with csv header;
|
||||||
|
COPY 65752
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
<!-- vim: set sw=2 ts=2: -->
|
<!-- vim: set sw=2 ts=2: -->
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,30 +4,30 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/2019-04/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/2019-04/</loc>
|
||||||
<lastmod>2019-04-25T23:06:39+03:00</lastmod>
|
<lastmod>2019-04-25T23:10:38+03:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
||||||
<lastmod>2019-04-25T23:06:39+03:00</lastmod>
|
<lastmod>2019-04-26T12:13:02+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
|
||||||
<lastmod>2019-04-25T23:06:39+03:00</lastmod>
|
<lastmod>2019-04-26T12:13:02+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
||||||
<lastmod>2019-04-25T23:06:39+03:00</lastmod>
|
<lastmod>2019-04-26T12:13:02+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>2019-04-25T23:06:39+03:00</lastmod>
|
<lastmod>2019-04-26T12:13:02+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
@ -93,7 +93,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-04-04T15:57:34+03:00</lastmod>
|
<lastmod>2019-04-26T12:13:02+03:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user