Skip to content

Commit

Permalink
Merge pull request #1814 from schemacrawler/nextrel
Browse files Browse the repository at this point in the history
v16.24.3
  • Loading branch information
sualeh authored Dec 28, 2024
2 parents b6bd0b8 + 02ebd13 commit ee5ab3e
Show file tree
Hide file tree
Showing 45 changed files with 104 additions and 93 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/early-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ jobs:
SchemaCrawler ${{ github.event.release.tag_name }} early access release at last commit ${{ github.sha }}
generate_release_notes: true
files: |
./schemacrawler-distrib/target/schemacrawler-16.24.2-distribution.zip
./schemacrawler-distrib/target/schemacrawler-16.24.2-distribution.zip.SHA-512
./schemacrawler-distrib/target/schemacrawler-16.24.2-bin.zip
./schemacrawler-distrib/target/schemacrawler-16.24.2-bin.zip.SHA-512
./schemacrawler-distrib/target/schemacrawler-16.24.3-distribution.zip
./schemacrawler-distrib/target/schemacrawler-16.24.3-distribution.zip.SHA-512
./schemacrawler-distrib/target/schemacrawler-16.24.3-bin.zip
./schemacrawler-distrib/target/schemacrawler-16.24.3-bin.zip.SHA-512
# BUILD AND PUBLISH DOCKER IMAGE
- id: setup-qemu
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
linux/amd64
linux/arm64
tags: |-
schemacrawler/schemacrawler:v16.24.2
schemacrawler/schemacrawler:v16.24.3
schemacrawler/schemacrawler:latest
sbom: true
provenance: true
Expand All @@ -86,12 +86,12 @@ jobs:
name: Upload installers
uses: actions/upload-artifact@v4
with:
name: release-artifacts-v16.24.2
name: release-artifacts-v16.24.3
path: |
./schemacrawler-distrib/target/schemacrawler-16.24.2-distribution.zip
./schemacrawler-distrib/target/schemacrawler-16.24.2-distribution.zip.SHA-512
./schemacrawler-distrib/target/schemacrawler-16.24.2-bin.zip
./schemacrawler-distrib/target/schemacrawler-16.24.2-bin.zip.SHA-512
./schemacrawler-distrib/target/schemacrawler-16.24.3-distribution.zip
./schemacrawler-distrib/target/schemacrawler-16.24.3-distribution.zip.SHA-512
./schemacrawler-distrib/target/schemacrawler-16.24.3-bin.zip
./schemacrawler-distrib/target/schemacrawler-16.24.3-bin.zip.SHA-512
retention-days: 1
- id: create-release
name: Create GitHub release
Expand All @@ -107,10 +107,10 @@ jobs:
See the change history at https://www.schemacrawler.com/changes-report.html
generate_release_notes: true
files: |
./schemacrawler-distrib/target/schemacrawler-16.24.2-distribution.zip
./schemacrawler-distrib/target/schemacrawler-16.24.2-distribution.zip.SHA-512
./schemacrawler-distrib/target/schemacrawler-16.24.2-bin.zip
./schemacrawler-distrib/target/schemacrawler-16.24.2-bin.zip.SHA-512
./schemacrawler-distrib/target/schemacrawler-16.24.3-distribution.zip
./schemacrawler-distrib/target/schemacrawler-16.24.3-distribution.zip.SHA-512
./schemacrawler-distrib/target/schemacrawler-16.24.3-bin.zip
./schemacrawler-distrib/target/schemacrawler-16.24.3-bin.zip.SHA-512
# PUBLISH TO CENTRAL REPOSITORY
- id: install-secret-key
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>us.fatehi</groupId>
<artifactId>schemacrawler-parent</artifactId>
<version>16.24.2</version>
<version>16.24.3</version>
<relativePath>./schemacrawler-parent/pom.xml</relativePath>
</parent>
<artifactId>schemacrawler-aggregator</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion schemacrawler-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>schemacrawler-parent</artifactId>
<groupId>us.fatehi</groupId>
<version>16.24.2</version>
<version>16.24.3</version>
<relativePath>../schemacrawler-parent/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SchemaCrawler 16.24.2
SchemaCrawler 16.24.3
Database schema discovery and comprehension tool
https://www.schemacrawler.com/
Copyright (c) 2000-2025, Sualeh Fatehi <[email protected]>.
Expand Down
2 changes: 1 addition & 1 deletion schemacrawler-commandline/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>schemacrawler-parent</artifactId>
<groupId>us.fatehi</groupId>
<version>16.24.2</version>
<version>16.24.3</version>
<relativePath>../schemacrawler-parent/pom.xml</relativePath>
</parent>
<artifactId>schemacrawler-commandline</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ public static int execute(final String[] args) {
System.out.println(CommandLineUtility.getConnectionInfo(state));
if (throwable != null) {
System.out.println(" " + throwable.getMessage());
System.out.println();
throwable.printStackTrace(System.out);
LOGGER.log(Level.CONFIG, throwable.getMessage(), throwable);
}
System.out.flush();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@

package schemacrawler.tools.commandline.command;

import static picocli.CommandLine.Help.Column.Overflow.SPAN;
import static picocli.CommandLine.Help.Column.Overflow.WRAP;
import static picocli.CommandLine.Help.TextTable.forColumns;
import static picocli.CommandLine.Model.UsageMessageSpec.DEFAULT_USAGE_WIDTH;
import java.io.PrintStream;
import java.util.Collection;
import java.util.Iterator;
Expand All @@ -41,6 +40,7 @@
import static java.util.Objects.requireNonNull;
import picocli.CommandLine;
import picocli.CommandLine.Help.Column;
import picocli.CommandLine.Help.Column.Overflow;
import picocli.CommandLine.Help.TextTable;
import us.fatehi.utility.property.PropertyName;

Expand Down Expand Up @@ -84,23 +84,25 @@ public final Stream<String> stream() {
protected abstract String getName();

private final TextTable commands() {
final int indent = 2;
final int spacing = 2;
int maxNameLength = 0;
for (final PropertyName plugin : plugins) {
final int length = plugin.getName().length();
if (length > maxNameLength) {
maxNameLength = length;
}
}
maxNameLength = maxNameLength + 1;
maxNameLength = maxNameLength + spacing;

final CommandLine.Help.ColorScheme.Builder colorSchemaBuilder =
new CommandLine.Help.ColorScheme.Builder();
colorSchemaBuilder.ansi(CommandLine.Help.Ansi.OFF);
final TextTable textTable =
forColumns(
colorSchemaBuilder.build(),
new Column(maxNameLength, 1, SPAN),
new Column(80 - maxNameLength, 1, WRAP));
new Column(maxNameLength, indent, Overflow.SPAN),
new Column(DEFAULT_USAGE_WIDTH - maxNameLength, indent, Overflow.WRAP));

for (final PropertyName plugin : plugins) {
textTable.addRowValues(plugin.getName(), plugin.getDescription());
Expand Down
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@

Available SchemaCrawler Commands:
brief Show basic schema information, for tables, views and routines,
columns, primary keys, and foreign keys
count Show counts of rows in the tables
details Show maximum possible detail of the schema, including privileges,
and details of privileges, triggers, and check constraints
dump Show data from all rows in the tables
list Show a list of schema objects
quickdump Show data from all rows in the tables, but row order is not
guaranteed - this can be used with a minimum info-level for
speed
schema Show the commonly needed detail of the schema, including details
of tables, views and routines, columns, primary keys, indexes,
foreign keys, and triggers
test-command Test command which is not deployed with the release
<query_name> Show results of query <query_name>, as specified in the
configuration properties file
<query> Show results of SQL <query>
The query itself can contain the variables ${table}, ${columns}
and ${tabletype}, or system properties referenced as
${<system-property-name>}
Queries without any variables are executed exactly once
Queries with variables are executed once for each table, with the
variables substituted
brief Show basic schema information, for tables, views and routines,
columns, primary keys, and foreign keys
count Show counts of rows in the tables
details Show maximum possible detail of the schema, including
privileges, and details of privileges, triggers, and check
constraints
dump Show data from all rows in the tables
list Show a list of schema objects
quickdump Show data from all rows in the tables, but row order is not
guaranteed - this can be used with a minimum info-level for
speed
schema Show the commonly needed detail of the schema, including
details of tables, views and routines, columns, primary keys,
indexes, foreign keys, and triggers
test-command Test command which is not deployed with the release
<query_name> Show results of query <query_name>, as specified in the
configuration properties file
<query> Show results of SQL <query>
The query itself can contain the variables ${table}, ${columns}
and ${tabletype}, or system properties referenced as
${<system-property-name>}
Queries without any variables are executed exactly once
Queries with variables are executed once for each table, with
the variables substituted

Notes:
- For help on an individual SchemaCrawler command,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@

Available SchemaCrawler Catalog Loaders:
schemacrawlerloader Loader for SchemaCrawler metadata catalog
attributesloader Loader for catalog attributes, such as remarks or tags
countsloader Loader for table row counts
testloader Loader for testing
weakassociationsloader Loader for weak associations
schemacrawlerloader Loader for SchemaCrawler metadata catalog
attributesloader Loader for catalog attributes, such as remarks or tags
countsloader Loader for table row counts
testloader Loader for testing
weakassociationsloader Loader for weak associations

Notes:
- For help on an individual catalog loader,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

Available SchemaCrawler Database Server Plugins:
test-db Test Database
test-db Test Database

Notes:
- For help on an individual database plugin,
Expand Down
2 changes: 1 addition & 1 deletion schemacrawler-db2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>us.fatehi</groupId>
<artifactId>schemacrawler-parent</artifactId>
<version>16.24.2</version>
<version>16.24.3</version>
<relativePath>../schemacrawler-parent/pom.xml</relativePath>
</parent>
<artifactId>schemacrawler-db2</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion schemacrawler-dbtest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>us.fatehi</groupId>
<artifactId>schemacrawler-parent</artifactId>
<version>16.24.2</version>
<version>16.24.3</version>
<relativePath>../schemacrawler-parent/pom.xml</relativePath>
</parent>
<artifactId>schemacrawler-dbtest</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion schemacrawler-diagram/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>schemacrawler-parent</artifactId>
<groupId>us.fatehi</groupId>
<version>16.24.2</version>
<version>16.24.3</version>
<relativePath>../schemacrawler-parent/pom.xml</relativePath>
</parent>
<artifactId>schemacrawler-diagram</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion schemacrawler-distrib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>us.fatehi</groupId>
<artifactId>schemacrawler-parent</artifactId>
<version>16.24.2</version>
<version>16.24.3</version>
<relativePath>../schemacrawler-parent/pom.xml</relativePath>
</parent>
<artifactId>schemacrawler-distrib</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
</configurations>
<dependencies>
<dependency org="us.fatehi" name="schemacrawler-timesten"
rev="16.24.2" conf="binaries->default" />
rev="16.24.3" conf="binaries->default" />
<dependency org="us.fatehi" name="schemacrawler-sapiq"
rev="16.24.2" conf="binaries->default" />
rev="16.24.3" conf="binaries->default" />
<dependency org="us.fatehi" name="schemacrawler-hana"
rev="16.24.2" conf="binaries->default" />
rev="16.24.3" conf="binaries->default" />

<exclude org="us.fatehi" module="schemacrawler" />
<exclude org="org.hsqldb" module="hsqldb" />
Expand Down
2 changes: 1 addition & 1 deletion schemacrawler-docker-compose/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>us.fatehi</groupId>
<artifactId>schemacrawler-parent</artifactId>
<version>16.24.2</version>
<version>16.24.3</version>
<relativePath>../schemacrawler-parent/pom.xml</relativePath>
</parent>
<artifactId>schemacrawler-docker-compose</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion schemacrawler-docker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>us.fatehi</groupId>
<artifactId>schemacrawler-parent</artifactId>
<version>16.24.2</version>
<version>16.24.3</version>
<relativePath>../schemacrawler-parent/pom.xml</relativePath>
</parent>
<artifactId>schemacrawler-docker</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion schemacrawler-docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>us.fatehi</groupId>
<artifactId>schemacrawler-parent</artifactId>
<version>16.24.2</version>
<version>16.24.3</version>
<relativePath>../schemacrawler-parent/pom.xml</relativePath>
</parent>
<artifactId>schemacrawler-docs</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion schemacrawler-examplecode/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>us.fatehi</groupId>
<artifactId>schemacrawler-parent</artifactId>
<version>16.24.2</version>
<version>16.24.3</version>
<relativePath>../schemacrawler-parent/pom.xml</relativePath>
</parent>
<artifactId>schemacrawler-examplecode</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion schemacrawler-hsqldb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>us.fatehi</groupId>
<artifactId>schemacrawler-parent</artifactId>
<version>16.24.2</version>
<version>16.24.3</version>
<relativePath>../schemacrawler-parent/pom.xml</relativePath>
</parent>
<artifactId>schemacrawler-hsqldb</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion schemacrawler-jdbc-drivers/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>us.fatehi</groupId>
<artifactId>schemacrawler-parent</artifactId>
<version>16.24.2</version>
<version>16.24.3</version>
<relativePath>../schemacrawler-parent/pom.xml</relativePath>
</parent>
<artifactId>schemacrawler-jdbc-drivers</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion schemacrawler-lint/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>us.fatehi</groupId>
<artifactId>schemacrawler-parent</artifactId>
<version>16.24.2</version>
<version>16.24.3</version>
<relativePath>../schemacrawler-parent/pom.xml</relativePath>
</parent>
<artifactId>schemacrawler-lint</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion schemacrawler-loader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>schemacrawler-parent</artifactId>
<groupId>us.fatehi</groupId>
<version>16.24.2</version>
<version>16.24.3</version>
<relativePath>../schemacrawler-parent/pom.xml</relativePath>
</parent>
<artifactId>schemacrawler-loader</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion schemacrawler-mysql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>us.fatehi</groupId>
<artifactId>schemacrawler-parent</artifactId>
<version>16.24.2</version>
<version>16.24.3</version>
<relativePath>../schemacrawler-parent/pom.xml</relativePath>
</parent>
<artifactId>schemacrawler-mysql</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion schemacrawler-offline/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>schemacrawler-parent</artifactId>
<groupId>us.fatehi</groupId>
<version>16.24.2</version>
<version>16.24.3</version>
<relativePath>../schemacrawler-parent/pom.xml</relativePath>
</parent>
<artifactId>schemacrawler-offline</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion schemacrawler-oracle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>us.fatehi</groupId>
<artifactId>schemacrawler-parent</artifactId>
<version>16.24.2</version>
<version>16.24.3</version>
<relativePath>../schemacrawler-parent/pom.xml</relativePath>
</parent>
<artifactId>schemacrawler-oracle</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion schemacrawler-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>us.fatehi</groupId>
<artifactId>schemacrawler-parent</artifactId>
<packaging>pom</packaging>
<version>16.24.2</version>
<version>16.24.3</version>
<name>SchemaCrawler [Parent]</name>
<description>Free database schema discovery and comprehension tool</description>
<url>https://www.schemacrawler.com</url>
Expand Down
2 changes: 1 addition & 1 deletion schemacrawler-postgresql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>us.fatehi</groupId>
<artifactId>schemacrawler-parent</artifactId>
<version>16.24.2</version>
<version>16.24.3</version>
<relativePath>../schemacrawler-parent/pom.xml</relativePath>
</parent>
<artifactId>schemacrawler-postgresql</artifactId>
Expand Down
Loading

0 comments on commit ee5ab3e

Please sign in to comment.