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

Create start.d/*.ini for [ini-template] modules #12593

Merged
merged 3 commits into from
Nov 28, 2024

Conversation

joakime
Copy link
Contributor

@joakime joakime commented Nov 27, 2024

  • Will always create ini file if the module is enabled directly or via transitive dependency AND it has a [ini-template] section.

As as have many modules that now have [ini-template], it's getting confusing for users that want to configure something, but they didn't directly declare the module in the --add-module command line.

A prime example is if they enable --add-module=https the https module is enabled, but it has no [ini-template] and the dependent module ssl also isn't created in start.d/ssl.ini as it wasn't specified.

With the changes in this PR, the above example would also have the start.d/ssl.ini created.

* Will always create ini file if
  the module is enabled directly
  or via transitive dependency
  AND it has a [ini-template] section.
@joakime joakime requested review from gregw and sbordet November 27, 2024 16:50
@joakime joakime self-assigned this Nov 27, 2024
Copy link
Contributor

@sbordet sbordet left a comment

Choose a reason for hiding this comment

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

Also the documentation would need to be updated.
I can do it, if you want.

@joakime joakime requested a review from sbordet November 27, 2024 20:33
…created for transitive dependencies.

Signed-off-by: Simone Bordet <[email protected]>
@sbordet
Copy link
Contributor

sbordet commented Nov 28, 2024

@joakime I have updated the documentation, please review (even if it's your PR).

@joakime joakime merged commit 7be7d0e into jetty-12.1.x Nov 28, 2024
9 checks passed
@sbordet sbordet deleted the fix/12.1.x/always-present-ini-templates branch November 29, 2024 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants