Add notes for 2021-01-18

This commit is contained in:
2021-01-18 16:21:24 +02:00
parent 87fd47e7d2
commit 5c7d01cbc4
26 changed files with 173 additions and 45 deletions

View File

@ -205,4 +205,64 @@ $ dspace community-filiator --remove --parent=10568/66598 --child=10568/106605
- Publish [v1.4.1 of the DSpace Statistics API](https://github.com/ilri/dspace-statistics-api/releases/tag/v1.4.1) based on feedback from the community
- This includes the fix for limiting the Solr query to UUIDs
## 2021-01-17
- Start a re-index on AReS
- First delete the old Elasticsearch temp index:
```console
$ curl -XDELETE 'http://localhost:9200/openrxv-items-temp'
# start indexing in AReS
```
- Then, the next morning when it's done, check the results of the harvesting, backup the current `openrxv-items` index, and clone the `openrxv-items-temp` index to `openrxv-items`:
```console
$ curl -s 'http://localhost:9200/openrxv-items-temp/_count?q=*&pretty'
{
"count" : 100540,
"_shards" : {
"total" : 1,
"successful" : 1,
"skipped" : 0,
"failed" : 0
}
}
$ curl -X PUT "localhost:9200/openrxv-items/_settings" -H 'Content-Type: application/json' -d'{"settings": {"index.blocks.write": true}}'
$ curl -s -X POST http://localhost:9200/openrxv-items/_clone/openrxv-items-2021-01-18
$ curl -XDELETE 'http://localhost:9200/openrxv-items'
$ curl -X PUT "localhost:9200/openrxv-items-temp/_settings" -H 'Content-Type: application/json' -d'{"settings": {"index.blocks.write": true}}'
$ curl -s -X POST http://localhost:9200/openrxv-items-temp/_clone/openrxv-items
$ curl -XDELETE 'http://localhost:9200/openrxv-items-temp'
$ curl -XDELETE 'http://localhost:9200/openrxv-items-2021-01-18'
```
## 2021-01-18
- Finish the indexing on AReS that I started yesterday
- Udana from IWMI emailed me to ask why the iwmi.csv doesn't include items he approved to CGSpace this morning
- I told him it is generated every Sunday night
- I regenerated the file manually for him
- I adjusted the script to run on Monday and Friday
- Meeting with Peter and Abenet about CG Core v2
- We also need to remove CTA and CPWF subjects from the input form since they are both closed now and no longer submitting items
- Peter also wants to create new fields on CGSpace for the SDGs and CGIAR Impact Areas
- I suggested `cg.subject.sdg` and `cg.subject.impactArea`
- We also agreed to remove the following fields:
- cg.livestock.agegroup
- cg.livestock.function
- cg.message.sms
- cg.message.voice
- I removed them from the input form, metadata registry, and deleted all the values in the database:
```
localhost/dspace63= > BEGIN;
localhost/dspace63= > DELETE FROM metadatavalue WHERE metadata_field_id IN (115, 116, 117, 118);
DELETE 27
localhost/dspace63= > COMMIT;
```
- I submitted [an issue](https://github.com/AgriculturalSemantics/cg-core/issues/31) to CG Core v2 to propose standardizing the camel case convention for a few more fields of ours
- I submitted [an issue](https://github.com/AgriculturalSemantics/cg-core/issues/32) to CG Core v2 to propose removing `cg.series` and `cg.pages` in favor of `dcterms.isPartOf` and `dcterms.extent`, respectively
<!-- vim: set sw=2 ts=2: -->