mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-26 08:28:18 +01:00
Update notes for 2017-03-39
This commit is contained in:
parent
de1161dcfc
commit
394e477fcb
@ -211,8 +211,22 @@ $ ./fix-metadata-values.py -i ccafs-flagships-feb7.csv -f cg.subject.ccafs -t co
|
|||||||
- Also, I generated a list of all CCAFS flagships because there are a dozen or so more than there should be:
|
- Also, I generated a list of all CCAFS flagships because there are a dozen or so more than there should be:
|
||||||
|
|
||||||
```
|
```
|
||||||
dspacetest=# dspacetest=# \copy (select distinct text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id=210 group by text_value order by count desc) to /tmp/ccafs.csv with csv;
|
dspace=# \copy (select distinct text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id=210 group by text_value order by count desc) to /tmp/ccafs.csv with csv;
|
||||||
```
|
```
|
||||||
|
|
||||||
- I sent a list to CCAFS people so they can tell me if some should be deleted or moved, etc
|
- I sent a list to CCAFS people so they can tell me if some should be deleted or moved, etc
|
||||||
- Test, squash, and merge Sisay's RTB theme into `5_x-prod`: https://github.com/ilri/DSpace/pull/316
|
- Test, squash, and merge Sisay's RTB theme into `5_x-prod`: https://github.com/ilri/DSpace/pull/316
|
||||||
|
|
||||||
|
## 2017-03-29
|
||||||
|
|
||||||
|
- Dump a list of fields in the DC and CG schemas to compare with CG Core:
|
||||||
|
|
||||||
|
```
|
||||||
|
dspace=# select case when metadata_schema_id=1 then 'dc' else 'cg' end as schema, element, qualifier, scope_note from metadatafieldregistry where metadata_schema_id in (1, 2);
|
||||||
|
```
|
||||||
|
|
||||||
|
- Ooh, a better one!
|
||||||
|
|
||||||
|
```
|
||||||
|
dspace=# select coalesce(case when metadata_schema_id=1 then 'dc.' else 'cg.' end) || concat_ws('.', element, qualifier) as field, scope_note from metadatafieldregistry where metadata_schema_id in (1, 2);
|
||||||
|
```
|
||||||
|
@ -37,7 +37,7 @@ $ identify ~/Desktop/alc_contrastes_desafios.jpg
|
|||||||
|
|
||||||
|
|
||||||
<meta property="article:published_time" content="2017-03-01T17:08:52+02:00"/>
|
<meta property="article:published_time" content="2017-03-01T17:08:52+02:00"/>
|
||||||
<meta property="article:modified_time" content="2017-03-24T14:27:31+02:00"/>
|
<meta property="article:modified_time" content="2017-03-28T18:39:09+03:00"/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -94,13 +94,13 @@ $ identify ~/Desktop/alc_contrastes_desafios.jpg
|
|||||||
|
|
||||||
"headline": "March, 2017",
|
"headline": "March, 2017",
|
||||||
"url": "https://alanorth.github.io/cgspace-notes/2017-03/",
|
"url": "https://alanorth.github.io/cgspace-notes/2017-03/",
|
||||||
"wordCount": "1428",
|
"wordCount": "1494",
|
||||||
|
|
||||||
|
|
||||||
"datePublished": "2017-03-01T17:08:52+02:00",
|
"datePublished": "2017-03-01T17:08:52+02:00",
|
||||||
|
|
||||||
|
|
||||||
"dateModified": "2017-03-24T14:27:31+02:00",
|
"dateModified": "2017-03-28T18:39:09+03:00",
|
||||||
|
|
||||||
|
|
||||||
"author": {
|
"author": {
|
||||||
@ -418,7 +418,7 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon
|
|||||||
<li>Also, I generated a list of all CCAFS flagships because there are a dozen or so more than there should be:</li>
|
<li>Also, I generated a list of all CCAFS flagships because there are a dozen or so more than there should be:</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<pre><code>dspacetest=# dspacetest=# \copy (select distinct text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id=210 group by text_value order by count desc) to /tmp/ccafs.csv with csv;
|
<pre><code>dspace=# \copy (select distinct text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id=210 group by text_value order by count desc) to /tmp/ccafs.csv with csv;
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
@ -426,6 +426,22 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon
|
|||||||
<li>Test, squash, and merge Sisay’s RTB theme into <code>5_x-prod</code>: <a href="https://github.com/ilri/DSpace/pull/316">https://github.com/ilri/DSpace/pull/316</a></li>
|
<li>Test, squash, and merge Sisay’s RTB theme into <code>5_x-prod</code>: <a href="https://github.com/ilri/DSpace/pull/316">https://github.com/ilri/DSpace/pull/316</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<h2 id="2017-03-29">2017-03-29</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Dump a list of fields in the DC and CG schemas to compare with CG Core:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspace=# select case when metadata_schema_id=1 then 'dc' else 'cg' end as schema, element, qualifier, scope_note from metadatafieldregistry where metadata_schema_id in (1, 2);
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Ooh, a better one!</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspace=# select coalesce(case when metadata_schema_id=1 then 'dc.' else 'cg.' end) || concat_ws('.', element, qualifier) as field, scope_note from metadatafieldregistry where metadata_schema_id in (1, 2);
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -264,13 +264,29 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon
|
|||||||
<li>Also, I generated a list of all CCAFS flagships because there are a dozen or so more than there should be:</li>
|
<li>Also, I generated a list of all CCAFS flagships because there are a dozen or so more than there should be:</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<pre><code>dspacetest=# dspacetest=# \copy (select distinct text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id=210 group by text_value order by count desc) to /tmp/ccafs.csv with csv;
|
<pre><code>dspace=# \copy (select distinct text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id=210 group by text_value order by count desc) to /tmp/ccafs.csv with csv;
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>I sent a list to CCAFS people so they can tell me if some should be deleted or moved, etc</li>
|
<li>I sent a list to CCAFS people so they can tell me if some should be deleted or moved, etc</li>
|
||||||
<li>Test, squash, and merge Sisay&rsquo;s RTB theme into <code>5_x-prod</code>: <a href="https://github.com/ilri/DSpace/pull/316">https://github.com/ilri/DSpace/pull/316</a></li>
|
<li>Test, squash, and merge Sisay&rsquo;s RTB theme into <code>5_x-prod</code>: <a href="https://github.com/ilri/DSpace/pull/316">https://github.com/ilri/DSpace/pull/316</a></li>
|
||||||
</ul></description>
|
</ul>
|
||||||
|
|
||||||
|
<h2 id="2017-03-29">2017-03-29</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Dump a list of fields in the DC and CG schemas to compare with CG Core:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspace=# select case when metadata_schema_id=1 then 'dc' else 'cg' end as schema, element, qualifier, scope_note from metadatafieldregistry where metadata_schema_id in (1, 2);
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Ooh, a better one!</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspace=# select coalesce(case when metadata_schema_id=1 then 'dc.' else 'cg.' end) || concat_ws('.', element, qualifier) as field, scope_note from metadatafieldregistry where metadata_schema_id in (1, 2);
|
||||||
|
</code></pre></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
|
@ -264,13 +264,29 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon
|
|||||||
<li>Also, I generated a list of all CCAFS flagships because there are a dozen or so more than there should be:</li>
|
<li>Also, I generated a list of all CCAFS flagships because there are a dozen or so more than there should be:</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<pre><code>dspacetest=# dspacetest=# \copy (select distinct text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id=210 group by text_value order by count desc) to /tmp/ccafs.csv with csv;
|
<pre><code>dspace=# \copy (select distinct text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id=210 group by text_value order by count desc) to /tmp/ccafs.csv with csv;
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>I sent a list to CCAFS people so they can tell me if some should be deleted or moved, etc</li>
|
<li>I sent a list to CCAFS people so they can tell me if some should be deleted or moved, etc</li>
|
||||||
<li>Test, squash, and merge Sisay&rsquo;s RTB theme into <code>5_x-prod</code>: <a href="https://github.com/ilri/DSpace/pull/316">https://github.com/ilri/DSpace/pull/316</a></li>
|
<li>Test, squash, and merge Sisay&rsquo;s RTB theme into <code>5_x-prod</code>: <a href="https://github.com/ilri/DSpace/pull/316">https://github.com/ilri/DSpace/pull/316</a></li>
|
||||||
</ul></description>
|
</ul>
|
||||||
|
|
||||||
|
<h2 id="2017-03-29">2017-03-29</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Dump a list of fields in the DC and CG schemas to compare with CG Core:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspace=# select case when metadata_schema_id=1 then 'dc' else 'cg' end as schema, element, qualifier, scope_note from metadatafieldregistry where metadata_schema_id in (1, 2);
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Ooh, a better one!</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspace=# select coalesce(case when metadata_schema_id=1 then 'dc.' else 'cg.' end) || concat_ws('.', element, qualifier) as field, scope_note from metadatafieldregistry where metadata_schema_id in (1, 2);
|
||||||
|
</code></pre></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/2017-03/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/2017-03/</loc>
|
||||||
<lastmod>2017-03-24T14:27:31+02:00</lastmod>
|
<lastmod>2017-03-28T18:39:09+03:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
@ -88,19 +88,19 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
||||||
<lastmod>2017-03-24T14:27:31+02:00</lastmod>
|
<lastmod>2017-03-28T18:39:09+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>2017-03-24T14:27:31+02:00</lastmod>
|
<lastmod>2017-03-28T18:39:09+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/post/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/post/</loc>
|
||||||
<lastmod>2017-03-24T14:27:31+02:00</lastmod>
|
<lastmod>2017-03-28T18:39:09+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
|
@ -263,13 +263,29 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon
|
|||||||
<li>Also, I generated a list of all CCAFS flagships because there are a dozen or so more than there should be:</li>
|
<li>Also, I generated a list of all CCAFS flagships because there are a dozen or so more than there should be:</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<pre><code>dspacetest=# dspacetest=# \copy (select distinct text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id=210 group by text_value order by count desc) to /tmp/ccafs.csv with csv;
|
<pre><code>dspace=# \copy (select distinct text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id=210 group by text_value order by count desc) to /tmp/ccafs.csv with csv;
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>I sent a list to CCAFS people so they can tell me if some should be deleted or moved, etc</li>
|
<li>I sent a list to CCAFS people so they can tell me if some should be deleted or moved, etc</li>
|
||||||
<li>Test, squash, and merge Sisay&rsquo;s RTB theme into <code>5_x-prod</code>: <a href="https://github.com/ilri/DSpace/pull/316">https://github.com/ilri/DSpace/pull/316</a></li>
|
<li>Test, squash, and merge Sisay&rsquo;s RTB theme into <code>5_x-prod</code>: <a href="https://github.com/ilri/DSpace/pull/316">https://github.com/ilri/DSpace/pull/316</a></li>
|
||||||
</ul></description>
|
</ul>
|
||||||
|
|
||||||
|
<h2 id="2017-03-29">2017-03-29</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Dump a list of fields in the DC and CG schemas to compare with CG Core:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspace=# select case when metadata_schema_id=1 then 'dc' else 'cg' end as schema, element, qualifier, scope_note from metadatafieldregistry where metadata_schema_id in (1, 2);
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Ooh, a better one!</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspace=# select coalesce(case when metadata_schema_id=1 then 'dc.' else 'cg.' end) || concat_ws('.', element, qualifier) as field, scope_note from metadatafieldregistry where metadata_schema_id in (1, 2);
|
||||||
|
</code></pre></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
|
Loading…
Reference in New Issue
Block a user