mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2019-12-22
This commit is contained in:
@ -181,4 +181,28 @@ UPDATE 2
|
||||
- The DOI has an Altmetric score of 259, but for the Handle it is HTTP 404!
|
||||
- I emailed Altmetric support
|
||||
|
||||
## 2019-12-22
|
||||
|
||||
- I ran the `dspace cleanup` process on CGSpace (linode18) and had an error:
|
||||
|
||||
```
|
||||
Error: ERROR: update or delete on table "bitstream" violates foreign key constraint "bundle_primary_bitstream_id_fkey" on table "bundle"
|
||||
Detail: Key (bitstream_id)=(179441) is still referenced from table "bundle".
|
||||
```
|
||||
|
||||
- The solution is to delete that bitstream manually:
|
||||
|
||||
```
|
||||
$ psql dspace -c 'update bundle set primary_bitstream_id=NULL where primary_bitstream_id in (179441);'
|
||||
UPDATE 1
|
||||
```
|
||||
|
||||
- Adjust [CG Core v2 migrataion notes]({{< relref "cgspace-cgcorev2-migration.md" >}}) to use `cg.review-status` instead of `cg.peer-reviewed`
|
||||
- I had [raised the issue](https://github.com/AgriculturalSemantics/cg-core/issues/14) with Marie-Angelique earlier this month
|
||||
- It makes much more sense to use a wider scope here than a simple boolean
|
||||
- I also noticed another field that we should be using in DCTERMS instead of CG: `cg.targetaudience`
|
||||
- [DCTERMS says that `dcterms.audience` should be used to describe a A class of entity for whom the resource is intended or useful."](https://www.dublincore.org/specifications/dublin-core/dcmi-terms/2012-06-14/?v=terms#audience)
|
||||
- I will update my notes for this so that we use that field instead
|
||||
- I don't see "audience" on the [cg-core](https://github.com/AgriculturalSemantics/cg-core/) repository so I filed [an issue](https://github.com/AgriculturalSemantics/cg-core/issues/19) to raise it with Marie-Angelique
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user