CGSpace Notes

Documenting day-to-day work on the CGSpace repository.

January, 2022

2022-01-01

  • Start a full harvest on AReS

2022-01-06

  • Add ORCID identifier for Chris Jones to CGSpace
    • Also tag eighty-eight of his items in CGSpace:
$ cat 2022-01-06-add-orcids.csv 
dc.contributor.author,cg.creator.identifier
"Jones, Chris","Chris Jones: 0000-0001-9096-9728"
"Jones, Christopher S.","Chris Jones: 0000-0001-9096-9728"
$ ./ilri/add-orcid-identifiers-csv.py -i 2022-01-06-add-orcids.csv -db dspace63 -u dspacetest -p 'dom@in34sniper' 

2022-01-09

  • Validate and register CGSpace on OpenArchives
    • Last month IWMI colleagues were asking me to look into this, and after checking the OpenArchives mailing list it seems there was a problem on the server side
    • Now it has worked and the message is “Successfully updated OAI registration database to status COMPLIANT.”
    • I received an email (as the Admin contact on our OAI) that says:

Your repository has been registered in the OAI database of conforming repositories.

  • Now I’m taking a screenshot of the validation page for posterity, because the logs seem to go away after some time

OpenArchives.org registration

  • I tried to re-build the Docker image for OpenRXV and got an error in the backend:
...
> openrxv-backend@0.0.1 build
> nest build

node_modules/@elastic/elasticsearch/api/types.d.ts:2454:13 - error TS2456: Type alias 'AggregationsAggregate' circularly references itself.

2454 export type AggregationsAggregate = AggregationsSingleBucketAggregate | AggregationsAutoDateHistogramAggregate | AggregationsFiltersAggregate | AggregationsSignificantTermsAggregate<any> | AggregationsTermsAggregate<any> | AggregationsBucketAggregate | AggregationsCompositeBucketAggregate | AggregationsMultiBucketAggregate<AggregationsBucket> | AggregationsMatrixStatsAggregate | AggregationsKeyedValueAggregate | AggregationsMetricAggregate
                 ~~~~~~~~~~~~~~~~~~~~~
node_modules/@elastic/elasticsearch/api/types.d.ts:3209:13 - error TS2456: Type alias 'AggregationsSingleBucketAggregate' circularly references itself.

3209 export type AggregationsSingleBucketAggregate = AggregationsSingleBucketAggregateKeys
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Found 2 error(s).
  • Ah, it seems the code on the server was slightly out of date
    • I checked out the latest master branch and it built

2022-01-12