Too all plugin writers
Important Notice for all Plugin Writers.
We have split IDEA 4.0 and IDEA Pallada versions of plugin.
As you can see in Plugin Repository (http://plugins.intellij.net) only one version is available.
Each version has an additional field "since-build".
All old plugins has since-build == '' It's means that this plugins will be available for IDEA 4.0 only
If you want to post plugin for IDEA Pallada, set in your plugin.xml since-build=]]>
So now you need to update your IDEA Pallada compatible plugins with since-build field and post it as a your plugin version into Plugin Repository.
I'm sorry for inconvenience.
P.S. Also some plugins has been lost when upgrading. Please, submit them again.
--
Stanislav Davydov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Please sign in to leave a comment.
I'm confused as to how this will work. If I post an update to my plugin with the updated plugin.xml, how will users with IDEA 4.0.x be able to use it? The plugin.xml will not match what 4.0.x expects. There is no longer a min and max for idea-version.
What about plugins that work fine with both 4.0.x and Pallada (4.5)? Do I upload two versions?
Rick
One other thing - what if I have a plugin that requires two different versions - one for 4.0.x and one for 4.5. How do I ensure that 4.0.x users can only download the version that works for them and 4.5 users can only download the version that works for them?
Seems to me there needs to be a since-build and a until-build indicating the last version a plugin is good for.
Thanks,
Rick
I believe that they will figure this out by looking if there is a version of the same plugin that has a "since-build" with a later version. If they do what you propose every author of an incompatible plugin will have to release 2 versions: one for the old with the only change of the "until-build" and one for the new with the "since-build"
Jacques
Great job! Thanks JB. This will make plugin author's life so much easier ;)
However can you rename the plugins that includes in their name an IDEA version name like the "myPlugin for IDEA Pallada" or "for IDEA 4.1". Just remove the version specification please.
Right now it would be very confusing if I upload a plugin version for IDEA 4.0 under "myPlugin for IDEA 4.1" ;)
thanks again
Jacques
Good thinking. Hopefully this is the way it works.
Rick
OK - I uploaded an update to my Copyright plugin to the plugins website. It shows up fine with a "since build" of 1162 (4.0). However, IDEA build 2155 doesn't see it and going to http://plugins.intellij.net/plugins/list shows the previous version, not the new one I added.
I just ran IDEA 4.0.3 and it is showing the latest version as being available.
Help.
Rick
Rick,
I agree that current plugin model is not quite good.
If you want to post plugin for IDEA 4.0.x users, specify following idea version <idea-version since-build=""/>
Unfortunately, if your plugin works fine with 4.0.x and Pallada, you need to post two versions of your plugin into Plugin
Repository.
--
Stanislav Davydov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Rick Maddy" <no_mail@jetbrains.com> wrote in message news:22693240.1088626493953.JavaMail.itn@is.intellij.net...
4.0.x be able to use it? The plugin.xml will not match what 4.0.x expects. There is no longer a min and max for idea-version.
>
>
Rick,
You need to post two version.
1) for IDEA 4.0.x has in plugin.xml following:
<idea-version since-build="" />
2) for IDEA Pallada (4.5):
<idea-version since-build="[put here IDEA build number which works with your plugin right]"/>
Users with different version of IDEA (4.0.x and Pallada) will see your version-targeted plugin in IDEA Plugins list.
until-build is implemented. See comments on front page of http://plugins.intellij.net
--
Stanislav Davydov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Rick Maddy" <no_mail@jetbrains.com> wrote in message news:26617637.1088627127391.JavaMail.itn@is.intellij.net...
that 4.0.x users can only download the version that works for them and 4.5 users can only download the version that works for them?
>
>
Jacques,
I remove plugins with IDEA version specification in their names.
--
Stanislav Davydov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Jacques Morel" <bibou644-jetbrains@yahoo.com> wrote in message news:26617055.1088642582955.JavaMail.itn@is.intellij.net...
>
IDEA 4.1". Just remove the version specification please.
>
>
Fixed.
"Rick Maddy" <no_mail@jetbrains.com> wrote in message news:23663140.1088651254109.JavaMail.itn@is.intellij.net...
However, IDEA build 2155 doesn't see it and going to http://plugins.intellij.net/plugins/list shows the previous version, not the
new one I added.
>
>
>
Like i said in my response to Rick, i hope you don't mandate the use
of until-build.
If I have
v1 since-build=2000
v2 since-build=2100
v3 since-build=2200
If I have IDEA build 2001 I should get v1
If I have IDEA build 2101 I should get v2
If I have IDEA build 2220 I should get v3
No need to close explictly the range since it is closed implicitely by
the next version published.
Another question: how many plugin version are you maintaining? 1 per
version? You will have to made the build number with an IDEA version
number.
Jacques
until-build is a optional subsidiary field.
IDEA get the latest version of plugin compatible with their version.
Number of plugins per IDEA version is not restricted.
"Jacques Morel" <bibou644-jetbrains@yahoo.com> wrote in message news:606659.1088735351840.JavaMail.itn@is.intellij.net...
>
>
>
>
Might I suggest that you directly email all plugin authors to let them know of this new requirement. Otherwise you will relase IDEA 4.5 and there will only be 6 plugins showing up in the plugin manager :(
Yes, I think so.
But I not permitted to do such notification.
So I'll be waiting for responsible person :)
--
Stanislav Davydov
Customer Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Rick Maddy" <no_mail@jetbrains.com> wrote in message news:11523389.1088798631353.JavaMail.itn@is.intellij.net...
IDEA 4.5 and there will only be 6 plugins showing up in the plugin manager :(
I just took the liberty of sending a notification to all the addresses I found in the plugin list xml file.
I hope people don't mind.
For the curious:
Out of 126 plugins, 67 had emails attached to them. Of those, 45 were unique email addresses.
Thank you :)
--
Stanislav Davydov
Customer Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Rick Maddy" <no_mail@jetbrains.com> wrote in message news:31430401.1088892413111.JavaMail.itn@is.intellij.net...
>
>
>
I just uploaded two versions of my Copyright plugin. One was labeled version 0.1.3-4.0.x and had since-build="" set in it. The other version was labeled 0.1.3-4.5.x and had since-build="1162".
Running IDEA 4.0.3 the plugin manager shows that version 0.1.3-4.5.x is available - that's not good.
Running IDEA build 2155 show the correct version.
Is there a bug in the plugin repository here?
Rick Maddy wrote:
it would be better to have a since-build to 2000+
--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Build 1162 is under the IDEA 4.0.3 (build 1182)
So everything is correct.
--
Stanislav Davydov
Moderator of http://plugins.intellij.net
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Rick Maddy" <no_mail@jetbrains.com> wrote in message news:6043734.1089239747822.JavaMail.itn@is.intellij.net...
other version was labeled 0.1.3-4.5.x and had since-build="1162".
>
>
>
My confusion comes from a reply you posted on July 1 that stated that a plugin that works for both 4.0.x and 4.5.x would need to be uploaded twice.
Now it appears that if a plugin works with both 4.0.x and 4.5.x, I just need to upload a single version of the plugin with a 'since-build' number appropriate for 4.0.x - is this correct?
You also stated that a plugin for 4.0.x must have a since-build="". This doesn't appear to be true either.
Maybe a detailed description of exactly what happens when 4.0.x requests the plugin list and what happens when 4.5.x requests the plugin list would help clear up any confusion.
Thanks,
Rick
On Thu, 08 Jul 2004 19:46:28 +0400, Rick Maddy wrote:
I just updated the available plugin list from build 2178 and then updated
the regex plugin. IDEA made these HTTP requests :
GET /plugins/list/?build=2178 HTTP/1.1
GET /pluginManager?action=download&id=RegexPlugin&build=2178 HTTP/1.1
I then did similarly from build 2174 and updated the Copyright plugin.
IDEA made these HTTP requests :
GET /plugins/list/?build=2174 HTTP/1.1
GET /pluginManager?action=download&id=Copyright&build=2174 HTTP/1.1
The list returned for 2174 didn't include the recently updated
GenerateToString plugin (which has since-build="2178").
For updating the list and then updating the Properties Editor plugin,
4.0.3 gives :
GET /plugins/list/ HTTP/1.1
GET /pluginManager?action=download&id=PropertiesEditor HTTP/1.1
since-build was "" in the majority of cases, and the highest build
number was 2000 (for Properties Editor, Axis TCP Monitor and Unit Test
plugins).
So it seems that recent builds include the 'build' request parameter and
the server app uses its value or absence to decide what to return in the
list of available plugins. Empirically, it looks like specifying
since-build="2000" will allow 4.0.3 and Pallada builds to use the same
plugin (even though 4.0.3 was build 1182 or 1183 or so).
HTH.
--
Mark Scott
mark@codebrewer.com
The last built is the key piece I was missing. It appears that if the request for the list of plugins doesn't specify a build, then 2000 is assumed. The result will then contain all plugins with a since-build of 2000 or less or no since-build at all.
If the request contains a specific build, then the result will contain all plugins that have a since-build less or equal to build (and an until-build greater or equal to build) but will not contain plugins that do not have a specific since-build.
That makes sense.
Summary for plugin developers.
1) If your plugin works as is with both 4.0.x and 4.5.x then submit a single plugin with a since-build appropriate for 4.0.x (lower than 2000).
2) If your plugin works with both but you need to create two different distributions due to API differences, then you need to submit two versions. The 4.0.x version should have since-build="" and the 4.5.x version should have since-build="2xxx" as appropriate.
3) If your plugin only works on 4.0.x then your submission should have since-build="".
4) If your plugin only works on 4.5.x then your submission should have since-build="2xxx" as appropriate.
Hope that's right.