Add notes for 2020-08-07

This commit is contained in:
2020-08-07 19:55:21 +03:00
parent 811a12cb5e
commit dbea57cf8e
20 changed files with 42 additions and 27 deletions

View File

@ -201,6 +201,12 @@ on_id=[A-Z0-9]{32}' | sort | uniq | wc -l
- I developed a small Java class called `FixJpgJpgThumbnails` to remove ".jpg.jpg" thumbnails from the `THUMBNAIL` bundle and replace them with their originals from the `ORIGINAL` bundle
- The code is based on [RemovePNGThumbnailsForPDFs.java](https://github.com/UoW-IRRs/DSpace-Scripts/blob/master/src/main/java/nz/ac/waikato/its/irr/scripts/RemovePNGThumbnailsForPDFs.java) by Andrea Schweer
- I incorporated it into my dspace-curation-tasks repository, then renamed it to [cgspace-java-helpers](https://github.com/ilri/cgspace-java-helpers)
- In testing I found that I can replace ~3,500 thumbnails on CGSpace!
- In testing I found that I can replace ~4,000 thumbnails on CGSpace!
## 2020-08-07
- I improved the `RemovePNGThumbnailsForPDFs.java` a bit more to exclude infographics and original bitstreams larger than 100KiB
- I ran it on CGSpace and it cleaned up 3,769 thumbnails!
- Afterwards I ran `dspace cleanup -v` to remove the deleted thumbnails
<!-- vim: set sw=2 ts=2: -->