mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-29 09:58:22 +01:00
Add notes for 2019-12-18
This commit is contained in:
parent
9b6d328e51
commit
8622776049
@ -140,4 +140,13 @@ dspace=# \COPY (SELECT DISTINCT text_value as "dc.contributor.sponsor", count(*)
|
|||||||
COPY 643
|
COPY 643
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## 2019-12-18
|
||||||
|
|
||||||
|
- Apply the investor corrections and deletions from Peter on CGSpace:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ ./fix-metadata-values.py -i /tmp/2019-12-17-investors-fix-112.csv -db dspace -u dspace -p 'fuuu' -f dc.description.sponsorship -m 29 -t correct -d
|
||||||
|
$ ./delete-metadata-values.py -i /tmp/2019-12-17-investors-delete-68.csv -db dspace -u dspace -p 'fuuu' -m 29 -f dc.description.sponsorship -d
|
||||||
|
```
|
||||||
|
|
||||||
<!-- vim: set sw=2 ts=2: -->
|
<!-- vim: set sw=2 ts=2: -->
|
||||||
|
@ -24,7 +24,7 @@ Make sure all packages are up to date and the package manager is up to date, the
|
|||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-12/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-12/" />
|
||||||
<meta property="article:published_time" content="2019-12-01T11:22:30+02:00" />
|
<meta property="article:published_time" content="2019-12-01T11:22:30+02:00" />
|
||||||
<meta property="article:modified_time" content="2019-12-17T14:49:24+02:00" />
|
<meta property="article:modified_time" content="2019-12-17T16:45:21+02:00" />
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="December, 2019"/>
|
<meta name="twitter:title" content="December, 2019"/>
|
||||||
@ -53,9 +53,9 @@ Make sure all packages are up to date and the package manager is up to date, the
|
|||||||
"@type": "BlogPosting",
|
"@type": "BlogPosting",
|
||||||
"headline": "December, 2019",
|
"headline": "December, 2019",
|
||||||
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-12\/",
|
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-12\/",
|
||||||
"wordCount": "928",
|
"wordCount": "971",
|
||||||
"datePublished": "2019-12-01T11:22:30+02:00",
|
"datePublished": "2019-12-01T11:22:30+02:00",
|
||||||
"dateModified": "2019-12-17T14:49:24+02:00",
|
"dateModified": "2019-12-17T16:45:21+02:00",
|
||||||
"author": {
|
"author": {
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
@ -282,6 +282,12 @@ COPY 48
|
|||||||
</ul>
|
</ul>
|
||||||
<pre><code>dspace=# \COPY (SELECT DISTINCT text_value as "dc.contributor.sponsor", count(*) FROM metadatavalue WHERE resource_type_id = 2 AND metadata_field_id = 29 GROUP BY text_value ORDER BY count DESC LIMIT 1500) to /tmp/2019-12-17-investors.csv WITH CSV HEADER;
|
<pre><code>dspace=# \COPY (SELECT DISTINCT text_value as "dc.contributor.sponsor", count(*) FROM metadatavalue WHERE resource_type_id = 2 AND metadata_field_id = 29 GROUP BY text_value ORDER BY count DESC LIMIT 1500) to /tmp/2019-12-17-investors.csv WITH CSV HEADER;
|
||||||
COPY 643
|
COPY 643
|
||||||
|
</code></pre><h2 id="2019-12-18">2019-12-18</h2>
|
||||||
|
<ul>
|
||||||
|
<li>Apply the investor corrections and deletions from Peter on CGSpace:</li>
|
||||||
|
</ul>
|
||||||
|
<pre><code>$ ./fix-metadata-values.py -i /tmp/2019-12-17-investors-fix-112.csv -db dspace -u dspace -p 'fuuu' -f dc.description.sponsorship -m 29 -t correct -d
|
||||||
|
$ ./delete-metadata-values.py -i /tmp/2019-12-17-investors-delete-68.csv -db dspace -u dspace -p 'fuuu' -m 29 -f dc.description.sponsorship -d
|
||||||
</code></pre><!-- raw HTML omitted -->
|
</code></pre><!-- raw HTML omitted -->
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,27 +4,27 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/categories/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/categories/</loc>
|
||||||
<lastmod>2019-12-17T14:49:24+02:00</lastmod>
|
<lastmod>2019-12-17T16:45:21+02:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
||||||
<lastmod>2019-12-17T14:49:24+02:00</lastmod>
|
<lastmod>2019-12-17T16:45:21+02:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/2019-12/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/2019-12/</loc>
|
||||||
<lastmod>2019-12-17T14:49:24+02:00</lastmod>
|
<lastmod>2019-12-17T16:45:21+02:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc>
|
||||||
<lastmod>2019-12-17T14:49:24+02:00</lastmod>
|
<lastmod>2019-12-17T16:45:21+02:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
||||||
<lastmod>2019-12-17T14:49:24+02:00</lastmod>
|
<lastmod>2019-12-17T16:45:21+02:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
|
Loading…
Reference in New Issue
Block a user