Alan Orth
546101bc92
CHANGELOG.md: Add notes about new common names
2023-02-26 21:16:46 +03:00
Alan Orth
0a7cf7bf59
Import iso-codes snapshot
...
After my merge request to Debian's iso-codes package was merged we
now no longer need to maintain local overrides for Iran, Laos, and
Syria, as those are officially in iso-codes.
See: https://salsa.debian.org/iso-codes-team/iso-codes/-/merge_requests/32
2023-02-26 21:13:44 +03:00
Alan Orth
8c0a8fbcd1
Bump version to 6.2-SNAPSHOT
...
I can't figure out how to get non-snapshot releases on Central.
2023-02-21 10:59:54 +03:00
Alan Orth
c05a2e4f96
Version 6.2
2023-02-20 20:37:40 +03:00
Alan Orth
cf2af393c0
CHANGELOG.md: add note about iso-codes 4.12.0
2022-11-07 12:23:07 +03:00
Alan Orth
1f6ba4af67
src: import iso-codes 4.12.0
...
This updates the name for TR from "Turkey" to "Türkiye".
See: https://salsa.debian.org/iso-codes-team/iso-codes/-/blob/main/CHANGELOG.md#4120-2022-11-06
2022-11-07 12:21:39 +03:00
Alan Orth
5ceaebaeae
README.md: add more TODO
2022-10-31 11:49:39 +03:00
Alan Orth
f3dcc6e261
pom.xml: bump version to 6.2-SNAPSHOT
2022-10-31 11:47:13 +03:00
Alan Orth
3eddbc3e22
Version 6.1
2022-10-31 11:43:54 +03:00
Alan Orth
dbf59f784c
README.md: add notes on deploying to Maven Central
2022-10-31 11:40:59 +03:00
Alan Orth
0ffa4c8d37
pom.xml: fix version of maven-deploy-plugin
2022-10-31 11:37:25 +03:00
Alan Orth
970d0c074e
README.md: reference DSpace 6 docs
2022-10-31 11:11:50 +03:00
Alan Orth
6b2b899957
CHANGELOG.md: add note about iso-codes 4.11.0
2022-10-14 20:51:04 +03:00
Alan Orth
dfaa234a90
src/main/resources: sync cgspace-countries.json with iso-codes
...
Not sure this is needed, but we copy the JSON object from iso-codes
so we should keep it in sync when there are changes to countries we
override.
2022-10-14 20:49:23 +03:00
Alan Orth
f46e81b8cd
src/main/resources: import iso-codes 4.11.0
...
This is a bit old by now even, but there are two changes:
- South Korea
- North Korea
2022-10-14 20:47:26 +03:00
Alan Orth
dbd8721579
src: add better status messages to FixLowQualityThumbnails
2022-10-07 15:33:13 +03:00
Alan Orth
a234b39064
CHANGELOG.md: add note about script commit fix
2022-10-07 14:56:58 +03:00
Alan Orth
80a336f94d
src: fix context commit in scripts
...
I was wondering why the same bitstreams appeared to be getting de-
leted on every single run. It turns out that the only mode we were
committing the context in was in single item mode. If the argument
was a site, community, or collection we were updating the item but
not actually committing the changes!
2022-10-07 14:49:58 +03:00
Alan Orth
5ebf4930cf
src: re-organize switch statements in scripts
...
It makes more sense to me to start from the top level of the hier-
archy.
2022-10-07 13:11:03 +03:00
Alan Orth
8e01595cc1
.github: fix distribution key
2022-10-06 20:47:14 +03:00
Alan Orth
8b3aac610d
.github: specify Java distribution
2022-10-06 20:39:31 +03:00
Alan Orth
c2d7535d01
.github: update maven GitHub actions workflow
...
- Switch to Ubuntu 22.04 because `ubuntu-latest` is still 20.04
- Update actions to latest versions
- Specify Java 8 instead of 1.8
- Enable Maven caching
2022-10-06 20:36:08 +03:00
Alan Orth
b396fba043
src: format Java files with google-java-format
...
Using AOSP format so we get four spaces instead of two.
2022-10-06 14:27:51 +03:00
Alan Orth
38a9cc5188
src: organize imports in VS Code
2022-10-06 14:26:44 +03:00
Alan Orth
16db38967b
src: handle null descriptions in FixJpgJpgThumbnails
2022-10-06 14:17:41 +03:00
Alan Orth
2604dc3cce
src: skip Infographics and Maps in FixJpgJpgThumbnails
...
Instead of checking whether they exist and then skipping them just
at the moment when we want to swap the bitstreams let's bail early
when we know an item is an Infographic or a Map.
2022-10-06 14:15:58 +03:00
Alan Orth
f0754ab419
src: fix npe on null description
...
In FixLowQualityThumbnails we need to make sure that bitstream de-
scriptions are not null or empty before trying to evaluate them.
2022-10-05 21:00:14 +03:00
Alan Orth
6772145bec
src: fix SPDX license header
...
Use GPL-3.0-or-later instead of GPL-3.0-only. I had specified this
in pom.xml already.
2022-10-05 16:53:00 +03:00
Alan Orth
b31557aa05
pom.xml: remove junit
...
I don't have any tests and I'm not using this.
2022-10-05 15:59:36 +03:00
Alan Orth
095f843067
src: add SPDX license headers
2022-10-05 15:48:57 +03:00
Alan Orth
f7fda9922f
Add CHANGELOG.md
2022-10-05 15:26:14 +03:00
Alan Orth
83a416afaf
.gitignore: update ignores
2022-10-05 15:25:53 +03:00
Alan Orth
922e3892a7
Update README.md files
2022-10-05 15:24:08 +03:00
Alan Orth
6b648c2c85
src: add FixLowQualityThumbnails.java
...
This adds another script to detect and remove more low-quality thu-
mbnails. For example:
- If an item has an "IM Thumbnail" and a "Generated Thumbnail" in the
THUMBNAIL bundle, remove the "Generated Thumbnail"
- If an item has a PDF bitstream and a JPEG bitstream with a name or
description "thumbnail" in the ORIGINAL bundle, remove the
"thumbnail" bitstream in the ORIGINAL bundle and try to remove the
"thumbnail.jpg" bitstream in the THUMBNAIL bundle
The idea is that we should *always* prefer thumbnails generated by
ImageMagick from PDFs in the ORIGINAL bundle and should remove any
other manually uploaded thumbnails.
2022-10-05 15:07:56 +03:00
Alan Orth
781ddcd931
pom.xml: set Java compiler/target to JDK 8
2022-10-05 15:00:38 +03:00
Alan Orth
49cb8e3468
pom.xml: Update dependencies
2022-10-05 14:59:30 +03:00
Alan Orth
3aa1503163
src: bump version of FixJpgJpgThumbnails.java
2022-10-04 21:13:24 +03:00
Alan Orth
26597e2f8f
Use dcterms.type in FixJpgJpgThumbnails script
...
We are now using dcterms.type instead of dc.type.
2022-10-04 16:16:43 +03:00
Alan Orth
1497ebb476
README.md: Add todo about DOI fixer
2021-01-04 11:02:36 +02:00
Alan Orth
b2027e3e44
Remove .travis.yml
...
Use GitHub Actions.
2020-12-08 11:04:08 +02:00
Alan Orth
26eaa2d94f
README.md: Add GitHub Actions badge
2020-12-08 11:03:53 +02:00
Alan Orth
e3b95f6a30
Create maven.yml
...
Add GitHub Actions workflow to build.
2020-12-08 11:01:00 +02:00
Alan Orth
5e545e37e2
README.md: Use travis-ci.com domain for badge link
2020-12-08 09:12:43 +02:00
Alan Orth
3f711db1b2
README.md: Use travis-ci.com for badge
2020-12-08 09:03:24 +02:00
Alan Orth
112cb8a133
Revert ".travis.yml: Use Ubuntu 20.04 "Focal" environment"
...
This reverts commit 4d59c1a00d
.
Something's wrong with Java 8 in Travis's Ubuntu Focal environment:
Expected feature release number in range of 9 to 16, but got: 8
2020-12-08 08:55:27 +02:00
Alan Orth
4d59c1a00d
.travis.yml: Use Ubuntu 20.04 "Focal" environment
2020-10-29 00:16:05 +03:00
Alan Orth
2e779efb14
src/main/java: Adjust curation README
...
DSpace 6 doesn't have the `-l` option to limit the cache size.
2020-08-10 20:04:46 +03:00
Alan Orth
735e759033
Adjust READMEs again...
2020-08-10 17:16:14 +03:00
Alan Orth
271a9ce970
Adjust README.md files
2020-08-10 15:55:11 +03:00
Alan Orth
6b72ddefc1
pom.xml: Move to next SNAPSHOT version
2020-08-08 13:14:03 +03:00