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

Mark most JVM-based subsystems as exportable #20788

Merged
merged 2 commits into from May 22, 2024

Conversation

lilatomic
Copy link
Contributor

Converts all JVM tools which are subsystems to use ExportableTool for lockfile generation.

Some internal tools still use GenerateJvmToolLockfileSentinel subclasses. They aren't subsystems, so they'd need some more work. We could either convert them into subsystems (as is done in Python-based backends) although if we don't plan on exposing them (which is the current case) we could also remove the subclass and rule and replace it with a function.

@lilatomic lilatomic added backend: JVM JVM backend-related issues category:internal CI, fixes for not-yet-released features, etc. labels Apr 14, 2024
@lilatomic
Copy link
Contributor Author

I categorised this one as an internal change because you could already generate lockfiles for these tools (unlike Python, where you couldn't).

@lilatomic lilatomic requested review from benjyw and tdyas April 17, 2024 18:35
@huonw
Copy link
Contributor

huonw commented May 8, 2024

Given this is tagged category:internal I wonder if we don't need to call this out in the JVM release notes... but if it is worth it, please merge main (or rebase onto it) and add some release notes to docs/notes/2.22.x.md. See #20888 for more info.

@lilatomic
Copy link
Contributor Author

I called it out, it can't hurt and if we did cause problems then someone debugging can get a hint.

@tdyas tdyas merged commit 6dd925a into pantsbuild:main May 22, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend: JVM JVM backend-related issues category:internal CI, fixes for not-yet-released features, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants