Regenerate public

This commit is contained in:
2016-09-21 15:24:28 +03:00
parent a0ef6b607f
commit 93e70900b5
65 changed files with 5465 additions and 2956 deletions

View File

@ -1,83 +1,87 @@
<!DOCTYPE html>
<html lang="en-us">
<head prefix="og: http://ogp.me/ns#">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1" />
<meta property="og:title" content=" September, 2016 &middot; CGSpace Notes" />
<meta property="og:site_name" content="CGSpace Notes" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2016-09/" />
<meta property="og:type" content="article" />
<meta property="og:article:published_time" content="2016-09-01T15:53:00&#43;03:00" />
<meta property="og:article:tag" content="notes" />
<html lang="en">
<title>
September, 2016 &middot; CGSpace Notes
</title>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="Alan Orth">
<!-- OpenGraph Metadata: http://ogp.me/ -->
<meta property="og:title" content="September, 2016">
<meta property="og:description" content="">
<meta property="og:type" content="article">
<meta property="article:published_time" content="2016-09-01T15:53:00&#43;03:00">
<meta property="article:author" content="Alan Orth">
<meta property="og:image" content="https://alanorth.github.io/images/bg.jpg">
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2016-09/">
<!-- Metadata for Twitter: https://dev.twitter.com/cards/markup -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:image" content="https://alanorth.github.io/images/bg.jpg">
<meta property="twitter:title" content="September, 2016">
<meta property="twitter:description" content="">
<meta name="generator" content="Hugo 0.16" />
<base href="https://alanorth.github.io/cgspace-notes/">
<link rel="canonical" href="https://alanorth.github.io/cgspace-notes/2016-09/">
<title>September, 2016 | CGSpace Notes</title>
<!-- combined, minified CSS -->
<link href="https://alanorth.github.io/cgspace-notes/css/style.css" rel="stylesheet">
<!-- RSS 2.0 feed of posts -->
<link href="https://alanorth.github.io/cgspace-notes/post/index.xml" type="application/rss+xml" rel="alternate">
</head>
<link rel="stylesheet" href="https://alanorth.github.io/cgspace-notes/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://alanorth.github.io/cgspace-notes/css/main.css" />
<link rel="stylesheet" href="https://alanorth.github.io/cgspace-notes/css/font-awesome.min.css" />
<link rel="stylesheet" href="https://alanorth.github.io/cgspace-notes/css/github.css" />
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400" type="text/css">
<link rel="shortcut icon" href="https://alanorth.github.io/cgspace-notes/images/favicon.ico" />
<link rel="apple-touch-icon" href="https://alanorth.github.io/cgspace-notes/images/apple-touch-icon.png" />
</head>
<body>
<header class="global-header" style="background-image:url(../images/bg.jpg )">
<section class="header-text">
<h1><a href="https://alanorth.github.io/cgspace-notes/">CGSpace Notes</a></h1>
<div class="sns-links hidden-print">
</div>
<a href="https://alanorth.github.io/cgspace-notes/" class="btn-header btn-back hidden-xs">
<i class="fa fa-angle-left" aria-hidden="true"></i>
&nbsp;Home
</a>
</section>
</header>
<main class="container">
<article>
<header>
<h1 class="text-primary">September, 2016</h1>
<div class="post-meta clearfix">
<div class="post-date pull-left">
Posted on
<time datetime="2016-09-01T15:53:00&#43;03:00">
Sep 1, 2016
</time>
</div>
<div class="pull-right">
<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>
<span class="post-tag small"><a href="https://alanorth.github.io/cgspace-notes//tags/notes">#notes</a></span>
</div>
</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>
</div>
</header>
<section>
<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/2016-09/" title="September, 2016">September, 2016</a></h2>
<p class="blog-post-meta"><time datetime="2016-09-01T15:53:00&#43;03:00">Thu Sep 01, 2016</time> by <a href="#">Alan Orth</a></p>
</header>
<h2 id="2016-09-01">2016-09-01</h2>
@ -103,7 +107,7 @@ distinguishedName: CN=Last\, First (ILRI),OU=ILRI Ethiopia Employees,OU=ILRI Eth
<li>Changing the DSpace LDAP config to use <code>OU=ILRIHUB</code> seems to work:</li>
</ul>
<p><img src="../images/2016/09/ilri-ldap-users.png" alt="DSpace groups based on LDAP DN" /></p>
<p><img src="2016/09/ilri-ldap-users.png" alt="DSpace groups based on LDAP DN" /></p>
<ul>
<li>Notes for local PostgreSQL database recreation from production snapshot:</li>
@ -450,9 +454,9 @@ java.util.Map does not have a no-arg default constructor.
<li>Perhaps these particular issues <em>are</em> memory issues, the munin graphs definitely show some weird purging/allocating behavior starting this week</li>
</ul>
<p><img src="../images/2016/09/tomcat_jvm-day.png" alt="Tomcat JVM usage day" />
<img src="../images/2016/09/tomcat_jvm-week.png" alt="Tomcat JVM usage week" />
<img src="../images/2016/09/tomcat_jvm-month.png" alt="Tomcat JVM usage month" /></p>
<p><img src="2016/09/tomcat_jvm-day.png" alt="Tomcat JVM usage day" />
<img src="2016/09/tomcat_jvm-week.png" alt="Tomcat JVM usage week" />
<img src="2016/09/tomcat_jvm-month.png" alt="Tomcat JVM usage month" /></p>
<ul>
<li>And really, we did reduce the memory of CGSpace in late 2015, so maybe we should just increase it again, now that our usage is higher and we are having memory errors in the logs</li>
@ -474,7 +478,7 @@ java.util.Map does not have a no-arg default constructor.
<li>Looking at Google Webmaster Tools again, it seems the work I did on URL query parameters and blocking via the <code>X-Robots-Tag</code> HTTP header in March, 2016 seem to have had a positive effect on Google&rsquo;s index for CGSpace</li>
</ul>
<p><img src="../images/2016/09/google-webmaster-tools-index.png" alt="Google Webmaster Tools for CGSpace" /></p>
<p><img src="2016/09/google-webmaster-tools-index.png" alt="Google Webmaster Tools for CGSpace" /></p>
<h2 id="2016-09-16">2016-09-16</h2>
@ -541,59 +545,92 @@ $ ./delete-metadata-values.py -f cg.contributor.affiliation -i affiliations_pb-2
<li>Run all system updates on DSpace Test and reboot the server</li>
<li>Merge changes for sponsorship and affiliation controlled vocabularies (<a href="https://github.com/ilri/DSpace/pull/267">#267</a>, <a href="https://github.com/ilri/DSpace/pull/268">#268</a>)</li>
<li>Merge minor changes to <code>messages.xml</code> to reconcile it with the stock DSpace 5.1 one (<a href="https://github.com/ilri/DSpace/pull/269">#269</a>)</li>
<li>Peter asked about adding title search to Discovery</li>
<li>The index was already defined, so I just added it to the search filters</li>
<li>It works but CGSpace apparently uses <code>OR</code> for search terms, which makes the search results basically useless</li>
<li>I need to read the docs and ask on the mailing list to see if we can tweak that</li>
<li>Generate a new list of sponsors from the database for Peter Ballantyne so we can clean them up and update the controlled vocabulary</li>
</ul>
<h2 id="2016-09-21">2016-09-21</h2>
<ul>
<li>Turns out the Solr search logic switched from OR to AND in DSpace 6.0 and the change is easy to backport: <a href="https://jira.duraspace.org/browse/DS-2809">https://jira.duraspace.org/browse/DS-2809</a></li>
<li>We just need to set this in <code>dspace/solr/search/conf/schema.xml</code>:</li>
</ul>
<pre><code>&lt;solrQueryParser defaultOperator=&quot;AND&quot;/&gt;
</code></pre>
<ul>
<li>Found a way to improve the configuration of Atmire&rsquo;s Content and Usage Analysis (CUA) module for date fields</li>
</ul>
<pre><code>-content.analysis.dataset.option.8=metadata:dateAccessioned:discovery
+content.analysis.dataset.option.8=metadata:dc.date.accessioned:date(month)
</code></pre>
<ul>
<li>This allows the module to treat the field as a date rather than a text string, so we can interrogate it more intelligently</li>
</ul>
</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/2016-09/">September, 2016</a></li>
<li><a href="/cgspace-notes/2016-08/">August, 2016</a></li>
<li><a href="/cgspace-notes/2016-07/">July, 2016</a></li>
<li><a href="/cgspace-notes/2016-06/">June, 2016</a></li>
<li><a href="/cgspace-notes/2016-05/">May, 2016</a></li>
</ol>
</section>
<footer>
<section class="author-info row">
<div class="author-avatar col-md-2">
</div>
<div class="author-meta col-md-6">
<h1 class="author-name text-primary">Alan Orth</h1>
</div>
</section>
<ul class="pager">
<li class="previous"><a href="https://alanorth.github.io/cgspace-notes/2016-08/"><span aria-hidden="true">&larr;</span> Older</a></li>
<li class="next disabled"><a href="#">Newer <span aria-hidden="true">&rarr;</span></a></li>
</ul>
</footer>
</article>
</main>
<footer class="container global-footer">
<div class="copyright-note pull-left">
<section class="sidebar-module">
<h4>Links</h4>
<ol class="list-unstyled">
</div>
<div class="sns-links hidden-print">
<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>
</div>
</aside>
</div> <!-- /.row -->
</div> <!-- /.container -->
<footer class="blog-footer">
<p>
Blog template built by <a href='https://twitter.com/mralanorth'>@mralanorth</a>.
</p>
</footer>
<script src="https://alanorth.github.io/cgspace-notes/js/highlight.pack.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
</body>
</html>
</html>