2023-05-03 16:10:37 +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 = "May, 2023" / >
< meta property = "og:description" content = "2023-05-03
Alliance’ s TIP team emailed me to ask about issues authenticating on CGSpace
It seems their password expired, which is annoying
I continued looking at the CGSpace subjects for the FAO / AGROVOC exercise that I started last week
There are many of our subjects that would match if they added a “ -” like “ high yielding varieties” or used singular…
Also I found at least two spelling mistakes, for example “ decison support systems” , which would match if it was spelled correctly
Work on cleaning, proofing, and uploading twenty-seven records for IFPRI to CGSpace
" />
< meta property = "og:type" content = "article" / >
< meta property = "og:url" content = "https://alanorth.github.io/cgspace-notes/2023-05/" / >
< meta property = "article:published_time" content = "2023-05-03T08:53:36+03:00" / >
2023-05-12 07:33:20 +02:00
< meta property = "article:modified_time" content = "2023-05-04T17:27:29+03:00" / >
2023-05-03 16:10:37 +02:00
< meta name = "twitter:card" content = "summary" / >
< meta name = "twitter:title" content = "May, 2023" / >
< meta name = "twitter:description" content = "2023-05-03
Alliance’ s TIP team emailed me to ask about issues authenticating on CGSpace
It seems their password expired, which is annoying
I continued looking at the CGSpace subjects for the FAO / AGROVOC exercise that I started last week
There are many of our subjects that would match if they added a “ -” like “ high yielding varieties” or used singular…
Also I found at least two spelling mistakes, for example “ decison support systems” , which would match if it was spelled correctly
Work on cleaning, proofing, and uploading twenty-seven records for IFPRI to CGSpace
"/>
< meta name = "generator" content = "Hugo 0.111.3" >
< script type = "application/ld+json" >
{
"@context": "http://schema.org",
"@type": "BlogPosting",
"headline": "May, 2023",
"url": "https://alanorth.github.io/cgspace-notes/2023-05/",
2023-05-12 07:33:20 +02:00
"wordCount": "309",
2023-05-03 16:10:37 +02:00
"datePublished": "2023-05-03T08:53:36+03:00",
2023-05-12 07:33:20 +02:00
"dateModified": "2023-05-04T17:27:29+03:00",
2023-05-03 16:10:37 +02:00
"author": {
"@type": "Person",
"name": "Alan Orth"
},
"keywords": "Notes"
}
< / script >
< link rel = "canonical" href = "https://alanorth.github.io/cgspace-notes/2023-05/" >
< title > May, 2023 | CGSpace Notes< / title >
<!-- combined, minified CSS -->
< link href = "https://alanorth.github.io/cgspace-notes/css/style.c6ba80bc50669557645abe05f86b73cc5af84408ed20f1551a267bc19ece8228.css" rel = "stylesheet" integrity = "sha256-xrqAvFBmlVdkWr4F+GtzzFr4RAjtIPFVGiZ7wZ7Ogig=" crossorigin = "anonymous" >
<!-- minified Font Awesome for SVG icons -->
< script defer src = "https://alanorth.github.io/cgspace-notes/js/fontawesome.min.f5072c55a0721857184db93a50561d7dc13975b4de2e19db7f81eb5f3fa57270.js" integrity = "sha256-9QcsVaByGFcYTbk6UFYdfcE5dbTeLhnbf4HrXz+lcnA=" crossorigin = "anonymous" > < / script >
<!-- RSS 2.0 feed -->
< / 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" dir = "auto" > < a href = "https://alanorth.github.io/cgspace-notes/" rel = "home" > CGSpace Notes< / a > < / h1 >
< p class = "lead blog-description" dir = "auto" > 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" dir = "auto" > < a href = "https://alanorth.github.io/cgspace-notes/2023-05/" > May, 2023< / a > < / h2 >
< p class = "blog-post-meta" >
< time datetime = "2023-05-03T08:53:36+03:00" > Wed May 03, 2023< / time >
in
< span class = "fas fa-folder" aria-hidden = "true" > < / span > < a href = "/categories/notes/" rel = "category tag" > Notes< / a >
< / p >
< / header >
< h2 id = "2023-05-03" > 2023-05-03< / h2 >
< ul >
< li > Alliance’ s TIP team emailed me to ask about issues authenticating on CGSpace
< ul >
< li > It seems their password expired, which is annoying< / li >
< / ul >
< / li >
< li > I continued looking at the CGSpace subjects for the FAO / AGROVOC exercise that I started last week
< ul >
< li > There are many of our subjects that would match if they added a “ -” like “ high yielding varieties” or used singular… < / li >
< li > Also I found at least two spelling mistakes, for example “ decison support systems” , which would match if it was spelled correctly< / li >
< / ul >
< / li >
< li > Work on cleaning, proofing, and uploading twenty-seven records for IFPRI to CGSpace< / li >
< / ul >
< ul >
< li > I notice there are a few dozen locks from the < code > dspaceWeb< / code > pool that are five days old on CGSpace so I killed them< / li >
< / ul >
< div class = "highlight" > < pre tabindex = "0" style = "color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;" > < code class = "language-console" data-lang = "console" > < span style = "display:flex;" > < span > $ psql < locks-age.sql | grep < span style = "color:#e6db74" > " days " < / span > | awk -F< span style = "color:#e6db74" > " |" < / span > < span style = "color:#e6db74" > ' {print $10}' < / span > | sort -u | xargs kill
2023-05-04 16:27:29 +02:00
< / span > < / span > < / code > < / pre > < / div > < h2 id = "2023-05-04" > 2023-05-04< / h2 >
< ul >
< li > Sync DSpace Test with CGSpace< / li >
< li > I replaced one item’ s thumbnail with a WebP version and XMLUI displays it fine< / li >
< li > I spent some time checking the CMYK issue with Arch’ s ImageMagick 7 and the Docker container and I think ImageMagick 7 just handles CMYK wrong…
< ul >
< li > libvips does it correctly automatically and looks closer to the PDF< / li >
< / ul >
< / li >
< li > Meeting about CG Core types< / li >
< / ul >
2023-05-12 07:33:20 +02:00
< h2 id = "2023-05-10" > 2023-05-10< / h2 >
< ul >
< li > Write a script to find the < code > metadata_field_id< / code > values associated with the non-AGROVOC subjects I am working on for Sara
< ul >
< li > This is useful because we want to know who to contact for a definition< / li >
< li > The script was:< / li >
< / ul >
< / li >
< / ul >
< div class = "highlight" > < pre tabindex = "0" style = "color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;" > < code class = "language-bash" data-lang = "bash" > < span style = "display:flex;" > < span > < span style = "color:#66d9ef" > while< / span > read -r subject; < span style = "color:#66d9ef" > do< / span >
< / span > < / span > < span style = "display:flex;" > < span > metadata_field_id< span style = "color:#f92672" > =< / span > < span style = "color:#66d9ef" > $(< / span > psql -h localhost -U postgres -d dspacetest -qtAX < span style = "color:#e6db74" > < < SQL
< / span > < / span > < / span > < span style = "display:flex;" > < span > < span style = "color:#e6db74" > SELECT DISTINCT(metadata_field_id) FROM metadatavalue WHERE LOWER(text_value)=' $subject'
< / span > < / span > < / span > < span style = "display:flex;" > < span > < span style = "color:#e6db74" > SQL< / span >
< / span > < / span > < span style = "display:flex;" > < span > < span style = "color:#66d9ef" > )< / span >
< / span > < / span > < span style = "display:flex;" > < span > metadata_field_id< span style = "color:#f92672" > =< / span > < span style = "color:#66d9ef" > $(< / span > echo $metadata_field_id | sed < span style = "color:#e6db74" > ' s/[[:space:]]/||/g' < / span > < span style = "color:#66d9ef" > )< / span >
< / span > < / span > < span style = "display:flex;" > < span >
< / span > < / span > < span style = "display:flex;" > < span > echo < span style = "color:#e6db74" > " < / span > $subject< span style = "color:#e6db74" > ,< / span > $metadata_field_id< span style = "color:#e6db74" > " < / span >
< / span > < / span > < span style = "display:flex;" > < span > < span style = "color:#66d9ef" > done< / span > < < < span style = "color:#f92672" > (< / span > csvcut -c < span style = "color:#ae81ff" > 1< / span > ~/Downloads/2023-04-26< span style = "color:#ae81ff" > \ < / span > CGIAR< span style = "color:#ae81ff" > \ < / span > non-AGROVOC< span style = "color:#ae81ff" > \ < / span > subjects.csv | sed 1d< span style = "color:#f92672" > )< / span >
< / span > < / span > < / code > < / pre > < / div > < ul >
< li > I also realized that Bernard Bett didn’ t have any items on CGSpace tagged with his ORCID identifier, so I tagged 230!< / li >
< / ul >
< h2 id = "2023-05-11" > 2023-05-11< / h2 >
< ul >
< li > CG Core meeting< / li >
< li > Finalize looking at the CGSpace non-AGROVOC subjects for FAO< / li >
< / ul >
2023-05-04 16:27:29 +02:00
<!-- raw HTML omitted -->
2023-05-03 16:10:37 +02:00
< / article >
< / div > <!-- /.blog - main -->
< aside class = "col-sm-3 ml-auto blog-sidebar" >
< section class = "sidebar-module" >
< h4 > Recent Posts< / h4 >
< ol class = "list-unstyled" >
< li > < a href = "/cgspace-notes/2023-05/" > May, 2023< / a > < / li >
< li > < a href = "/cgspace-notes/2023-04/" > April, 2023< / a > < / li >
< li > < a href = "/cgspace-notes/2023-03/" > March, 2023< / a > < / li >
< li > < a href = "/cgspace-notes/2023-02/" > February, 2023< / a > < / li >
< li > < a href = "/cgspace-notes/2023-01/" > January, 2023< / 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 dir = "auto" >
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 >