From 77a1696789a1805a4f54dd2c92733159f56487fc Mon Sep 17 00:00:00 2001 From: "Dr. Ernie Prabhakar" Date: Thu, 22 Aug 2024 14:13:40 -0700 Subject: [PATCH 1/4] update testS3List to use udp-spec --- .../java/com/quiltdata/quiltcore/PhysicalKeyTest.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/src/test/java/com/quiltdata/quiltcore/PhysicalKeyTest.java b/lib/src/test/java/com/quiltdata/quiltcore/PhysicalKeyTest.java index c57084d..8ac2316 100644 --- a/lib/src/test/java/com/quiltdata/quiltcore/PhysicalKeyTest.java +++ b/lib/src/test/java/com/quiltdata/quiltcore/PhysicalKeyTest.java @@ -50,14 +50,13 @@ public void testLocalList() throws Exception { @Test public void testS3List() throws Exception { - S3PhysicalKey pk = new S3PhysicalKey("quilt-example", "examples/hurdat/", null); + S3PhysicalKey pk = new S3PhysicalKey("udp-spec", "nf-quilt/source", null); String[] files = pk.listRecursively().toArray(String[]::new); Arrays.sort(files); assertArrayEquals(new String[] { - "data/atlantic-storms.csv", - "notebooks/QuickStart.ipynb", - "quilt_summarize.json", - "scripts/build.py", + "COPY_THIS.md", + "a_folder/THING_ONE.md", + "a_folder/THING_TWO.md", }, files); } From 741a9c1777d69d37cd1fcbd831ed5253c11b3dcc Mon Sep 17 00:00:00 2001 From: "Dr. Ernie Prabhakar" Date: Thu, 22 Aug 2024 14:17:58 -0700 Subject: [PATCH 2/4] bump version, changelog --- CHANGELOG.md | 17 +++++++++++++++++ lib/build.gradle | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..2dcebe4 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,17 @@ +# CHANGELOG.md + +## [0.1.3] - 2024-08-21 + +- Fix failing tests + +## [0.1.2] - 2024-05-10 + +- Last Dima version + +## [0.1.1] - 2024-05-09 + +- Production Version + +## [0.1.0] - 2023-10-04 + +- Initial release diff --git a/lib/build.gradle b/lib/build.gradle index 0e862a2..54a31c1 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -66,7 +66,7 @@ mavenPublishing { signAllPublications() - coordinates('com.quiltdata', 'quiltcore', '0.1.2') + coordinates('com.quiltdata', 'quiltcore', '0.1.3') pom { name.set('QuiltCore') From 134a338ab56ff5e9e1acbd9495c9f12d8396660f Mon Sep 17 00:00:00 2001 From: "Dr. Ernie Prabhakar" Date: Thu, 22 Aug 2024 14:22:15 -0700 Subject: [PATCH 3/4] use-latest-versions --- lib/build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/build.gradle b/lib/build.gradle index 54a31c1..dc640be 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -4,6 +4,14 @@ plugins { // Apply the java-library plugin for API and implementation separation. id 'java-library' id 'com.vanniktech.maven.publish' version '0.28.0' + id 'se.patrikerdes.use-latest-versions' version '0.2.18' + id 'com.github.ben-manes.versions' version '0.51.0' +} + +useLatestVersions { + // A blacklist of dependencies to update, in the format of group:name + updateBlacklist = [ + ] } repositories { From 4291f91fd1db433c1938315ff7667bda8b1dbc7c Mon Sep 17 00:00:00 2001 From: "Dr. Ernie Prabhakar" Date: Thu, 22 Aug 2024 14:23:38 -0700 Subject: [PATCH 4/4] gradlew useLatestVersions --- CHANGELOG.md | 1 + README.md | 5 +++++ lib/build.gradle | 22 +++++++++++----------- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2dcebe4..846b757 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## [0.1.3] - 2024-08-21 - Fix failing tests +- Use latest versions of dependencies ## [0.1.2] - 2024-05-10 diff --git a/README.md b/README.md index 672e0b2..b5c94e0 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,11 @@ To enable debug logging, set the environment variable `LOG4J_DEBUG=true`: LOG4J_DEBUG=true ./gradlew check ``` +## Update + +./gradlew useLatestVersions +./gradlew check + ## Publishing This project is published to [Maven Central](https://central.sonatype.com/artifact/com.quiltdata/quiltcore/versions) using `SonatypeHost.CENTRAL_PORTAL` from the [vanniktech.github.io/gradle-maven-publish-plugin](https://vanniktech.github.io/gradle-maven-publish-plugin/central/#configuring-what-to-publish). diff --git a/lib/build.gradle b/lib/build.gradle index dc640be..92ca210 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -3,7 +3,7 @@ import com.vanniktech.maven.publish.SonatypeHost plugins { // Apply the java-library plugin for API and implementation separation. id 'java-library' - id 'com.vanniktech.maven.publish' version '0.28.0' + id 'com.vanniktech.maven.publish' version '0.29.0' id 'se.patrikerdes.use-latest-versions' version '0.2.18' id 'com.github.ben-manes.versions' version '0.51.0' } @@ -21,27 +21,27 @@ repositories { dependencies { // AWS SDK - implementation 'software.amazon.awssdk:s3:2.25.49' - implementation 'software.amazon.awssdk:s3-transfer-manager:2.25.49' - implementation 'software.amazon.awssdk.crt:aws-crt:0.29.18' + implementation 'software.amazon.awssdk:s3:2.27.11' + implementation 'software.amazon.awssdk:s3-transfer-manager:2.27.11' + implementation 'software.amazon.awssdk.crt:aws-crt:0.30.8' // JSON and YAML parsing. - implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.1' - implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.17.1' + implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.2' + implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.17.2' // JSON Schema validator. - implementation 'io.vertx:vertx-json-schema:4.5.7' + implementation 'io.vertx:vertx-json-schema:4.5.9' // Workarounds for Java's checked exceptions. implementation 'com.pivovarit:throwing-function:1.5.1' // Use JUnit test framework. - testImplementation('org.junit.jupiter:junit-jupiter:5.10.2') + testImplementation('org.junit.jupiter:junit-jupiter:5.11.0') // Add Log4j dependency - implementation 'org.apache.logging.log4j:log4j-core:2.23.1' - implementation 'org.apache.logging.log4j:log4j-api:2.23.1' - implementation 'org.apache.logging.log4j:log4j-slf4j-impl:2.23.1' + implementation 'org.apache.logging.log4j:log4j-core:3.0.0-beta2' + implementation 'org.apache.logging.log4j:log4j-api:3.0.0-beta2' + implementation 'org.apache.logging.log4j:log4j-slf4j-impl:3.0.0-beta2' } // Apply a specific Java toolchain to ease working on different environments.