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

Deprecate class cloning configuration #41623

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

holly-cummins
Copy link
Contributor

@holly-cummins holly-cummins commented Jul 2, 2024

In #17306 the class cloning was made configurable, to make Pact work with Quarkus. With recent versions of Quarkus and the Pact extension, this config is not necessary. Even https://github.com/skattela/pact-workshop-jvm-quarkus, which is older, does not use the config.

I’ve searched through public codebases, and I do not believe this configuration is widely used. https://github.com/search?q=quarkus.test.class-clone-pattern%3D&type=code shows only 6 usages of quarkus.test.class-clone-pattern in configuration files, all in commented out boilerplate. Searching for the camel case version, CLASS_CLONE_PATTERN= gave no instances: https://github.com/search?q=CLASS_CLONE_PATTERN%3D&type=code
In my searches, I added the equals sign so filter out config documentation and forks of the quarkus repo, which do reference the property name.

Whether we explicitly remove the configurable part of the cloning process (#41621), or just remove the whole class cloning (#34681), we should get rid of this unused knob.

@quarkus-bot

This comment has been minimized.

@holly-cummins
Copy link
Contributor Author

Hard to see how these failures could be related to my change :/

@geoand
Copy link
Contributor

geoand commented Jul 3, 2024

That test has been failing on a lot of PRs since a few hours ago

@geoand
Copy link
Contributor

geoand commented Jul 3, 2024

I think main has already been fixed, so please rebase.

Thanks

@geoand geoand added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Jul 3, 2024
@gsmet gsmet merged commit 40d4b8a into quarkusio:main Jul 3, 2024
52 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.13 - main milestone Jul 3, 2024
@quarkus-bot quarkus-bot bot removed the triage/waiting-for-ci Ready to merge when CI successfully finishes label Jul 3, 2024
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.

4 participants