Repository navigation
Use EISOP CF sources - #118
Conversation
…er-framework into gradle-8.0
… into merge-eisop
… into merge-eisop
| 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.
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.
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.
Not really related to this PR, but:
I wonder if that's worth investigating someday.
There was a problem hiding this comment.
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.
Let's postpone that to a different PR. It's not related to switching to EISOP.
| 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.
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.
|
Interesting! but Score went up from 13.1% to 39.1%. Woohoo! |
Co-authored-by: David P. Baker <dpb@google.com>
…hecker into use-eisop
…hecker into use-eisop
|
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 <dpb@google.com>
Co-authored-by: David P. Baker <dpb@google.com>
Co-authored-by: David P. Baker <dpb@google.com>
Co-authored-by: David P. Baker <dpb@google.com>
Co-authored-by: David P. Baker <dpb@google.com>
This is a follow-up to #116.
Instead of merging into the
mainbranch and breaking CI, this PR merges into a newmain-eisopbranch. CI for that branch will still fail, but we'll have a cleanmainbranch and can have smaller PRs againstmain-eisopuntil that branch passes CI or is considered good enough.