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

Handle java_library being remapped with map_kind #199

Merged
merged 2 commits into from
Aug 31, 2023

Conversation

Ignas
Copy link
Contributor

@Ignas Ignas commented Aug 30, 2023

When preserving runtime dependencies of existing rules use the new rule name if it was remapped.

Copy link
Collaborator

@illicitonion illicitonion left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

It looks like you're missing a (empty) file at java/gazelle/testdata/lib_with_runtime_deps_and_map_kind/WORKSPACE which means this isn't being picked up as a new test?

And if you add that, I think there's an extra trailing -data and the end of java/gazelle/testdata/lib_with_runtime_deps_and_map_kind/expectedStderr.txt

Otherwise, happy to merge - thanks!

@Ignas
Copy link
Contributor Author

Ignas commented Aug 30, 2023

Ahh, indeed, sorry, lost the WORKSPACE during migration of the patch from one repo to another, thanks for spotting it.

Copy link
Collaborator

@illicitonion illicitonion left a comment

Choose a reason for hiding this comment

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

Thanks!

@illicitonion illicitonion merged commit 98138f2 into bazel-contrib:main Aug 31, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants