Update notes for 2017-02-16

This commit is contained in:
2017-02-16 14:20:22 +02:00
parent 5a7817720f
commit 47684f110c
5 changed files with 100 additions and 4 deletions

View File

@ -84,3 +84,19 @@ $ ./fix-metadata-values.py -i ccafs-flagships-feb7.csv -f cg.subject.ccafs -t co
- Especially because we only use 2 out of 8 CPUs basically:
![CGSpace CPU](/cgspace-notes/2017/02/cpu-week.png)
- Fix issue with duplicate declaration of in atmire-dspace-xmlui `pom.xml` (causing non-fatal warnings during the maven build)
- Experiment with making DSpace generate HTTPS handle links, first a change in dspace.cfg or the site's properties file:
```
handle.canonical.prefix = https://hdl.handle.net/
```
- And then a SQL command to update existing records:
```
dspace=# update metadatavalue set text_value = regexp_replace(text_value, 'http://hdl.handle.net', 'https://hdl.handle.net') where metadata_field_id IN (select metadata_field_id from metadatafieldregistry where element = 'identifier' and qualifier = 'uri');
UPDATE 58193
```
- Seems to work fine!