mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2021-02-14
This commit is contained in:
@ -326,4 +326,44 @@ or(
|
||||
- Call with Abdullah and Yousef to discuss some issues
|
||||
- We got the Angular expressions parser working...
|
||||
|
||||
## 2021-02-13
|
||||
|
||||
- Run system updates, deploy latest `6_x-prod` branch, and reboot CGSpace (linode18)
|
||||
- Normalize `text_lang` of DSpace item metadata on CGSpace:
|
||||
|
||||
```
|
||||
dspace=# SELECT DISTINCT text_lang, count(text_lang) FROM metadatavalue WHERE dspace_object_id IN (SELECT uuid FROM item) GROUP BY text_lang ORDER BY count DESC;
|
||||
text_lang | count
|
||||
-----------+---------
|
||||
en_US | 2567413
|
||||
| 8050
|
||||
en | 7601
|
||||
| 0
|
||||
(4 rows)
|
||||
dspace=# UPDATE metadatavalue SET text_lang='en_US' WHERE dspace_object_id IN (SELECT uuid FROM item);
|
||||
```
|
||||
|
||||
- Start a full Discovery re-indexing on CGSpace
|
||||
|
||||
## 2021-02-14
|
||||
|
||||
- Clear the OpenRXV temp items index:
|
||||
|
||||
```console
|
||||
$ curl -XDELETE 'http://localhost:9200/openrxv-items-temp'
|
||||
```
|
||||
|
||||
- Then start a full harvesting of CGSpace in the AReS Explorer admin dashboard
|
||||
- Peter asked me about a few other recently submitted FEAST items that are restricted
|
||||
- I checked the collection and there was an empty group there for the "default read" authorization
|
||||
- I deleted the group and fixed the authorization policies for two new items manually
|
||||
- Upload fifteen items to CGSpace for Peter Ballantyne
|
||||
- Move 313 journals from series, which Peter had indicated when we were cleaning up the series last week
|
||||
- I re-purposed one of my Python metadata scripts to create `move-metadata-values.py`
|
||||
- The script reads a text file with one metadata value per line and moves them from one metadata field id to another
|
||||
|
||||
```console
|
||||
$ ./ilri/move-metadata-values.py -i /tmp/move.txt -db dspace -u dspace -p 'fuuu' -f 43 -t 55
|
||||
```
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user