-
Notifications
You must be signed in to change notification settings - Fork 7
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
Use EISOP CF sources #118
Use EISOP CF sources #118
Conversation
…er-framework into gradle-8.0
… into merge-eisop
… into merge-eisop
initialize-project
Outdated
@@ -69,4 +73,4 @@ git_clone jspecify --no-single-branch | |||
|
|||
git_clone jdk --depth 1 --single-branch | |||
|
|||
git_clone checker-framework | |||
git_clone checker-framework --depth 1 --single-branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have a SHALLOW
environment variable that users can set to enable this. That might be better than hard-coding (which, admittedly, we do for the JDK, but it's truly huge). I don't remember exactly how much thought we gave to all this, though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The point of $SHALLOW
is to allow CIs like GitHub actions to avoid cloning any commits they don't care about. If you're just running tests for CI you don't need to check any past commits out.
I think if someone has their own fork of eisop we wouldn't want them to clone only one branch. I would suggest continuing to rely on $SHALLOW
(defined externally) for checker-framework
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really related to this PR, but:
I wonder if that's worth investigating someday.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had a quick look at this post:
https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/
It seems to generally prefer the blob-less mode. For CI, where one only has a single build, continuing to use --depth 1
seems okay. But as this script is for developer set-up, using blob-less might be better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's postpone that to a different PR. It's not related to switching to EISOP.
initialize-project
Outdated
@@ -69,4 +73,4 @@ git_clone jspecify --no-single-branch | |||
|
|||
git_clone jdk --depth 1 --single-branch | |||
|
|||
git_clone checker-framework | |||
git_clone checker-framework --depth 1 --single-branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The point of $SHALLOW
is to allow CIs like GitHub actions to avoid cloning any commits they don't care about. If you're just running tests for CI you don't need to check any past commits out.
I think if someone has their own fork of eisop we wouldn't want them to clone only one branch. I would suggest continuing to rely on $SHALLOW
(defined externally) for checker-framework
.
src/main/java/com/google/jspecify/nullness/NullSpecVisitor.java
Outdated
Show resolved
Hide resolved
Interesting!
but
Score went up from 13.1% to 39.1%. Woohoo! |
I see a failure of depending on that zip artifact. Do you need to merge Once that's fixed, you can run the following to generate changes to the conformance test reports to reflect the current behavior:
|
It looks like this PR is even with I do see this failure:
locally and on CI. I tried cleaning, updating, and rebuilding everything, but I still get this error. |
Yes, that's the error I mean. That directory should have been created when unzipping. |
This was jspecify/jspecify#436 fixed by jspecify/jspecify#437. |
…hecker into use-eisop
Co-authored-by: David P. Baker <[email protected]>
Co-authored-by: David P. Baker <[email protected]>
Co-authored-by: David P. Baker <[email protected]>
Co-authored-by: David P. Baker <[email protected]>
Co-authored-by: David P. Baker <[email protected]>
This is a follow-up to #116.
Instead of merging into the
main
branch and breaking CI, this PR merges into a newmain-eisop
branch. CI for that branch will still fail, but we'll have a cleanmain
branch and can have smaller PRs againstmain-eisop
until that branch passes CI or is considered good enough.