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
$ 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
+
+
+dspace cleanup
script