cgspace-notes/docs/index.html

415 lines
12 KiB
HTML
Raw Permalink Normal View History

2023-07-04 07:03:36 +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="CGSpace Notes" />
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
2024-12-04 14:27:49 +01:00
<meta property="og:updated_time" content="2024-12-04T10:19:00+03:00" />
2023-07-04 07:03:36 +02:00
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="CGSpace Notes"/>
<meta name="twitter:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."/>
2024-08-28 10:35:05 +02:00
<meta name="generator" content="Hugo 0.133.1">
2023-07-04 07:03:36 +02:00
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Blog",
"headline": "CGSpace Notes",
"url" : "https://alanorth.github.io/cgspace-notes/",
"author": {
"@type": "Person",
"name": "Alan Orth"
},
2024-12-04 14:27:49 +01:00
"dateModified": "2024-12-04T10:19:00+03:00",
2023-07-04 07:03:36 +02:00
"keywords": "notes, migration, notes",
"description":"Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository."
}
</script>
<link rel="canonical" href="https://alanorth.github.io/cgspace-notes/">
<title>CGSpace Notes</title>
<!-- combined, minified CSS -->
<link href="https://alanorth.github.io/cgspace-notes/css/style.c6ba80bc50669557645abe05f86b73cc5af84408ed20f1551a267bc19ece8228.css" rel="stylesheet" integrity="sha256-xrqAvFBmlVdkWr4F&#43;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&#43;lcnA=" crossorigin="anonymous"></script>
<!-- RSS 2.0 feed -->
<link rel="alternate" type="application/rss+xml" href="https://alanorth.github.io/cgspace-notes/index.xml" title="CGSpace Notes" />
</head>
<body>
<div class="blog-masthead">
<div class="container">
<nav class="nav blog-nav">
<a class="nav-link active" 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">
2024-12-04 14:27:49 +01:00
<article class="blog-post">
<header>
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2024-12/">December, 2024</a></h2>
<p class="blog-post-meta"><time datetime="2024-12-04T10:19:00+03:00">Wed Dec 04, 2024</time> by Alan Orth in
<span class="fas fa-folder" aria-hidden="true"></span>&nbsp;<a href="/categories/notes/" rel="category tag">Notes</a>
</p>
</header>
<h2 id="2024-12-04">2024-12-04</h2>
<ul>
<li>We need to get view and download statistics for the last year from CGSpace
<ul>
<li>The only way to get that is using Solr</li>
</ul>
</li>
</ul>
<a href='https://alanorth.github.io/cgspace-notes/2024-12/'>Read more →</a>
</article>
2024-11-19 08:40:23 +01:00
<article class="blog-post">
<header>
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2024-11/">November, 2024</a></h2>
<p class="blog-post-meta"><time datetime="2024-11-11T09:47:00+03:00">Mon Nov 11, 2024</time> by Alan Orth in
<span class="fas fa-folder" aria-hidden="true"></span>&nbsp;<a href="/categories/notes/" rel="category tag">Notes</a>
</p>
</header>
<h2 id="2024-11-11">2024-11-11</h2>
<ul>
<li>Some IP in India is making tons of requests this morning with a normal user agent:</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># awk <span style="color:#e6db74">&#39;{print $1}&#39;</span> /var/log/nginx/api-access.log | sort | uniq -c | sort -h | tail -n <span style="color:#ae81ff">40</span>
</span></span><span style="display:flex;"><span>...
</span></span><span style="display:flex;"><span>513743 49.207.196.249
</span></span></code></pre></div>
<a href='https://alanorth.github.io/cgspace-notes/2024-11/'>Read more →</a>
</article>
2024-10-03 10:51:44 +02:00
<article class="blog-post">
<header>
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2024-10/">October, 2024</a></h2>
<p class="blog-post-meta"><time datetime="2024-10-03T11:01:00+03:00">Thu Oct 03, 2024</time> by Alan Orth in
<span class="fas fa-folder" aria-hidden="true"></span>&nbsp;<a href="/categories/notes/" rel="category tag">Notes</a>
</p>
</header>
<h2 id="2024-10-03">2024-10-03</h2>
<ul>
<li>I had an idea to get abstracts from OpenAlex
<ul>
<li>For <a href="https://docs.openalex.org/api-entities/works/work-object#abstract_inverted_index">copyright reasons they don&rsquo;t include plain abstracts</a>, but the <a href="https://github.com/J535D165/pyalex">pyalex</a> library can convert them on the fly</li>
</ul>
</li>
</ul>
<a href='https://alanorth.github.io/cgspace-notes/2024-10/'>Read more →</a>
</article>
2024-09-09 09:20:09 +02:00
<article class="blog-post">
<header>
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2024-09/">September, 2024</a></h2>
<p class="blog-post-meta"><time datetime="2024-09-01T21:16:00-07:00">Sun Sep 01, 2024</time> by Alan Orth in
<span class="fas fa-folder" aria-hidden="true"></span>&nbsp;<a href="/categories/notes/" rel="category tag">Notes</a>
</p>
</header>
<h2 id="2024-09-01">2024-09-01</h2>
<ul>
<li>Upgrade CGSpace to DSpace 7.6.2</li>
</ul>
<a href='https://alanorth.github.io/cgspace-notes/2024-09/'>Read more →</a>
</article>
2024-08-28 10:35:05 +02:00
<article class="blog-post">
<header>
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2024-08/">August, 2024</a></h2>
<p class="blog-post-meta"><time datetime="2024-08-08T23:07:00-07:00">Thu Aug 08, 2024</time> by Alan Orth in
<span class="fas fa-folder" aria-hidden="true"></span>&nbsp;<a href="/categories/notes/" rel="category tag">Notes</a>
</p>
</header>
<h2 id="2024-08-08">2024-08-08</h2>
<ul>
<li>While working on the CGIAR Climate Change Synthesis I learned some new tricks with OpenRefine</li>
</ul>
<a href='https://alanorth.github.io/cgspace-notes/2024-08/'>Read more →</a>
</article>
2024-07-02 10:12:03 +02:00
<article class="blog-post">
<header>
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2024-07/">July, 2024</a></h2>
<p class="blog-post-meta"><time datetime="2024-07-01T09:37:00+03:00">Mon Jul 01, 2024</time> by Alan Orth in
<span class="fas fa-folder" aria-hidden="true"></span>&nbsp;<a href="/categories/notes/" rel="category tag">Notes</a>
</p>
</header>
<h2 id="2024-07-01">2024-07-01</h2>
<ul>
<li>A bit of work to clean up duplicate DOIs on CGSpace
<ul>
<li>A handful of book chapters, working papers, and journal articles using the wrong DOI</li>
</ul>
</li>
<li>I tried to delete all users who have been inactive since six years ago (July 1, 2018):</li>
</ul>
<a href='https://alanorth.github.io/cgspace-notes/2024-07/'>Read more →</a>
</article>
2024-06-03 16:31:03 +02:00
<article class="blog-post">
<header>
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2024-06/">June, 2024</a></h2>
<p class="blog-post-meta"><time datetime="2024-06-03T14:14:00+03:00">Mon Jun 03, 2024</time> by Alan Orth in
<span class="fas fa-folder" aria-hidden="true"></span>&nbsp;<a href="/categories/notes/" rel="category tag">Notes</a>
</p>
</header>
<h2 id="2024-06-03">2024-06-03</h2>
<ul>
<li>Working on IFPRI datasets
<ul>
<li>I noticed the licenses were missing from Nilam&rsquo;s original file so I found a way to check <a href="https://guides.dataverse.org/en/latest/api/native-api.html#export-metadata-of-a-dataset-in-various-formats">Dataverse&rsquo;s API for a persistent identifier</a></li>
<li>We have both Handles and DOIs for these datasets, both from Harvard&rsquo;s Dataverse</li>
</ul>
</li>
</ul>
<a href='https://alanorth.github.io/cgspace-notes/2024-06/'>Read more →</a>
</article>
2024-05-01 16:10:05 +02:00
<article class="blog-post">
<header>
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2024-05/">May, 2024</a></h2>
<p class="blog-post-meta"><time datetime="2024-05-01T10:39:00+03:00">Wed May 01, 2024</time> by Alan Orth in
<span class="fas fa-folder" aria-hidden="true"></span>&nbsp;<a href="/categories/notes/" rel="category tag">Notes</a>
</p>
</header>
<h2 id="2024-05-01">2024-05-01</h2>
<ul>
<li>I dumped all the CGSpace DOIs and resolved them with my <code>crossref_doi_lookup.py</code> script
<ul>
<li>Then I did some work to add missing abstracts (about 900!), volumes, issues, licenses, publishers, and types, etc</li>
</ul>
</li>
</ul>
<a href='https://alanorth.github.io/cgspace-notes/2024-05/'>Read more →</a>
</article>
2024-04-04 09:23:49 +02:00
<article class="blog-post">
<header>
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2024-04/">April, 2024</a></h2>
<p class="blog-post-meta"><time datetime="2024-04-04T10:23:00+03:00">Thu Apr 04, 2024</time> by Alan Orth in
<span class="fas fa-folder" aria-hidden="true"></span>&nbsp;<a href="/categories/notes/" rel="category tag">Notes</a>
</p>
</header>
<h2 id="2024-04-04">2024-04-04</h2>
<ul>
2024-04-09 15:50:56 +02:00
<li>Work on CGSpace duplicate DOIs more</li>
2024-04-04 09:23:49 +02:00
</ul>
<a href='https://alanorth.github.io/cgspace-notes/2024-04/'>Read more →</a>
</article>
2024-02-06 09:45:02 +01:00
<article class="blog-post">
<header>
2024-03-04 08:02:14 +01:00
<h2 class="blog-post-title" dir="auto"><a href="https://alanorth.github.io/cgspace-notes/2024-03/">March, 2024</a></h2>
<p class="blog-post-meta"><time datetime="2024-03-01T09:55:00+03:00">Fri Mar 01, 2024</time> by Alan Orth in
<span class="fas fa-folder" aria-hidden="true"></span>&nbsp;<a href="/categories/notes/" rel="category tag">Notes</a>
</p>
</header>
<h2 id="2024-03-01">2024-03-01</h2>
<ul>
<li>Last week Bizu reported an issue with the &ldquo;browse by issue date&rdquo; drop down
<ul>
<li>I verified it, and suspect it could be due to missing issue dates&hellip;</li>
<li>It might be this issue: <a href="https://github.com/DSpace/dspace-angular/issues/2808">https://github.com/DSpace/dspace-angular/issues/2808</a></li>
</ul>
</li>
</ul>
<a href='https://alanorth.github.io/cgspace-notes/2024-03/'>Read more →</a>
</article>
2023-07-04 07:03:36 +02:00
<nav class="blog-pagination">
<a class="btn btn-outline-primary disabled" href="#" role="button" aria-disabled="true">Previous page</a>
<a class="btn btn-outline-primary" href="/cgspace-notes/page/2/" rel="next" role="button">Next page</a>
</nav>
</div> <!-- /.blog-main -->
<aside class="col-sm-3 ml-auto blog-sidebar">
<section class="sidebar-module">
<h4>Recent Posts</h4>
<ol class="list-unstyled">
2024-12-04 14:27:49 +01:00
<li><a href="/cgspace-notes/2024-12/">December, 2024</a></li>
2024-11-19 08:40:23 +01:00
<li><a href="/cgspace-notes/2024-11/">November, 2024</a></li>
2024-10-03 10:51:44 +02:00
<li><a href="/cgspace-notes/2024-10/">October, 2024</a></li>
2024-09-09 09:20:09 +02:00
<li><a href="/cgspace-notes/2024-09/">September, 2024</a></li>
2024-08-28 10:35:05 +02:00
<li><a href="/cgspace-notes/2024-08/">August, 2024</a></li>
2023-07-04 07:03:36 +02:00
</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>