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

listProductsReleases is empty if no until build version is set #909

Closed
olivernybroe opened this issue Feb 28, 2022 · 6 comments
Closed

listProductsReleases is empty if no until build version is set #909

olivernybroe opened this issue Feb 28, 2022 · 6 comments
Assignees
Labels
Milestone

Comments

@olivernybroe
Copy link

I am using the https://github.com/JetBrains/intellij-platform-plugin-template template and I don't have an until build set in my properties file.
By not doing this, my plugin is installable on all versions that are after the since version.
However running the listProductsReleases results in an empty file when doing this.

@hsz hsz self-assigned this Mar 1, 2022
@hsz hsz added the bug label Mar 1, 2022
@hsz hsz added this to the next milestone Mar 1, 2022
@hsz
Copy link
Member

hsz commented Mar 24, 2022

In fact, if you have no untilBuild specified, it's patched to the sinceBuild.*, like:

And for this configuration I have a correct list of one version:

> Task :listProductsReleases
IC-2021.1.3

Can you please provide more details?

@olivernybroe
Copy link
Author

@hsz Alright, so when I have my properties file the following way

pluginSinceBuild = 212
pluginUntilBuild =

and then run patchPluginXml, it will generate the following plugin.xml

  <idea-version since-build="212" />

When publishing this to the marketplace, it ends up like this
https://plugins.jetbrains.com/plugin/14636-pest/versions/stable/150186
image

Saying that all versions after 212 is supported.

This now means the plugin can be installed on 212, 213 etc..

However if I run the listProductsReleases, my listProductsReleases.txt is empty.

@hsz
Copy link
Member

hsz commented Mar 25, 2022

Thanks for the details – I was able to reproduce it and fix it.

@hsz hsz closed this as completed Mar 25, 2022
@madneal
Copy link

madneal commented May 3, 2022

@hsz the issue seems not had been fixed

@hsz
Copy link
Member

hsz commented May 3, 2022

Why? Could you please provide more details?

@madneal
Copy link

madneal commented May 3, 2022

@hsz Sorry, I cannot reproduce the issue. But I did came across the same issue as config like the above. And I have another issue, I am not sure if it's approriate to make it here.
I want to my plugin to compatible with the latest goland release.
image
I define as the following:

pluginSinceBuild = 211
pluginUntilBuild = 221.*

But it generates the error:

* What went wrong:
Execution failed for task ':runPluginVerifier'.
> Error while evaluating property 'ides' of task ':runPluginVerifier'
   > Failed to calculate the value of task ':runPluginVerifier' property 'ides'.
      > IDE 'GO-2022.1.2' cannot be downloaded. Please verify the specified IDE version against the products available for testing: https://jb.gg/intellij-platform-builds-list

I am not sure why 2022.1.2 version is created by listProductsReleasese. Is there any wrong with the defination. And I really know how listProductsReleases generate the versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants