-
Notifications
You must be signed in to change notification settings - Fork 276
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
runPluginVerifier doesn't resolve latest EAP versions (maybe due to caching) #848
Comments
from https://github.com/JetBrains/gradle-intellij-plugin/#plugin-verifier-dsl: AFAIU to target EAP you must specify exact build number. OTOH this is not necessary after RC, after which there will be no binary changes until GA. |
Hi @YannCebron - I didn't need to specify the exact build number of EAP versions, It worked, and it downloaded the EAP version available at that time. As it was caching the information, it then didn't update the download when new EAP versions became available, and eventually the real release was available. It still "seemed" to work, but used an old version. That was confusing. I can now avoid it by always specifying the build number. Once I specify a release number of an EAP, my local cache is "polluted" with a previous download. |
I just noticed a cache issue with EAP versions as well. Using the following configuration: intellij {
version = "233-EAP-SNAPSHOT"
type = "IC"
}
tasks {
patchPluginXml {
sinceBuild = "233"
untilBuild = "233.*"
}
runPluginVerifier {
// Don't set the ideVersions, but let listProductsReleases provide them
}
} This results in the
As a result the plugin verifier will cache Wouldn't it make sense to output the build number instead of the build version for non-release builds? |
In my plugin's setup, I added
2021.3
to run the verifier against the latest EAP release.Looking at my build logs, I found that it cached an old EAP version and never updated it (IC-213.3714.440 in my case).
As a workaround (or solution?) I now specify the EAP build using IC-213.5744.202 in the properties (see asciidoctor/asciidoctor-intellij-plugin@8c70059).
How should this be used, and how is it supposed to work regarding EAP versions?
The text was updated successfully, but these errors were encountered: