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

Relocate antlr-runtime #54

Merged
merged 2 commits into from
Nov 2, 2021
Merged

Conversation

snazy
Copy link
Member

@snazy snazy commented Oct 29, 2021

Fixes #52

@snazy snazy requested a review from omarsmak October 29, 2021 16:50
@codecov
Copy link

codecov bot commented Oct 29, 2021

Codecov Report

Merging #54 (5341112) into main (8e31b56) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##               main      #54   +/-   ##
=========================================
  Coverage     79.92%   79.92%           
  Complexity     1753     1753           
=========================================
  Files            97       97           
  Lines          7611     7611           
  Branches       1117     1117           
=========================================
  Hits           6083     6083           
  Misses         1021     1021           
  Partials        507      507           
Flag Coverage Δ
java 79.92% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...main/java/org/projectnessie/cel/parser/Helper.java 95.69% <ø> (ø)
...main/java/org/projectnessie/cel/parser/Parser.java 80.85% <ø> (ø)
...org/projectnessie/cel/parser/StringCharStream.java 58.82% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8e31b56...5341112. Read the comment docs.

dependencies {
include(dependency("org.antlr:antlr4-runtime"))
}
relocate("org.antlr.v4.runtime", "org.projectnessie.cel.parser.gen.antlr.v4.runtime")
Copy link
Contributor

@omarsmak omarsmak Nov 2, 2021

Choose a reason for hiding this comment

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

Does it make sense if we keep the shaded package name as it is and add shaded prefix (something similar to Iceberg)? e.g: org.projectnessie.cel.shaded.org.antlr.v4.runtime. In order to distinguish that is shaded from org.antlr.v4.runtime

Copy link
Member Author

Choose a reason for hiding this comment

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

Yup - updated the package name

Copy link
Contributor

@omarsmak omarsmak left a comment

Choose a reason for hiding this comment

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

LGTM

@snazy snazy merged commit 6dc6377 into projectnessie:main Nov 2, 2021
@snazy snazy deleted the shade-antlr-runtime branch November 2, 2021 12:11
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.

Shade antlr-runtime + bump antlr to recent version
2 participants