diff --git a/content/post/2017-03.md b/content/post/2017-03.md index 32d6acfff..9ee46f790 100644 --- a/content/post/2017-03.md +++ b/content/post/2017-03.md @@ -198,3 +198,21 @@ dspace=# \copy (select distinct text_value from metadatavalue where resource_typ ## 2017-03-24 - Still helping Sisay try to figure out how to create a theme for the RTB community + +## 2017-03-28 + +- CCAFS said they are ready for the flagship updates for Phase II to be run (`cg.subject.ccafs`), so I ran them on CGSpace: + +``` +$ ./fix-metadata-values.py -i ccafs-flagships-feb7.csv -f cg.subject.ccafs -t correct -m 210 -d dspace -u dspace -p fuuu +``` + +- We've been waiting since February to run these +- 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; +``` + +- 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 diff --git a/public/2017-03/index.html b/public/2017-03/index.html index 1b5fce26e..0d16bcc5e 100644 --- a/public/2017-03/index.html +++ b/public/2017-03/index.html @@ -37,7 +37,7 @@ $ identify ~/Desktop/alc_contrastes_desafios.jpg - + @@ -94,13 +94,13 @@ $ identify ~/Desktop/alc_contrastes_desafios.jpg "headline": "March, 2017", "url": "https://alanorth.github.io/cgspace-notes/2017-03/", - "wordCount": "1306", + "wordCount": "1428", "datePublished": "2017-03-01T17:08:52+02:00", - "dateModified": "2017-03-20T14:09:52+02:00", + "dateModified": "2017-03-24T14:27:31+02:00", "author": { @@ -404,6 +404,28 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon
  • Still helping Sisay try to figure out how to create a theme for the RTB community
  • +

    2017-03-28

    + + + +
    $ ./fix-metadata-values.py -i ccafs-flagships-feb7.csv -f cg.subject.ccafs -t correct -m 210 -d dspace -u dspace -p fuuu
    +
    + + + +
    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;
    +
    + + + diff --git a/public/index.xml b/public/index.xml index 2a234459a..125053a06 100644 --- a/public/index.xml +++ b/public/index.xml @@ -248,6 +248,28 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon <ul> <li>Still helping Sisay try to figure out how to create a theme for the RTB community</li> +</ul> + +<h2 id="2017-03-28">2017-03-28</h2> + +<ul> +<li>CCAFS said they are ready for the flagship updates for Phase II to be run (<code>cg.subject.ccafs</code>), so I ran them on CGSpace:</li> +</ul> + +<pre><code>$ ./fix-metadata-values.py -i ccafs-flagships-feb7.csv -f cg.subject.ccafs -t correct -m 210 -d dspace -u dspace -p fuuu +</code></pre> + +<ul> +<li>We&rsquo;ve been waiting since February to run these</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> + +<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; +</code></pre> + +<ul> +<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> </ul> diff --git a/public/post/index.xml b/public/post/index.xml index 401df4132..e56a728c2 100644 --- a/public/post/index.xml +++ b/public/post/index.xml @@ -248,6 +248,28 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon <ul> <li>Still helping Sisay try to figure out how to create a theme for the RTB community</li> +</ul> + +<h2 id="2017-03-28">2017-03-28</h2> + +<ul> +<li>CCAFS said they are ready for the flagship updates for Phase II to be run (<code>cg.subject.ccafs</code>), so I ran them on CGSpace:</li> +</ul> + +<pre><code>$ ./fix-metadata-values.py -i ccafs-flagships-feb7.csv -f cg.subject.ccafs -t correct -m 210 -d dspace -u dspace -p fuuu +</code></pre> + +<ul> +<li>We&rsquo;ve been waiting since February to run these</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> + +<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; +</code></pre> + +<ul> +<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> </ul> diff --git a/public/sitemap.xml b/public/sitemap.xml index ae6245de3..b9ed9bb90 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -3,7 +3,7 @@ https://alanorth.github.io/cgspace-notes/2017-03/ - 2017-03-20T14:09:52+02:00 + 2017-03-24T14:27:31+02:00 @@ -88,19 +88,19 @@ https://alanorth.github.io/cgspace-notes/ - 2017-03-20T14:09:52+02:00 + 2017-03-24T14:27:31+02:00 0 https://alanorth.github.io/cgspace-notes/tags/notes/ - 2017-03-20T14:09:52+02:00 + 2017-03-24T14:27:31+02:00 0 https://alanorth.github.io/cgspace-notes/post/ - 2017-03-20T14:09:52+02:00 + 2017-03-24T14:27:31+02:00 0 diff --git a/public/tags/notes/index.xml b/public/tags/notes/index.xml index a8214b967..6eaa77fcc 100644 --- a/public/tags/notes/index.xml +++ b/public/tags/notes/index.xml @@ -247,6 +247,28 @@ $ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.spon <ul> <li>Still helping Sisay try to figure out how to create a theme for the RTB community</li> +</ul> + +<h2 id="2017-03-28">2017-03-28</h2> + +<ul> +<li>CCAFS said they are ready for the flagship updates for Phase II to be run (<code>cg.subject.ccafs</code>), so I ran them on CGSpace:</li> +</ul> + +<pre><code>$ ./fix-metadata-values.py -i ccafs-flagships-feb7.csv -f cg.subject.ccafs -t correct -m 210 -d dspace -u dspace -p fuuu +</code></pre> + +<ul> +<li>We&rsquo;ve been waiting since February to run these</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> + +<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; +</code></pre> + +<ul> +<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> </ul>