Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WFCORE-4917]: Experimental - Provide a cool boot banner. #5821

Merged
merged 2 commits into from
Mar 22, 2024

Conversation

ehsavoie
Copy link
Contributor

@ehsavoie ehsavoie commented Jan 5, 2024

  • Add support for a cool ASCII art banner via a banner.txt in the $JBOSS_HOME/bin directory.

Jira: https://issues.redhat.com/browse/WFCORE-4917
https://issues.redhat.com/browse/WFLY-19116

Required for wildfly/wildfly#17703

@github-actions github-actions bot added the deps-ok Dependencies have been checked, and there are no significant changes label Jan 5, 2024
@wildfly-ci

This comment was marked as outdated.

@yersan yersan added the 24.x label Jan 9, 2024
@wildfly-ci

This comment was marked as outdated.

@ehsavoie ehsavoie force-pushed the WFCORE-4917 branch 2 times, most recently from 3568288 to 1ef65d1 Compare January 26, 2024 14:32
@ehsavoie
Copy link
Contributor Author

@yersan all should be fixed :)

Copy link
Collaborator

@yersan yersan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to me, just a minor variable removal nit. However, they would need also a consensus about how WildFly full is going to handle a banner. I am assuming full is going to overwrite both banner.txt file and the galleon package name

@bstansberry / @pferraro / @ehsavoie could you add your feedback here about how we plan to handle it in WildFly full? thanks

@@ -15,6 +15,7 @@
<prop name="--internal-remove-config" value=""/>
</props>
<packages>
<package name="banner" optional="true"/>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My initial concern here was more about how this will affect WildFly full. If this package were enabled in full, we would get the WildFly Core banner in WildFly full. I don't know what are the plans for a banner in WildFly full, if there is one, I guess it will overwrite the banner.txt with its banner and it will use the same package.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can use a WildFly banner instead

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes the idea is to provide the same package with a WildFly Full banner

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bstansberry Do yo agree with that ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't approved wildfly/wildfly#17703 yet, but the basic design there that's reflects this PR is fine with me.

I like that there is no banner.txt here in wildfly-core. It's not needed for how we use the wildfly-core feature pack and can only result in problems.

@wildfly-ci
Copy link

Core -> Full Integration Build 13208 outcome was UNKNOWN using a merge of ef0297b
Summary: Canceled Build time: 00:01:01

@wildfly-ci
Copy link

Core -> Full Integration Build 13449 outcome was UNKNOWN using a merge of ef0297b
Summary: Canceled Build time: 00:01:32

@wildfly-ci
Copy link

Core -> WildFly Preview Integration Build 13271 outcome was UNKNOWN using a merge of ef0297b
Summary: Canceled Build time: 00:01:32

@wildfly-ci

This comment was marked as outdated.

@wildfly-ci

This comment was marked as outdated.

@wildfly-ci
Copy link

Core -> WildFly Preview Integration Build 13387 outcome was FAILURE using a merge of b9096b1
Summary: Exit code 1 (Step: Build core (Maven)) (new) Build time: 00:01:53

@wildfly-ci
Copy link

Core -> Full Integration Build 13330 outcome was FAILURE using a merge of b9096b1
Summary: Exit code 1 (Step: Build core (Maven)) (new) Build time: 00:01:57

@wildfly-ci
Copy link

Core -> Full Integration Build 13572 outcome was FAILURE using a merge of b9096b1
Summary: Exit code 1 (Step: Build core (Maven)) (new) Build time: 00:02:05

@ehsavoie ehsavoie force-pushed the WFCORE-4917 branch 2 times, most recently from 20688b3 to 2eb6a7e Compare March 13, 2024 08:15
@bstansberry bstansberry added the Feature This PR adds a new feature to WildFly label Mar 18, 2024
@wildfly-ci
Copy link

Core -> Full Integration Build 13609 outcome was FAILURE using a merge of b25e44a
Summary: Compilation error: Compiler (new) Build time: 00:00:50

@wildfly-ci
Copy link

Core -> Full Integration Build 13363 outcome was FAILURE using a merge of b25e44a
Summary: Compilation error: Compiler (new) Build time: 00:01:15

@wildfly-ci
Copy link

Core -> WildFly Preview Integration Build 13420 outcome was FAILURE using a merge of b25e44a
Summary: Compilation error: Compiler (new) Build time: 00:01:15

* Add support for a cool ASCII art banner via a banner.txt in the $JBOSS_HOME/bin directory.

Jira: https://issues.redhat.com/browse/WFCORE-4917

Signed-off-by: Emmanuel Hugonnet <[email protected]>
@bstansberry
Copy link
Contributor

@yersan the handling in full WF is fine; I've approved wildfly/wildfly#17703

@yersan yersan added the ready-for-merge This PR is ready to be merged and fulfills all requirements label Mar 22, 2024
@yersan yersan merged commit 03953f4 into wildfly:main Mar 22, 2024
12 checks passed
@yersan
Copy link
Collaborator

yersan commented Mar 22, 2024

Thanks @ehsavoie / @bstansberry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deps-ok Dependencies have been checked, and there are no significant changes Feature This PR adds a new feature to WildFly ready-for-merge This PR is ready to be merged and fulfills all requirements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants