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

Restore and deprecate GlobUtil in core-deployment #22791

Merged

Conversation

aloubyansky
Copy link
Member

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.

import java.util.regex.Pattern;

/**
* @deprecated in favor of {@link io.quarkus.util.GlobUtil}
Copy link
Member

@gsmet gsmet Jan 11, 2022

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.

Copy link
Member Author

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?

Copy link
Member

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?

Copy link
Member Author

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.

Copy link
Member

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.

Copy link
Member

@gsmet gsmet left a 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.

@gsmet gsmet merged commit 5819320 into quarkusio:main Jan 12, 2022
@quarkus-bot quarkus-bot bot added this to the 2.7 - main milestone Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants