mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-12-23 21:44:30 +01:00
Update notes for 2017-09-13
This commit is contained in:
parent
a13c5e93b6
commit
3eae0388dd
@ -218,9 +218,115 @@ DELETE 207
|
||||
```
|
||||
|
||||
- When we discussed this in late July there were some other renames they had requested, but I don't see them in the current spreadsheet so I will have to follow that up
|
||||
- I talked to Macaroni Bros and they said to just go ahead with the other corrections as well as their spreadsheet was evolved organically rather than systematically!
|
||||
- The final list of corrections and deletes should therefore be:
|
||||
|
||||
```
|
||||
delete from metadatavalue where resource_type_id=2 and metadata_field_id=235 and text_value='PII-FP4_CRMWestAfrica';
|
||||
update metadatavalue set text_value='FP3_VietnamLED' where resource_type_id=2 and metadata_field_id=134 and text_value='FP3_VeitnamLED';
|
||||
update metadatavalue set text_value='PII-FP1_PIRCCA' where resource_type_id=2 and metadata_field_id=235 and text_value='PII-SEA_PIRCCA';
|
||||
delete from metadatavalue where resource_type_id=2 and metadata_field_id=235 and text_value='PII-WA_IntegratedInterventions';
|
||||
delete from metadatavalue where resource_type_id=2 and metadata_field_id in (134, 235) and text_value in ('EA_PAR','FP1_CSAEvidence','FP2_CRMWestAfrica','FP3_Gender','FP4_Baseline','FP4_CCPAG','FP4_CCPG','FP4_CIATLAM IMPACT','FP4_ClimateData','FP4_ClimateModels','FP4_GenderPolicy','FP4_GenderToolbox','FP4_Livestock','FP4_PolicyEngagement','FP_GII','SA_Biodiversity','SA_CSV','SA_GHGMeasurement','SEA_mitigationSAMPLES','SEA_UpscalingInnovation','WA_Partnership','WA_SciencePolicyExchange','FP_GII');
|
||||
```
|
||||
|
||||
- Create and merge pull request to shut up the Ehcache update check ([#337](https://github.com/ilri/DSpace/pull/337))
|
||||
- Although it looks like there was a previous attempt to disable these update checks that was merged in DSpace 4.0 (although it only affects XMLUI): https://jira.duraspace.org/browse/DS-1492
|
||||
- I commented there suggesting that we disable it globally
|
||||
- I merged the changes to the CCAFS project tags ([#336](https://github.com/ilri/DSpace/pull/336)) but still need to finalize the metadata deletions/renames
|
||||
- I merged the CGIAR Library theme changes ([#338](https://github.com/ilri/DSpace/pull/338)) to the `5_x-prod` branch in preparation for next week's migration
|
||||
- I emailed the Handle administrators (hdladmin@cnri.reston.va.us) to ask them what the process for changing their prefix to be resolved by our resolver
|
||||
- They responded and said that they need email confirmation from the contact of record of the other prefix, so I should have the CGIAR System Organization people email them before I send the new `sitebndl.zip`
|
||||
- Testing to see how we end up with all these new authorities after we keep cleaning and merging them in the database
|
||||
- Here are all my distinct authority combinations in the database before:
|
||||
|
||||
```
|
||||
dspace=# select distinct text_value, authority, confidence from metadatavalue where resource_type_id=2 and metadata_field_id=3 and text_value like '%Orth, %';
|
||||
text_value | authority | confidence
|
||||
------------+--------------------------------------+------------
|
||||
Orth, Alan | 7c2bffb8-58c9-4bc8-b102-ebe8aec200ad | -1
|
||||
Orth, Alan | 1a1943a0-3f87-402f-9afe-e52fb46a513e | 600
|
||||
Orth, Alan | 7c2bffb8-58c9-4bc8-b102-ebe8aec200ad | 600
|
||||
Orth, A. | 1a1943a0-3f87-402f-9afe-e52fb46a513e | 600
|
||||
Orth, Alan | 1a1943a0-3f87-402f-9afe-e52fb46a513e | -1
|
||||
Orth, Alan | 7c2bffb8-58c9-4bc8-b102-ebe8aec200ad | 0
|
||||
Orth, Alan | 0d575fa3-8ac4-4763-a90a-1248d4791793 | -1
|
||||
Orth, Alan | 67a9588f-d86a-4155-81a2-af457e9d13f9 | 600
|
||||
(8 rows)
|
||||
```
|
||||
|
||||
- And then after adding a new item and selecting an existing "Orth, Alan" with an ORCID in the author lookup:
|
||||
|
||||
```
|
||||
dspace=# select distinct text_value, authority, confidence from metadatavalue where resource_type_id=2 and metadata_field_id=3 and text_value like '%Orth, %';
|
||||
text_value | authority | confidence
|
||||
------------+--------------------------------------+------------
|
||||
Orth, Alan | 7c2bffb8-58c9-4bc8-b102-ebe8aec200ad | -1
|
||||
Orth, Alan | 1a1943a0-3f87-402f-9afe-e52fb46a513e | 600
|
||||
Orth, Alan | 7c2bffb8-58c9-4bc8-b102-ebe8aec200ad | 600
|
||||
Orth, A. | 1a1943a0-3f87-402f-9afe-e52fb46a513e | 600
|
||||
Orth, Alan | 1a1943a0-3f87-402f-9afe-e52fb46a513e | -1
|
||||
Orth, Alan | 7c2bffb8-58c9-4bc8-b102-ebe8aec200ad | 0
|
||||
Orth, Alan | cb3aa5ae-906f-4902-97b1-2667cf148dde | 600
|
||||
Orth, Alan | 0d575fa3-8ac4-4763-a90a-1248d4791793 | -1
|
||||
Orth, Alan | 67a9588f-d86a-4155-81a2-af457e9d13f9 | 600
|
||||
(9 rows)
|
||||
```
|
||||
|
||||
- It created a new authority... let's try to add another item and select the same existing author and see what happens in the database:
|
||||
|
||||
```
|
||||
dspace=# select distinct text_value, authority, confidence from metadatavalue where resource_type_id=2 and metadata_field_id=3 and text_value like '%Orth, %';
|
||||
text_value | authority | confidence
|
||||
------------+--------------------------------------+------------
|
||||
Orth, Alan | 7c2bffb8-58c9-4bc8-b102-ebe8aec200ad | -1
|
||||
Orth, Alan | 1a1943a0-3f87-402f-9afe-e52fb46a513e | 600
|
||||
Orth, Alan | 7c2bffb8-58c9-4bc8-b102-ebe8aec200ad | 600
|
||||
Orth, A. | 1a1943a0-3f87-402f-9afe-e52fb46a513e | 600
|
||||
Orth, Alan | 1a1943a0-3f87-402f-9afe-e52fb46a513e | -1
|
||||
Orth, Alan | 7c2bffb8-58c9-4bc8-b102-ebe8aec200ad | 0
|
||||
Orth, Alan | cb3aa5ae-906f-4902-97b1-2667cf148dde | 600
|
||||
Orth, Alan | 0d575fa3-8ac4-4763-a90a-1248d4791793 | -1
|
||||
Orth, Alan | 67a9588f-d86a-4155-81a2-af457e9d13f9 | 600
|
||||
(9 rows)
|
||||
```
|
||||
|
||||
- No new one... so now let me try to add another item and select the italicized result from the ORCID lookup and see what happens in the database:
|
||||
|
||||
```
|
||||
dspace=# select distinct text_value, authority, confidence from metadatavalue where resource_type_id=2 and metadata_field_id=3 and text_value like '%Orth, %';
|
||||
text_value | authority | confidence
|
||||
------------+--------------------------------------+------------
|
||||
Orth, Alan | 7c2bffb8-58c9-4bc8-b102-ebe8aec200ad | -1
|
||||
Orth, Alan | 1a1943a0-3f87-402f-9afe-e52fb46a513e | 600
|
||||
Orth, Alan | d85a8a5b-9b82-4aaf-8033-d7e0c7d9cb8f | 600
|
||||
Orth, Alan | 7c2bffb8-58c9-4bc8-b102-ebe8aec200ad | 600
|
||||
Orth, A. | 1a1943a0-3f87-402f-9afe-e52fb46a513e | 600
|
||||
Orth, Alan | 1a1943a0-3f87-402f-9afe-e52fb46a513e | -1
|
||||
Orth, Alan | 7c2bffb8-58c9-4bc8-b102-ebe8aec200ad | 0
|
||||
Orth, Alan | cb3aa5ae-906f-4902-97b1-2667cf148dde | 600
|
||||
Orth, Alan | 0d575fa3-8ac4-4763-a90a-1248d4791793 | -1
|
||||
Orth, Alan | 67a9588f-d86a-4155-81a2-af457e9d13f9 | 600
|
||||
(10 rows)
|
||||
```
|
||||
|
||||
- Shit, it created another authority! Let's try it again!
|
||||
|
||||
```
|
||||
dspace=# select distinct text_value, authority, confidence from metadatavalue where resource_type_id=2 and metadata_field_id=3 and text_value like '%Orth, %';
|
||||
text_value | authority | confidence
|
||||
------------+--------------------------------------+------------
|
||||
Orth, Alan | 7c2bffb8-58c9-4bc8-b102-ebe8aec200ad | -1
|
||||
Orth, Alan | 1a1943a0-3f87-402f-9afe-e52fb46a513e | 600
|
||||
Orth, Alan | d85a8a5b-9b82-4aaf-8033-d7e0c7d9cb8f | 600
|
||||
Orth, Alan | 7c2bffb8-58c9-4bc8-b102-ebe8aec200ad | 600
|
||||
Orth, Alan | 9aed566a-a248-4878-9577-0caedada43db | 600
|
||||
Orth, A. | 1a1943a0-3f87-402f-9afe-e52fb46a513e | 600
|
||||
Orth, Alan | 1a1943a0-3f87-402f-9afe-e52fb46a513e | -1
|
||||
Orth, Alan | 7c2bffb8-58c9-4bc8-b102-ebe8aec200ad | 0
|
||||
Orth, Alan | cb3aa5ae-906f-4902-97b1-2667cf148dde | 600
|
||||
Orth, Alan | 0d575fa3-8ac4-4763-a90a-1248d4791793 | -1
|
||||
Orth, Alan | 67a9588f-d86a-4155-81a2-af457e9d13f9 | 600
|
||||
(11 rows)
|
||||
```
|
||||
|
||||
- It added *another* authority... surely this is not the desired behavior, or maybe we are not using this as intented?
|
||||
|
@ -25,7 +25,7 @@ Ask Sisay to clean up the WLE approvers a bit, as Marianne’s user account
|
||||
|
||||
|
||||
<meta property="article:published_time" content="2017-09-07T16:54:52+07:00"/>
|
||||
<meta property="article:modified_time" content="2017-09-13T09:53:54+03:00"/>
|
||||
<meta property="article:modified_time" content="2017-09-13T16:42:17+03:00"/>
|
||||
|
||||
|
||||
|
||||
@ -61,9 +61,9 @@ Ask Sisay to clean up the WLE approvers a bit, as Marianne’s user account
|
||||
"@type": "BlogPosting",
|
||||
"headline": "September, 2017",
|
||||
"url": "https://alanorth.github.io/cgspace-notes/2017-09/",
|
||||
"wordCount": "1566",
|
||||
"wordCount": "1691",
|
||||
"datePublished": "2017-09-07T16:54:52+07:00",
|
||||
"dateModified": "2017-09-13T09:53:54+03:00",
|
||||
"dateModified": "2017-09-13T16:42:17+03:00",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "Alan Orth"
|
||||
@ -367,12 +367,25 @@ DELETE 207
|
||||
|
||||
<ul>
|
||||
<li>When we discussed this in late July there were some other renames they had requested, but I don’t see them in the current spreadsheet so I will have to follow that up</li>
|
||||
<li>I talked to Macaroni Bros and they said to just go ahead with the other corrections as well as their spreadsheet was evolved organically rather than systematically!</li>
|
||||
<li>The final list of corrections and deletes should therefore be:</li>
|
||||
</ul>
|
||||
|
||||
<pre><code>delete from metadatavalue where resource_type_id=2 and metadata_field_id=235 and text_value='PII-FP4_CRMWestAfrica';
|
||||
update metadatavalue set text_value='FP3_VietnamLED' where resource_type_id=2 and metadata_field_id=134 and text_value='FP3_VeitnamLED';
|
||||
update metadatavalue set text_value='PII-FP1_PIRCCA' where resource_type_id=2 and metadata_field_id=235 and text_value='PII-SEA_PIRCCA';
|
||||
delete from metadatavalue where resource_type_id=2 and metadata_field_id=235 and text_value='PII-WA_IntegratedInterventions';
|
||||
delete from metadatavalue where resource_type_id=2 and metadata_field_id in (134, 235) and text_value in ('EA_PAR','FP1_CSAEvidence','FP2_CRMWestAfrica','FP3_Gender','FP4_Baseline','FP4_CCPAG','FP4_CCPG','FP4_CIATLAM IMPACT','FP4_ClimateData','FP4_ClimateModels','FP4_GenderPolicy','FP4_GenderToolbox','FP4_Livestock','FP4_PolicyEngagement','FP_GII','SA_Biodiversity','SA_CSV','SA_GHGMeasurement','SEA_mitigationSAMPLES','SEA_UpscalingInnovation','WA_Partnership','WA_SciencePolicyExchange','FP_GII');
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
<li>Create and merge pull request to shut up the Ehcache update check (<a href="https://github.com/ilri/DSpace/pull/337">#337</a>)</li>
|
||||
<li>Although it looks like there was a previous attempt to disable these update checks that was merged in DSpace 4.0 (although it only affects XMLUI): <a href="https://jira.duraspace.org/browse/DS-1492">https://jira.duraspace.org/browse/DS-1492</a></li>
|
||||
<li>I commented there suggesting that we disable it globally</li>
|
||||
<li>I merged the changes to the CCAFS project tags (<a href="https://github.com/ilri/DSpace/pull/336">#336</a>) but still need to finalize the metadata deletions/renames</li>
|
||||
<li>I merged the CGIAR Library theme changes (<a href="https://github.com/ilri/DSpace/pull/338">#338</a>) to the <code>5_x-prod</code> branch in preparation for next week’s migration</li>
|
||||
<li>I emailed the Handle administrators (hdladmin@cnri.reston.va.us) to ask them what the process for changing their prefix to be resolved by our resolver</li>
|
||||
<li>They responded and said that they need email confirmation from the contact of record of the other prefix, so I should have the CGIAR System Organization people email them before I send the new <code>sitebndl.zip</code></li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/2017-09/</loc>
|
||||
<lastmod>2017-09-13T09:53:54+03:00</lastmod>
|
||||
<lastmod>2017-09-13T16:42:17+03:00</lastmod>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
@ -119,7 +119,7 @@
|
||||
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
||||
<lastmod>2017-09-13T09:53:54+03:00</lastmod>
|
||||
<lastmod>2017-09-13T16:42:17+03:00</lastmod>
|
||||
<priority>0</priority>
|
||||
</url>
|
||||
|
||||
@ -130,19 +130,19 @@
|
||||
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
|
||||
<lastmod>2017-09-13T09:53:54+03:00</lastmod>
|
||||
<lastmod>2017-09-13T16:42:17+03:00</lastmod>
|
||||
<priority>0</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/post/</loc>
|
||||
<lastmod>2017-09-13T09:53:54+03:00</lastmod>
|
||||
<lastmod>2017-09-13T16:42:17+03:00</lastmod>
|
||||
<priority>0</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
|
||||
<lastmod>2017-09-13T09:53:54+03:00</lastmod>
|
||||
<lastmod>2017-09-13T16:42:17+03:00</lastmod>
|
||||
<priority>0</priority>
|
||||
</url>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user