[java-identity-provider] branch main updated: Fix extra noise in installer log stream
Codeberg
noreply at shibboleth.net
Mon Nov 30 16:51:47 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository java-identity-provider.
View the commit online:
https://codeberg.org/Shibboleth/java-identity-provider/commit/c2ccf11399610fb5ea0af37fd5235190e9704904
The following commit(s) were added to refs/heads/main by this push:
new c2ccf1139 Fix extra noise in installer log stream
c2ccf1139 is described below
commit c2ccf11399610fb5ea0af37fd5235190e9704904
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Mon Nov 30 16:37:40 2026 +0000
Fix extra noise in installer log stream
---
.../shibboleth/idp/installer/plugin/impl/PluginInstaller.java | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/idp-installer/src/main/java/net/shibboleth/idp/installer/plugin/impl/PluginInstaller.java b/idp-installer/src/main/java/net/shibboleth/idp/installer/plugin/impl/PluginInstaller.java
index d235a54ed..f8b35bd13 100644
--- a/idp-installer/src/main/java/net/shibboleth/idp/installer/plugin/impl/PluginInstaller.java
+++ b/idp-installer/src/main/java/net/shibboleth/idp/installer/plugin/impl/PluginInstaller.java
@@ -913,7 +913,7 @@ public final class PluginInstaller extends AbstractInitializableComponent implem
try {
final Path upDir = unpackDirectory = Files.createTempDirectory("plugin-installer-unpack");
assert upDir != null;
- unpack(upDir, fullName, isZip, false, false);
+ unpack(upDir, fullName, isZip, false, true);
try (final DirectoryStream<Path> unpackDirStream = Files.newDirectoryStream(upDir)) {
final Iterator<Path> contents = unpackDirStream.iterator();
if (!contents.hasNext()) {
@@ -996,9 +996,8 @@ public final class PluginInstaller extends AbstractInitializableComponent implem
throw new BuildException("Corrupt installation package");
}
Path fromPath;
- final boolean inBootstrap = (entryName.startsWith("bootstrap") && entry.isDirectory()) ||
- entryName.equals("bootstrap/keys.txt") ||
- entryName.equals("bootstrap/plugin.properties");
+ final boolean inBootstrap = entryName.endsWith("bootstrap/keys.txt") ||
+ entryName.endsWith("bootstrap/plugin.properties");
if (bootstrapOnly & !inBootstrap) {
continue;
}
@@ -1020,7 +1019,7 @@ public final class PluginInstaller extends AbstractInitializableComponent implem
} else {
if (output.exists()) {
if (bootstrapOnly || !inBootstrap) {
- LOG.warn("Plugin Installer overwrote {}", output);
+ LOG.debug("Plugin Installer overwrote {}", output);
}
}
final File parent = output.getParentFile();
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list