mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-22 06:35:03 +01:00
Add notes for 2022-12-12
This commit is contained in:
parent
1bafe6ce71
commit
9c1e60426a
@ -123,5 +123,36 @@ $ wc -l /tmp/2022-12-08-orcids.txt
|
||||
- I had a hunch it was related to me updating the `last_modified` timestamp after updating a bunch of countries, regions, etc in items
|
||||
- Then today I noticed this option in `dspace.cfg`: `eperson.subscription.onlynew`
|
||||
- By default DSpace sends notifications for modified items too! I've disabled it now...
|
||||
- I applied 498 fixes and two deletions to affiliations sent by Peter
|
||||
- I applied 206 fixes and eighty-one deletions to donors sent by Peter
|
||||
- I tried to figure out how to authenticate to the DSpace 7 REST API
|
||||
- First [you need a CSRF token](https://github.com/DSpace/RestContract/blob/main/csrf-tokens.md), before you can even try to authenticate
|
||||
- Then you can authenticate, but I can't get it to work:
|
||||
|
||||
```console
|
||||
$ curl -v https://dspace7test.ilri.org/server/api
|
||||
...
|
||||
dspace-xsrf-token: 0b7861fb-9c8a-4eea-be70-b3be3bd0a0b4
|
||||
...
|
||||
$ curl -v -X POST --data "user=aorth@omg.com&password=myPassword" "https://dspace7test.ilri.org/server/authn/login" -H "X-XSRF-TOKEN: 0b7861fb-9c8a-4eea-be70-b3be3bd0a0b4"
|
||||
```
|
||||
|
||||
- Start a harvest on AReS
|
||||
|
||||
## 2022-12-09
|
||||
|
||||
- I found a way to check the owner of a Handle prefix
|
||||
- You query the admin Handle for the prefix, ie: https://hdl.handle.net/0.na/10568
|
||||
|
||||
## 2022-12-11
|
||||
|
||||
- I got LDAP authentication working on DSpace 7
|
||||
|
||||
## 2022-12-12
|
||||
|
||||
- Submit some issues to MEL GitHub:
|
||||
- [Links to https://mel.cgiar.org/dspace/limited for Limited Access items on CGSpace](https://github.com/CodeObia/MEL/issues/11081)
|
||||
- [Items submitted to CGSpace without Initiative](https://github.com/CodeObia/MEL/issues/11083)
|
||||
- PRMS planning meeting before tomorrow's meeting with researchers and submitters
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
@ -20,7 +20,7 @@ Replace “East Asia” with “Eastern Asia” region on CGSpac
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2022-12/" />
|
||||
<meta property="article:published_time" content="2022-12-01T08:52:36+03:00" />
|
||||
<meta property="article:modified_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="article:modified_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
@ -46,9 +46,9 @@ Replace “East Asia” with “Eastern Asia” region on CGSpac
|
||||
"@type": "BlogPosting",
|
||||
"headline": "December, 2022",
|
||||
"url": "https://alanorth.github.io/cgspace-notes/2022-12/",
|
||||
"wordCount": "843",
|
||||
"wordCount": "993",
|
||||
"datePublished": "2022-12-01T08:52:36+03:00",
|
||||
"dateModified": "2022-12-07T22:59:37+01:00",
|
||||
"dateModified": "2022-12-08T18:59:57+02:00",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "Alan Orth"
|
||||
@ -247,6 +247,44 @@ Replace “East Asia” with “Eastern Asia” region on CGSpac
|
||||
<li>By default DSpace sends notifications for modified items too! I’ve disabled it now…</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>I applied 498 fixes and two deletions to affiliations sent by Peter</li>
|
||||
<li>I applied 206 fixes and eighty-one deletions to donors sent by Peter</li>
|
||||
<li>I tried to figure out how to authenticate to the DSpace 7 REST API
|
||||
<ul>
|
||||
<li>First <a href="https://github.com/DSpace/RestContract/blob/main/csrf-tokens.md">you need a CSRF token</a>, before you can even try to authenticate</li>
|
||||
<li>Then you can authenticate, but I can’t get it to work:</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-console" data-lang="console"><span style="display:flex;"><span>$ curl -v https://dspace7test.ilri.org/server/api
|
||||
</span></span><span style="display:flex;"><span>...
|
||||
</span></span><span style="display:flex;"><span>dspace-xsrf-token: 0b7861fb-9c8a-4eea-be70-b3be3bd0a0b4
|
||||
</span></span><span style="display:flex;"><span>...
|
||||
</span></span><span style="display:flex;"><span>$ curl -v -X POST --data <span style="color:#e6db74">"user=aorth@omg.com&password=myPassword"</span> <span style="color:#e6db74">"https://dspace7test.ilri.org/server/authn/login"</span> -H <span style="color:#e6db74">"X-XSRF-TOKEN: 0b7861fb-9c8a-4eea-be70-b3be3bd0a0b4"</span>
|
||||
</span></span></code></pre></div><ul>
|
||||
<li>Start a harvest on AReS</li>
|
||||
</ul>
|
||||
<h2 id="2022-12-09">2022-12-09</h2>
|
||||
<ul>
|
||||
<li>I found a way to check the owner of a Handle prefix
|
||||
<ul>
|
||||
<li>You query the admin Handle for the prefix, ie: <a href="https://hdl.handle.net/0.na/10568">https://hdl.handle.net/0.na/10568</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h2 id="2022-12-11">2022-12-11</h2>
|
||||
<ul>
|
||||
<li>I got LDAP authentication working on DSpace 7</li>
|
||||
</ul>
|
||||
<h2 id="2022-12-12">2022-12-12</h2>
|
||||
<ul>
|
||||
<li>Submit some issues to MEL GitHub:
|
||||
<ul>
|
||||
<li><a href="https://github.com/CodeObia/MEL/issues/11081">Links to https://mel.cgiar.org/dspace/limited for Limited Access items on CGSpace</a></li>
|
||||
<li><a href="https://github.com/CodeObia/MEL/issues/11083">Items submitted to CGSpace without Initiative</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>PRMS planning meeting before tomorrow’s meeting with researchers and submitters</li>
|
||||
</ul>
|
||||
<!-- raw HTML omitted -->
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/categories/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/categories/notes/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/categories/notes/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/categories/notes/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/categories/notes/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/categories/notes/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/categories/notes/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/categories/notes/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/posts/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/posts/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/posts/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/posts/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/posts/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/posts/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/posts/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/posts/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<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/posts/" />
|
||||
<meta property="og:updated_time" content="2022-12-07T22:59:37+01:00" />
|
||||
<meta property="og:updated_time" content="2022-12-08T18:59:57+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -3,19 +3,19 @@
|
||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/categories/</loc>
|
||||
<lastmod>2022-12-07T22:59:37+01:00</lastmod>
|
||||
<lastmod>2022-12-08T18:59:57+02:00</lastmod>
|
||||
</url><url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
||||
<lastmod>2022-12-07T22:59:37+01:00</lastmod>
|
||||
<lastmod>2022-12-08T18:59:57+02:00</lastmod>
|
||||
</url><url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/2022-12/</loc>
|
||||
<lastmod>2022-12-07T22:59:37+01:00</lastmod>
|
||||
<lastmod>2022-12-08T18:59:57+02:00</lastmod>
|
||||
</url><url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc>
|
||||
<lastmod>2022-12-07T22:59:37+01:00</lastmod>
|
||||
<lastmod>2022-12-08T18:59:57+02:00</lastmod>
|
||||
</url><url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
||||
<lastmod>2022-12-07T22:59:37+01:00</lastmod>
|
||||
<lastmod>2022-12-08T18:59:57+02:00</lastmod>
|
||||
</url><url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/2022-11/</loc>
|
||||
<lastmod>2022-12-03T10:46:29+03:00</lastmod>
|
||||
|
Loading…
Reference in New Issue
Block a user