diff --git a/content/post/2017-06.md b/content/post/2017-06.md
index 0e8e69d38..d52d30ae8 100644
--- a/content/post/2017-06.md
+++ b/content/post/2017-06.md
@@ -1,5 +1,5 @@
+++
-date = "2017-05-01T10:14:52+03:00"
+date = "2017-06-01T10:14:52+03:00"
author = "Alan Orth"
title = "June, 2017"
tags = ["Notes"]
@@ -23,3 +23,21 @@ tags = ["Notes"]
- Run all system updates on DSpace Test and reboot the server
- After rebooting the server (and therefore restarting Tomcat) the new metadata field is available
- I've sent a message to the dspace-tech mailing list to ask if this is a bug and whether I should file a Jira ticket
+
+## 2016-06-05
+
+- Rename WLE's "Research Themes" sub-community to "WLE Phase I Research Themes" on DSpace Test so Macaroni Bros can continue their testing
+- Macaroni Bros tested it and said it's fine, so I renamed it on CGSpace as well
+- Working on how to automate the extraction of the CIAT Book chapters, doing some magic in OpenRefine to extract page from–to from cg.identifier.url and dc.format.extent, respectively:
+ - cg.identifier.url: `value.split("page=", "")[1]`
+ - dc.format.extent: `value.replace("p. ", "").split("-")[1].toNumber() - value.replace("p. ", "").split("-")[0].toNumber()`
+- Finally, after some filtering to see which small outliers there were (based on dc.format.extent using "p. 1-14" vs "29 p."), create a new column with last page number:
+ - `cells["dc.page.from"].value.toNumber() + cells["dc.format.pages"].value.toNumber()`
+- Then create a new, unique file name to be used in the output, based on a SHA1 of the dc.title and with a description:
+ - dc.page.to: `value.split(" ")[0].replace(",","").toLowercase() + "-" + sha1(value).get(1,9) + ".pdf__description:" + cells["dc.type"].value`
+- Start processing 769 records after filtering the following (there are another 159 records that have some other format, or for example they have their own PDF which I will process later), using a modified `generate-thumbnails.py` script to read certain fields and then pass to GhostScript:
+ - cg.identifier.url: `value.contains("page=")`
+ - dc.format.extent: `or(value.contains("p. "),value.contains(" p."))`
+ - Command like: `$ gs -dNOPAUSE -dBATCH -dFirstPage=14 -dLastPage=27 -sDEVICE=pdfwrite -sOutputFile=beans.pdf -f 12605-1.pdf`
+- 17 of the items have issues with incorrect page number ranges, and upon closer inspection they do not appear in the referenced PDF
+- I've flagged them and proceeded without them
diff --git a/public/2015-11/index.html b/public/2015-11/index.html
index 411620986..f6cce824b 100644
--- a/public/2015-11/index.html
+++ b/public/2015-11/index.html
@@ -300,9 +300,9 @@ db.statementpool = true
diff --git a/public/2016-03/index.html b/public/2016-03/index.html
index 7aeff6bd0..080f6e1f0 100644
--- a/public/2016-03/index.html
+++ b/public/2016-03/index.html
@@ -385,9 +385,9 @@ Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Ja
-
After discussion with WLE and CGSpace content people, we decided to just add one metadata field for the WLE Research Themes
+
The cg.identifier.wletheme field will be used for both Phase I and Phase II Research Themes
+
Then we’ll create a new sub-community for Phase II and create collections for the research themes there
+
The current “Research Themes” community will be renamed to “WLE Phase I Research Themes”
+
Tagged all items in the current Phase I collections with their appropriate themes
+
Create pull request to add Phase II research themes to the submission form: #328
+
Add cg.subject.system to CGSpace metadata registry, for subject from the upcoming CGIAR Library migration
+
+
+
2017-06-04
+
+
+
After adding cg.identifier.wletheme to 1106 WLE items I can see the field on XMLUI but not in REST!
+
Strangely it happens on DSpace Test AND on CGSpace!
+
I tried to re-index Discovery but it didn’t fix it
+
Run all system updates on DSpace Test and reboot the server
+
After rebooting the server (and therefore restarting Tomcat) the new metadata field is available
+
I’ve sent a message to the dspace-tech mailing list to ask if this is a bug and whether I should file a Jira ticket
+
+
+
2016-06-05
+
+
+
Rename WLE’s “Research Themes” sub-community to “WLE Phase I Research Themes” on DSpace Test so Macaroni Bros can continue their testing
+
Macaroni Bros tested it and said it’s fine, so I renamed it on CGSpace as well
+
Working on how to automate the extraction of the CIAT Book chapters, doing some magic in OpenRefine to extract page from–to from cg.identifier.url and dc.format.extent, respectively:
+
+
Finally, after some filtering to see which small outliers there were (based on dc.format.extent using “p. 1-14” vs “29 p.”), create a new column with last page number:
+
+
Start processing 769 records after filtering the following (there are another 159 records that have some other format, or for example they have their own PDF which I will process later), using a modified generate-thumbnails.py script to read certain fields and then pass to GhostScript:
+
+
- 2017-05-01 ICARDA apparently started working on CG Core on their MEL repository They have done a few cg.* fields, but not very consistent and even copy some of CGSpace items: https://mel.cgiar.org/xmlui/handle/20.500.11766/6911?show=full https://cgspace.cgiar.org/handle/10568/73683 2017-05-02 Atmire got back about the Workflow Statistics issue, and apparently it’s a bug in the CUA module so they will send us a pull request 2017-05-04 Sync DSpace Test with database and assetstore from CGSpace Re-deploy DSpace Test with Atmire’s CUA patch for workflow statistics, run system updates, and restart the server Now I can see the workflow statistics and am able to select users, but everything returns 0 items Megan says there are still some mapped items are not appearing since last week, so I forced a full index-discovery -b Need to remember to check if the collection has more items (currently 39 on CGSpace, but 118 on the freshly reindexed DSPace Test) tomorrow: https://cgspace.
- Read more →
+ 2017-06-01 After discussion with WLE and CGSpace content people, we decided to just add one metadata field for the WLE Research Themes The cg.identifier.wletheme field will be used for both Phase I and Phase II Research Themes Then we’ll create a new sub-community for Phase II and create collections for the research themes there The current “Research Themes” community will be renamed to “WLE Phase I Research Themes” Tagged all items in the current Phase I collections with their appropriate themes Create pull request to add Phase II research themes to the submission form: #328 Add cg.
+ Read more →
@@ -115,14 +115,14 @@
-
- 2017-06-01 After discussion with WLE and CGSpace content people, we decided to just add one metadata field for the WLE Research Themes The cg.identifier.wletheme field will be used for both Phase I and Phase II Research Themes Then we’ll create a new sub-community for Phase II and create collections for the research themes there The current “Research Themes” community will be renamed to “WLE Phase I Research Themes” Tagged all items in the current Phase I collections with their appropriate themes Create pull request to add Phase II research themes to the submission form: #328 Add cg.
+ 2017-05-01 ICARDA apparently started working on CG Core on their MEL repository They have done a few cg.* fields, but not very consistent and even copy some of CGSpace items: https://mel.cgiar.org/xmlui/handle/20.500.11766/6911?show=full https://cgspace.cgiar.org/handle/10568/73683 2017-05-02 Atmire got back about the Workflow Statistics issue, and apparently it’s a bug in the CUA module so they will send us a pull request 2017-05-04 Sync DSpace Test with database and assetstore from CGSpace Re-deploy DSpace Test with Atmire’s CUA patch for workflow statistics, run system updates, and restart the server Now I can see the workflow statistics and am able to select users, but everything returns 0 items Megan says there are still some mapped items are not appearing since last week, so I forced a full index-discovery -b Need to remember to check if the collection has more items (currently 39 on CGSpace, but 118 on the freshly reindexed DSPace Test) tomorrow: https://cgspace.
Read more →
@@ -424,9 +424,9 @@ DELETE 1
-
diff --git a/public/index.xml b/public/index.xml
index 0af74591c..8df64ace6 100644
--- a/public/index.xml
+++ b/public/index.xml
@@ -6,11 +6,20 @@
Recent content on CGSpace NotesHugo -- gohugo.ioen-us
- Mon, 01 May 2017 16:21:52 +0200
+ Thu, 01 Jun 2017 10:14:52 +0300
+
+ June, 2017
+ https://alanorth.github.io/cgspace-notes/2017-06/
+ Thu, 01 Jun 2017 10:14:52 +0300
+
+ https://alanorth.github.io/cgspace-notes/2017-06/
+ 2017-06-01 After discussion with WLE and CGSpace content people, we decided to just add one metadata field for the WLE Research Themes The cg.identifier.wletheme field will be used for both Phase I and Phase II Research Themes Then we’ll create a new sub-community for Phase II and create collections for the research themes there The current “Research Themes” community will be renamed to “WLE Phase I Research Themes” Tagged all items in the current Phase I collections with their appropriate themes Create pull request to add Phase II research themes to the submission form: #328 Add cg.
+
+
May, 2017
https://alanorth.github.io/cgspace-notes/2017-05/
@@ -20,15 +29,6 @@
2017-05-01 ICARDA apparently started working on CG Core on their MEL repository They have done a few cg.* fields, but not very consistent and even copy some of CGSpace items: https://mel.cgiar.org/xmlui/handle/20.500.11766/6911?show=full https://cgspace.cgiar.org/handle/10568/73683 2017-05-02 Atmire got back about the Workflow Statistics issue, and apparently it’s a bug in the CUA module so they will send us a pull request 2017-05-04 Sync DSpace Test with database and assetstore from CGSpace Re-deploy DSpace Test with Atmire’s CUA patch for workflow statistics, run system updates, and restart the server Now I can see the workflow statistics and am able to select users, but everything returns 0 items Megan says there are still some mapped items are not appearing since last week, so I forced a full index-discovery -b Need to remember to check if the collection has more items (currently 39 on CGSpace, but 118 on the freshly reindexed DSPace Test) tomorrow: https://cgspace.
-
- June, 2017
- https://alanorth.github.io/cgspace-notes/2017-05/
- Mon, 01 May 2017 10:14:52 +0300
-
- https://alanorth.github.io/cgspace-notes/2017-05/
- 2017-06-01 After discussion with WLE and CGSpace content people, we decided to just add one metadata field for the WLE Research Themes The cg.identifier.wletheme field will be used for both Phase I and Phase II Research Themes Then we’ll create a new sub-community for Phase II and create collections for the research themes there The current “Research Themes” community will be renamed to “WLE Phase I Research Themes” Tagged all items in the current Phase I collections with their appropriate themes Create pull request to add Phase II research themes to the submission form: #328 Add cg.
-
-
April, 2017
https://alanorth.github.io/cgspace-notes/2017-04/
diff --git a/public/page/2/index.html b/public/page/2/index.html
index 91eba6d7a..5c7d03c10 100644
--- a/public/page/2/index.html
+++ b/public/page/2/index.html
@@ -421,9 +421,9 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
-
- 2017-05-01 ICARDA apparently started working on CG Core on their MEL repository They have done a few cg.* fields, but not very consistent and even copy some of CGSpace items: https://mel.cgiar.org/xmlui/handle/20.500.11766/6911?show=full https://cgspace.cgiar.org/handle/10568/73683 2017-05-02 Atmire got back about the Workflow Statistics issue, and apparently it’s a bug in the CUA module so they will send us a pull request 2017-05-04 Sync DSpace Test with database and assetstore from CGSpace Re-deploy DSpace Test with Atmire’s CUA patch for workflow statistics, run system updates, and restart the server Now I can see the workflow statistics and am able to select users, but everything returns 0 items Megan says there are still some mapped items are not appearing since last week, so I forced a full index-discovery -b Need to remember to check if the collection has more items (currently 39 on CGSpace, but 118 on the freshly reindexed DSPace Test) tomorrow: https://cgspace.
- Read more →
+ 2017-06-01 After discussion with WLE and CGSpace content people, we decided to just add one metadata field for the WLE Research Themes The cg.identifier.wletheme field will be used for both Phase I and Phase II Research Themes Then we’ll create a new sub-community for Phase II and create collections for the research themes there The current “Research Themes” community will be renamed to “WLE Phase I Research Themes” Tagged all items in the current Phase I collections with their appropriate themes Create pull request to add Phase II research themes to the submission form: #328 Add cg.
+ Read more →
@@ -115,14 +115,14 @@
-
- 2017-06-01 After discussion with WLE and CGSpace content people, we decided to just add one metadata field for the WLE Research Themes The cg.identifier.wletheme field will be used for both Phase I and Phase II Research Themes Then we’ll create a new sub-community for Phase II and create collections for the research themes there The current “Research Themes” community will be renamed to “WLE Phase I Research Themes” Tagged all items in the current Phase I collections with their appropriate themes Create pull request to add Phase II research themes to the submission form: #328 Add cg.
+ 2017-05-01 ICARDA apparently started working on CG Core on their MEL repository They have done a few cg.* fields, but not very consistent and even copy some of CGSpace items: https://mel.cgiar.org/xmlui/handle/20.500.11766/6911?show=full https://cgspace.cgiar.org/handle/10568/73683 2017-05-02 Atmire got back about the Workflow Statistics issue, and apparently it’s a bug in the CUA module so they will send us a pull request 2017-05-04 Sync DSpace Test with database and assetstore from CGSpace Re-deploy DSpace Test with Atmire’s CUA patch for workflow statistics, run system updates, and restart the server Now I can see the workflow statistics and am able to select users, but everything returns 0 items Megan says there are still some mapped items are not appearing since last week, so I forced a full index-discovery -b Need to remember to check if the collection has more items (currently 39 on CGSpace, but 118 on the freshly reindexed DSPace Test) tomorrow: https://cgspace.
Read more →
@@ -424,9 +424,9 @@ DELETE 1
-
diff --git a/public/post/index.xml b/public/post/index.xml
index 345fdcb21..3e9991f00 100644
--- a/public/post/index.xml
+++ b/public/post/index.xml
@@ -6,11 +6,20 @@
Recent content in Posts on CGSpace NotesHugo -- gohugo.ioen-us
- Mon, 01 May 2017 16:21:52 +0200
+ Thu, 01 Jun 2017 10:14:52 +0300
+
+ June, 2017
+ https://alanorth.github.io/cgspace-notes/2017-06/
+ Thu, 01 Jun 2017 10:14:52 +0300
+
+ https://alanorth.github.io/cgspace-notes/2017-06/
+ 2017-06-01 After discussion with WLE and CGSpace content people, we decided to just add one metadata field for the WLE Research Themes The cg.identifier.wletheme field will be used for both Phase I and Phase II Research Themes Then we’ll create a new sub-community for Phase II and create collections for the research themes there The current “Research Themes” community will be renamed to “WLE Phase I Research Themes” Tagged all items in the current Phase I collections with their appropriate themes Create pull request to add Phase II research themes to the submission form: #328 Add cg.
+
+
May, 2017
https://alanorth.github.io/cgspace-notes/2017-05/
@@ -20,15 +29,6 @@
2017-05-01 ICARDA apparently started working on CG Core on their MEL repository They have done a few cg.* fields, but not very consistent and even copy some of CGSpace items: https://mel.cgiar.org/xmlui/handle/20.500.11766/6911?show=full https://cgspace.cgiar.org/handle/10568/73683 2017-05-02 Atmire got back about the Workflow Statistics issue, and apparently it’s a bug in the CUA module so they will send us a pull request 2017-05-04 Sync DSpace Test with database and assetstore from CGSpace Re-deploy DSpace Test with Atmire’s CUA patch for workflow statistics, run system updates, and restart the server Now I can see the workflow statistics and am able to select users, but everything returns 0 items Megan says there are still some mapped items are not appearing since last week, so I forced a full index-discovery -b Need to remember to check if the collection has more items (currently 39 on CGSpace, but 118 on the freshly reindexed DSPace Test) tomorrow: https://cgspace.
-
- June, 2017
- https://alanorth.github.io/cgspace-notes/2017-05/
- Mon, 01 May 2017 10:14:52 +0300
-
- https://alanorth.github.io/cgspace-notes/2017-05/
- 2017-06-01 After discussion with WLE and CGSpace content people, we decided to just add one metadata field for the WLE Research Themes The cg.identifier.wletheme field will be used for both Phase I and Phase II Research Themes Then we’ll create a new sub-community for Phase II and create collections for the research themes there The current “Research Themes” community will be renamed to “WLE Phase I Research Themes” Tagged all items in the current Phase I collections with their appropriate themes Create pull request to add Phase II research themes to the submission form: #328 Add cg.
-
-
April, 2017
https://alanorth.github.io/cgspace-notes/2017-04/
diff --git a/public/post/page/2/index.html b/public/post/page/2/index.html
index ce5c244ab..34715762d 100644
--- a/public/post/page/2/index.html
+++ b/public/post/page/2/index.html
@@ -421,9 +421,9 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
-
- 2017-05-01 ICARDA apparently started working on CG Core on their MEL repository They have done a few cg.* fields, but not very consistent and even copy some of CGSpace items: https://mel.cgiar.org/xmlui/handle/20.500.11766/6911?show=full https://cgspace.cgiar.org/handle/10568/73683 2017-05-02 Atmire got back about the Workflow Statistics issue, and apparently it’s a bug in the CUA module so they will send us a pull request 2017-05-04 Sync DSpace Test with database and assetstore from CGSpace Re-deploy DSpace Test with Atmire’s CUA patch for workflow statistics, run system updates, and restart the server Now I can see the workflow statistics and am able to select users, but everything returns 0 items Megan says there are still some mapped items are not appearing since last week, so I forced a full index-discovery -b Need to remember to check if the collection has more items (currently 39 on CGSpace, but 118 on the freshly reindexed DSPace Test) tomorrow: https://cgspace.
- Read more →
+ 2017-06-01 After discussion with WLE and CGSpace content people, we decided to just add one metadata field for the WLE Research Themes The cg.identifier.wletheme field will be used for both Phase I and Phase II Research Themes Then we’ll create a new sub-community for Phase II and create collections for the research themes there The current “Research Themes” community will be renamed to “WLE Phase I Research Themes” Tagged all items in the current Phase I collections with their appropriate themes Create pull request to add Phase II research themes to the submission form: #328 Add cg.
+ Read more →
@@ -115,14 +115,14 @@
-
- 2017-06-01 After discussion with WLE and CGSpace content people, we decided to just add one metadata field for the WLE Research Themes The cg.identifier.wletheme field will be used for both Phase I and Phase II Research Themes Then we’ll create a new sub-community for Phase II and create collections for the research themes there The current “Research Themes” community will be renamed to “WLE Phase I Research Themes” Tagged all items in the current Phase I collections with their appropriate themes Create pull request to add Phase II research themes to the submission form: #328 Add cg.
+ 2017-05-01 ICARDA apparently started working on CG Core on their MEL repository They have done a few cg.* fields, but not very consistent and even copy some of CGSpace items: https://mel.cgiar.org/xmlui/handle/20.500.11766/6911?show=full https://cgspace.cgiar.org/handle/10568/73683 2017-05-02 Atmire got back about the Workflow Statistics issue, and apparently it’s a bug in the CUA module so they will send us a pull request 2017-05-04 Sync DSpace Test with database and assetstore from CGSpace Re-deploy DSpace Test with Atmire’s CUA patch for workflow statistics, run system updates, and restart the server Now I can see the workflow statistics and am able to select users, but everything returns 0 items Megan says there are still some mapped items are not appearing since last week, so I forced a full index-discovery -b Need to remember to check if the collection has more items (currently 39 on CGSpace, but 118 on the freshly reindexed DSPace Test) tomorrow: https://cgspace.
Read more →
@@ -424,9 +424,9 @@ DELETE 1
-
diff --git a/public/tags/notes/index.xml b/public/tags/notes/index.xml
index 1d4781545..313e535b9 100644
--- a/public/tags/notes/index.xml
+++ b/public/tags/notes/index.xml
@@ -6,11 +6,20 @@
Recent content in Notes on CGSpace NotesHugo -- gohugo.ioen-us
- Mon, 01 May 2017 16:21:52 +0200
+ Thu, 01 Jun 2017 10:14:52 +0300
+
+ June, 2017
+ https://alanorth.github.io/cgspace-notes/2017-06/
+ Thu, 01 Jun 2017 10:14:52 +0300
+
+ https://alanorth.github.io/cgspace-notes/2017-06/
+ 2017-06-01 After discussion with WLE and CGSpace content people, we decided to just add one metadata field for the WLE Research Themes The cg.identifier.wletheme field will be used for both Phase I and Phase II Research Themes Then we’ll create a new sub-community for Phase II and create collections for the research themes there The current “Research Themes” community will be renamed to “WLE Phase I Research Themes” Tagged all items in the current Phase I collections with their appropriate themes Create pull request to add Phase II research themes to the submission form: #328 Add cg.
+
+
May, 2017
https://alanorth.github.io/cgspace-notes/2017-05/
@@ -20,15 +29,6 @@
2017-05-01 ICARDA apparently started working on CG Core on their MEL repository They have done a few cg.* fields, but not very consistent and even copy some of CGSpace items: https://mel.cgiar.org/xmlui/handle/20.500.11766/6911?show=full https://cgspace.cgiar.org/handle/10568/73683 2017-05-02 Atmire got back about the Workflow Statistics issue, and apparently it’s a bug in the CUA module so they will send us a pull request 2017-05-04 Sync DSpace Test with database and assetstore from CGSpace Re-deploy DSpace Test with Atmire’s CUA patch for workflow statistics, run system updates, and restart the server Now I can see the workflow statistics and am able to select users, but everything returns 0 items Megan says there are still some mapped items are not appearing since last week, so I forced a full index-discovery -b Need to remember to check if the collection has more items (currently 39 on CGSpace, but 118 on the freshly reindexed DSPace Test) tomorrow: https://cgspace.
-
- June, 2017
- https://alanorth.github.io/cgspace-notes/2017-05/
- Mon, 01 May 2017 10:14:52 +0300
-
- https://alanorth.github.io/cgspace-notes/2017-05/
- 2017-06-01 After discussion with WLE and CGSpace content people, we decided to just add one metadata field for the WLE Research Themes The cg.identifier.wletheme field will be used for both Phase I and Phase II Research Themes Then we’ll create a new sub-community for Phase II and create collections for the research themes there The current “Research Themes” community will be renamed to “WLE Phase I Research Themes” Tagged all items in the current Phase I collections with their appropriate themes Create pull request to add Phase II research themes to the submission form: #328 Add cg.
-
-
April, 2017
https://alanorth.github.io/cgspace-notes/2017-04/
diff --git a/public/tags/notes/page/2/index.html b/public/tags/notes/page/2/index.html
index c24fa51a9..5bd76abe5 100644
--- a/public/tags/notes/page/2/index.html
+++ b/public/tags/notes/page/2/index.html
@@ -421,9 +421,9 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and
-