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

Apply conventions to custom-checks project #5308

Merged
merged 1 commit into from
Feb 4, 2022

Conversation

anuraaga
Copy link
Contributor

@anuraaga anuraaga commented Feb 4, 2022

The custom-checks project is missing important conventions such as the release version of the artifact, so currently the project doesn't build when running the build with a newer version of Java than 11.

Luckily it's not too tedious to solve the circular reference.

@anuraaga anuraaga requested a review from a team as a code owner February 4, 2022 05:03
@anuraaga anuraaga marked this pull request as draft February 4, 2022 05:08
@anuraaga anuraaga force-pushed the custom-checks-conventions branch 3 times, most recently from 0025b59 to 42c414a Compare February 4, 2022 05:21
@anuraaga anuraaga marked this pull request as ready for review February 4, 2022 05:57
@@ -60,8 +62,9 @@ private static boolean isInternal(VisitorState state) {
if (packageTree == null) {
return false;
}
String packageName = packageTree.getPackageName().toString();
return INTERNAL_PACKAGE_PATTERN.matcher(packageName).find()
String packageName = state.getSourceForNode(packageTree.getPackageName());
Copy link
Member

Choose a reason for hiding this comment

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

👍

@anuraaga anuraaga merged commit 78f2129 into open-telemetry:main Feb 4, 2022
RashmiRam pushed a commit to RashmiRam/opentelemetry-auto-instr-java that referenced this pull request May 23, 2022
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.

None yet

2 participants