2017-07-01 17:03:19 +02:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "utf-8" >
< meta name = "viewport" content = "width=device-width, initial-scale=1, shrink-to-fit=no" >
< meta property = "og:title" content = "July, 2017" / >
< meta property = "og:description" content = "2017-07-01
Run system updates and reboot DSpace Test
2017-07-04 12:49:16 +02:00
2017-07-04
Merge changes for WLE Phase II theme rename (#329)
Looking at extracting the metadata registries from ICARDA’ s MEL DSpace database so we can compare fields with CGSpace
We can use PostgreSQL’ s extended output format (-x) plus sed to format the output into quasi XML:
2017-07-01 17:03:19 +02:00
" />
< meta property = "og:type" content = "article" / >
< meta property = "og:url" content = "https://alanorth.github.io/cgspace-notes/2017-07/" / >
< meta property = "article:published_time" content = "2017-07-01T18:03:52+03:00" / >
2017-07-04 12:49:16 +02:00
< meta property = "article:modified_time" content = "2017-07-04T10:53:39+03:00" / >
2017-07-01 17:03:19 +02:00
< meta name = "twitter:card" content = "summary" / >
< meta name = "twitter:text:title" content = "July, 2017" / >
< meta name = "twitter:title" content = "July, 2017" / >
< meta name = "twitter:description" content = "2017-07-01
Run system updates and reboot DSpace Test
2017-07-04 12:49:16 +02:00
2017-07-04
Merge changes for WLE Phase II theme rename (#329)
Looking at extracting the metadata registries from ICARDA’ s MEL DSpace database so we can compare fields with CGSpace
We can use PostgreSQL’ s extended output format (-x) plus sed to format the output into quasi XML:
2017-07-01 17:03:19 +02:00
"/>
< meta name = "generator" content = "Hugo 0.24.1" / >
< script type = "application/ld+json" >
{
"@context": "http://schema.org",
"@type": "BlogPosting",
"headline": "July, 2017",
"url": "https://alanorth.github.io/cgspace-notes/2017-07/",
2017-07-04 12:49:16 +02:00
"wordCount": "232",
2017-07-01 17:03:19 +02:00
"datePublished": "2017-07-01T18:03:52+ 03:00",
2017-07-04 12:49:16 +02:00
"dateModified": "2017-07-04T10:53:39+ 03:00",
2017-07-01 17:03:19 +02:00
"author": {
"@type": "Person",
"name": "Alan Orth"
},
"keywords": "Notes"
}
< / script >
< link rel = "canonical" href = "https://alanorth.github.io/cgspace-notes/2017-07/" >
< title > July, 2017 | CGSpace Notes< / title >
<!-- combined, minified CSS -->
< link href = "https://alanorth.github.io/cgspace-notes/css/style.css" rel = "stylesheet" integrity = "sha384-j3n8sYdzztDYtVc80KiiuOXoCg5Bjz0zYyLGzDMW8RbfA0u5djbF0GO3bVOPoLyN" crossorigin = "anonymous" >
< / head >
< body >
< div class = "blog-masthead" >
< div class = "container" >
< nav class = "nav blog-nav" >
< a class = "nav-link " href = "https://alanorth.github.io/cgspace-notes/" > Home< / a >
< / nav >
< / div >
< / div >
< header class = "blog-header" >
< div class = "container" >
< h1 class = "blog-title" > < a href = "https://alanorth.github.io/cgspace-notes/" rel = "home" > CGSpace Notes< / a > < / h1 >
< p class = "lead blog-description" > Documenting day-to-day work on the < a href = "https://cgspace.cgiar.org" > CGSpace< / a > repository.< / p >
< / div >
< / header >
< div class = "container" >
< div class = "row" >
< div class = "col-sm-8 blog-main" >
< article class = "blog-post" >
< header >
< h2 class = "blog-post-title" > < a href = "https://alanorth.github.io/cgspace-notes/2017-07/" > July, 2017< / a > < / h2 >
< p class = "blog-post-meta" > < time datetime = "2017-07-01T18:03:52+03:00" > Sat Jul 01, 2017< / time > by Alan Orth in
< i class = "fa fa-tag" aria-hidden = "true" > < / i > < a href = "/cgspace-notes/tags/notes" rel = "tag" > Notes< / a >
< / p >
< / header >
< h2 id = "2017-07-01" > 2017-07-01< / h2 >
< ul >
< li > Run system updates and reboot DSpace Test< / li >
< / ul >
2017-07-04 07:04:46 +02:00
< h2 id = "2017-07-04" > 2017-07-04< / h2 >
< ul >
< li > Merge changes for WLE Phase II theme rename (< a href = "https://github.com/ilri/DSpace/pull/329" > #329< / a > )< / li >
2017-07-04 09:53:39 +02:00
< li > Looking at extracting the metadata registries from ICARDA’ s MEL DSpace database so we can compare fields with CGSpace< / li >
< li > We can use PostgreSQL’ s extended output format (< code > -x< / code > ) plus < code > sed< / code > to format the output into quasi XML:< / li >
< / ul >
2017-07-04 12:49:16 +02:00
< p > < / p >
2017-07-04 09:53:39 +02:00
< pre > < code > $ psql dspacenew -x -c 'select element, qualifier, scope_note from metadatafieldregistry where metadata_schema_id=5 order by element, qualifier;' | sed -r 's:^-\[ RECORD (.*) \]-+$:< /dc-type> \n< dc-type> :;s:([^ ]*) +\| (.*): < \1> \2< /\1> :;s:^$:< /dc-type> :;1s:< /dc-type> \n::'
< / code > < / pre >
< ul >
< li > The < code > sed< / code > script is from a post on the < a href = "https://www.postgresql.org/message-id/437E44A5.508%40ultimeth.com" > PostgreSQL mailing list< / a > < / li >
2017-07-04 12:49:16 +02:00
< li > Abenet says the ILRI board wants to be able to have “ lead author” for every item, so I’ ve whipped up a WIP test in the < code > 5_x-lead-author< / code > branch< / li >
< li > It works but is still very rough and we haven’ t thought out the whole lifecycle yet< / li >
< / ul >
< p > < img src = "/cgspace-notes/2017/07/lead-author-test.png" alt = "Testing lead author in submission form" / > < / p >
< ul >
< li > I assume that “ lead author” would actually be the first question on the item submission form< / li >
< li > We also need to check to see which ORCID authority core this uses, because it seems to be using an entirely new one rather than the one for < code > dc.contributor.author< / code > (which makes sense of course, but fuck, all the author problems aren’ t bad enough?!)< / li >
< li > Also would need to edit XMLUI item displays to incorporate this into authors list< / li >
< li > And fuck, then anyone consuming our data via REST / OAI will not notice that we have an author outside of < code > dc.contributor.authors< / code > … ugh< / li >
2017-07-04 07:04:46 +02:00
< / ul >
2017-07-01 17:03:19 +02:00
< / article >
< / div > <!-- /.blog - main -->
< aside class = "col-sm-3 offset-sm-1 blog-sidebar" >
< section class = "sidebar-module" >
< h4 > Recent Posts< / h4 >
< ol class = "list-unstyled" >
< li > < a href = "/cgspace-notes/2017-07/" > July, 2017< / a > < / li >
< li > < a href = "/cgspace-notes/2017-06/" > June, 2017< / a > < / li >
< li > < a href = "/cgspace-notes/2017-05/" > May, 2017< / a > < / li >
< li > < a href = "/cgspace-notes/2017-04/" > April, 2017< / a > < / li >
< li > < a href = "/cgspace-notes/2017-03/" > March, 2017< / a > < / li >
< / ol >
< / section >
< section class = "sidebar-module" >
< h4 > Links< / h4 >
< ol class = "list-unstyled" >
< li > < a href = "https://cgspace.cgiar.org" > CGSpace< / a > < / li >
< li > < a href = "https://dspacetest.cgiar.org" > DSpace Test< / a > < / li >
< li > < a href = "https://github.com/ilri/DSpace" > CGSpace @ GitHub< / a > < / li >
< / ol >
< / section >
< / aside >
< / div > <!-- /.row -->
< / div > <!-- /.container -->
< footer class = "blog-footer" >
< p >
Blog template created by < a href = "https://twitter.com/mdo" > @mdo< / a > , ported to Hugo by < a href = 'https://twitter.com/mralanorth' > @mralanorth< / a > .
< / p >
< p >
< a href = "#" > Back to top< / a >
< / p >
< / footer >
< / body >
< / html >