From 380fb4d01cc8c2317dc5e7cb48011421e5e32494 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 3 Mar 2019 08:42:24 +0200 Subject: [PATCH] Update notes for 2019-03-03 --- content/posts/2019-03.md | 22 ++++++++++++++++++++++ docs/2019-03/index.html | 35 ++++++++++++++++++++++++++++++++--- docs/sitemap.xml | 10 +++++----- 3 files changed, 59 insertions(+), 8 deletions(-) diff --git a/content/posts/2019-03.md b/content/posts/2019-03.md index a0d2c6d2c..9760212a9 100644 --- a/content/posts/2019-03.md +++ b/content/posts/2019-03.md @@ -19,4 +19,26 @@ tags: ["Notes"] +## 2019-03-03 + +- Trying to finally upload IITA's 259 Feb 14 items to CGSpace so I exported them from DSpace Test: + +``` +$ mkdir 2019-03-03-IITA-Feb14 +$ dspace export -i 10568/108684 -t COLLECTION -m -n 0 -d 2019-03-03-IITA-Feb14 +``` + +- As I was inspecting the archive I noticed that there were some problems with the bitsreams: + - First, Sisay didn't include the bitstream descriptions + - Second, only five items had bitstreams and I remember in the discussion with IITA that there should have been nine! + - I had to refer to the original CSV from January to find the file names, then download and add them to the export contents manually! +- After adding the missing bitstreams and descriptions manually I tested them again locally, then imported them to a temporary collection on CGSpace: + +``` +$ dspace import -a -c 10568/99832 -e aorth@stfu.com -m 2019-03-03-IITA-Feb14.map -s /tmp/2019-03-03-IITA-Feb14 +``` + +- DSpace's export function doesn't include the collections for some reason, so you need to import them somewhere first, then export the collection metadata and re-map the items to proper owning collections based on their types using OpenRefine or something +- After re-importing to CGSpace to apply the mappings, I deleted the collection on DSpace Test and ran the `dspace cleanup` script + diff --git a/docs/2019-03/index.html b/docs/2019-03/index.html index 8b94b1c7e..194be19c4 100644 --- a/docs/2019-03/index.html +++ b/docs/2019-03/index.html @@ -25,7 +25,7 @@ I think I will need to ask Udana to re-copy and paste the abstracts with more ca - + @@ -55,9 +55,9 @@ I think I will need to ask Udana to re-copy and paste the abstracts with more ca "@type": "BlogPosting", "headline": "March, 2019", "url": "https://alanorth.github.io/cgspace-notes/2019-03/", - "wordCount": "168", + "wordCount": "364", "datePublished": "2019-03-01T12:16:30+01:00", - "dateModified": "2019-03-01T12:52:14+01:00", + "dateModified": "2019-03-01T14:42:37+01:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -142,6 +142,35 @@ I think I will need to ask Udana to re-copy and paste the abstracts with more ca
  • I think I will need to ask Udana to re-copy and paste the abstracts with more care using Google Docs
  • +

    2019-03-03

    + + + +
    $ mkdir 2019-03-03-IITA-Feb14
    +$ dspace export -i 10568/108684 -t COLLECTION -m -n 0 -d 2019-03-03-IITA-Feb14
    +
    + + + +
    $ dspace import -a -c 10568/99832 -e aorth@stfu.com -m 2019-03-03-IITA-Feb14.map -s /tmp/2019-03-03-IITA-Feb14
    +
    + + + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index e7ac064fa..a134ca5c6 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2019-03/ - 2019-03-01T12:52:14+01:00 + 2019-03-01T14:42:37+01:00 @@ -214,7 +214,7 @@ https://alanorth.github.io/cgspace-notes/ - 2019-03-01T12:52:14+01:00 + 2019-03-01T14:42:37+01:00 0 @@ -225,7 +225,7 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2019-03-01T12:52:14+01:00 + 2019-03-01T14:42:37+01:00 0 @@ -237,13 +237,13 @@ https://alanorth.github.io/cgspace-notes/posts/ - 2019-03-01T12:52:14+01:00 + 2019-03-01T14:42:37+01:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2019-03-01T12:52:14+01:00 + 2019-03-01T14:42:37+01:00 0