mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2016-06-07
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
+++
|
||||
date = "2016-05-01T10:53:00+03:00"
|
||||
date = "2016-06-01T10:53:00+03:00"
|
||||
author = "Alan Orth"
|
||||
title = "June, 2016"
|
||||
tags = ["notes"]
|
||||
@ -110,3 +110,23 @@ webui.browse.index.2 = author:metadataAuthority:dc.contributor.author:authority
|
||||
- Re-sync DSpace Test with CGSpace and perform test of metadata migration again
|
||||
- Run phase two of metadata migrations on CGSpace (see the [migration notes](https://gist.github.com/alanorth/1a730bec5ac9457a8fb0e3e72c98d09c))
|
||||
- Run all system updates and reboot CGSpace server
|
||||
|
||||
## 2016-06-07
|
||||
|
||||
- Figured out how to export a list of the unique values from a metadata field ordered by count:
|
||||
|
||||
```
|
||||
dspacetest=# \copy (select text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id=29 group by text_value order by count desc) to /tmp/sponsorship.csv with csv;
|
||||
```
|
||||
|
||||
- Identified the next round of fields to migrate:
|
||||
- dc.title.jtitle → dc.source
|
||||
- dc.crsubject.crpsubject → cg.contributor.crp
|
||||
- dc.contributor.affiliation → cg.contributor.affiliation
|
||||
- dc.Species → cg.species
|
||||
- dc.contributor.corporate → dc.contributor
|
||||
- dc.identifier.url → cg.identifier.url
|
||||
- dc.identifier.doi → cg.identifier.doi
|
||||
- dc.identifier.googleurl → cg.identifier.googleurl
|
||||
- dc.identifier.dataurl → cg.identifier.dataurl
|
||||
|
||||
|
Reference in New Issue
Block a user