November, 2016
2016-11-01
- Add
dc.type
to the output options for Atmire’s Listings and Reports module (#286)
Documenting day-to-day work on the CGSpace repository.
dc.type
to the output options for Atmire’s Listings and Reports module (#286)I exported a random item’s metadata as CSV, deleted all columns except id and collection, and made a new coloum called ORCID:dc.contributor.author
with the following random ORCIDs from the ORCID registry:
0000-0002-6115-0956||0000-0002-3812-8793||0000-0001-7462-405X
DC=ILRI
to determine whether a user was ILRI or notIt looks like we might be able to use OUs now, instead of DCs:
$ ldapsearch -x -H ldaps://svcgroot2.cgiarad.org:3269/ -b "dc=cgiarad,dc=org" -D "admigration1@cgiarad.org" -W "(sAMAccountName=admigration1)"
bower.json
because most are several versions of out datefonts
)Start working on DSpace 5.1 → 5.5 port:
$ git checkout -b 55new 5_x-prod
$ git reset --hard ilri/5_x-prod
$ git rebase -i dspace-5.5
dc.description.sponsorship
to Discovery sidebar facets and make investors clickable in item view (#232)I think this query should find and replace all authors that have “,” at the end of their names:
dspacetest=# update metadatavalue set text_value = regexp_replace(text_value, '(^.+?),$', '\1') where metadata_field_id=3 and resource_type_id=2 and text_value ~ '^.+?,$';
UPDATE 95
dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and resource_type_id=2 and text_value ~ '^.+?,$';
text_value
------------
(0 rows)
In this case the select query was showing 95 results before the update
ListSets
verb: http://ebrary.ifpri.org/oai/oai.php?verb=ListSetsdc.identifier.fund
to cg.identifier.cpwfproject
and then the rest to dc.description.sponsorship
There are 3,000 IPs accessing the REST API in a 24-hour period!
# awk '{print $1}' /var/log/nginx/rest.log | uniq | wc -l
3168
checker
log has some errors we should pay attention to:index-lucene-update
cron job active on CGSpace, but I’m pretty sure we don’t need it as of the latest few versions of Atmire’s Listings and Reports module