-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Restore and deprecate GlobUtil in core-deployment #22791
Restore and deprecate GlobUtil in core-deployment #22791
Conversation
import java.util.regex.Pattern; | ||
|
||
/** | ||
* @deprecated in favor of {@link io.quarkus.util.GlobUtil} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not related to this PR but I think it's a bad idea to use io.quarkus.util
in the bootstrap project. Chances of having a split package later are very high.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want me to move it to io.quarkus.bootstrap.util
or something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know what the exact package should be. I had a look at the various bootstrap artifacts and they are very prone to end up with split packages as they all share the same namespace.
You would already have one but you have util
in one and utils
in the other :).
I'm not exactly sure if this can be fixed so late. Maybe we should talk about it on Zulip tomorrow?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we may want to split the bootstrap-core in more modules in perspective. E.g. there is an overlap with dev tools.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it's about splitting things in more modules. My concern is that we should have a properly separated root package for each of the existing modules.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm merging this as my concerns are not really related to this PR.
The class was moved to the bootstrap project as
io.quarkus.util.GlobUtil
in #22673.quarkus-jberet
in the quarkiverse org has a dependency on it though.