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

rewrite-json not to depend on rewrite-yaml #5210

Merged

Conversation

greg-at-moderne
Copy link
Contributor

@greg-at-moderne greg-at-moderne commented Mar 24, 2025

What's changed?

Similar to #5209.
Making rewrite-json module not to depend on rewrite-yaml.

What's your motivation?

To speed up the CI builds in this project.
I noticed that for my PR which changed rewrite-yaml a lot of modules were built. And one of them was rewrite-json which I couldn't find an explanation for.
image

It seems like the dependency is not needed at all.

@greg-at-moderne greg-at-moderne self-assigned this Mar 24, 2025
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Some suggestions could not be made:

  • rewrite-java/src/main/java/org/openrewrite/java/search/FindMissingTypes.java
    • lines 102-102

@greg-at-moderne greg-at-moderne marked this pull request as ready for review March 24, 2025 11:30
@greg-at-moderne greg-at-moderne merged commit 9e22d81 into main Mar 24, 2025
2 checks passed
@greg-at-moderne greg-at-moderne deleted the greg-rewrite-json-not-to-depend-on-rewrite-yaml branch March 24, 2025 11:30
@greg-at-moderne
Copy link
Contributor Author

Confirmed it worked. The subsequent build of a similar code change didn't have rewrite-json:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant