The long awaited: Automatic notification of a new EAP build!!!
Well... sort of...
The thing is that I've created a tiny python script that retrieves the text of the Announce (EAP) forum and parses out the first line in that forum... it keeps track of it and every half an hour it checkes back to see if anything has changed. If so, it sends me an email.
Now... I could have it send an email to a mailing list... and actually I've done that but I only have access to a linux server that can't send mail outside of the domain... and my dear sys admin is taking his summer vacation so I can't ask him to add the MX to the DNS for that server!
So... I'm attaching the files for anyone who would want to set this up and it would be so great if someone would be willing to set it up on a server and connect it to a mailing list. I could assist that person in doing so... all you'd have to have is a linux server that has mailman set up (and working... so that anyone can subscribe and it can send mail to people outside of the domain that the server is running in).
Hope to hear from someone who's willing to set this thing up.
Attachment(s):
idea_watch.py
idea_watch.config
idea_watch.cron
idea_watch.sh
idea.last
请先登录再写评论。
I had to remove the config file for a while... it'll be up again soon.
It's back up.
Ok.. so this has to be done in order to get these things working:
Prerequisites:
1) must have python
2) the user must be able to set up a crontab
Setup:
1) copy all the file attachments to a new directory on the server
2) change the second line in the idea_watch.sh so that it cd's to the directory you just put the files in
3) make the shell script executable (chmod u+x idea_watch.sh)
4) change the idea_watch.config file and fill out all the parameters for the mail server and list (or your address if you're only setting this up for yourself)
5) try it by running "./idea_watch.sh"
6) add it to your crontab ("crontab idea_watch.cron")
NOTE that the cron file sets this up to run at every half hour... you can of course change that if you like.
Hope this makes someone happy (except for me who got to brush the dust of python... I really liked that).
Kind regards, Stefan.
On Fri, 04 Jul 2003 10:55:08 +0000, Stefan Freyr Stefansson wrote:
What would be cool is if Jetbrains set up an RSS feed for
news/annoucements, then we could just add the IntelliJ news feed to
whatever automated aggregation/newscollecting tool we use...
Why couldn't you have made this an IDEA plugin? (The versiontracker or whatever plugin doesn't work with aurora. Or at least 833.)
+10
Man... you guys are really ungrateful! ;o)
Here's the IDEA plugin for ya... I doubt that I'll be maintaining it... I tried to make it as resistant to errors as I possibly could but these things are in themselves very fragile. Let us at least hope that they don't go changing the color of the forums or stop putting the version number in the subject of their announcement posts.
Well... anyways... here it is... just drop it into your plugins/ directory under IDEA.
I would still like to have a mailing list however.
Attachment(s):
VersionChecker.jar
for developing the plugin:
i got this error:
i'm behind a proxy!!!
See why I'd like to have a mailing list? ;o)
A firewall would do that to you. The plugin tries to connect straight to the www.intellij.net web forums.
Since I don't really know the first thing about the OpenAPI and I don't have time to get into it I'm afraid that I don't have any idea how to create a settings panel for this plugin so that you can enter your proxy settings. If somebody is able/willing to do that I'd be more than happy to modify my code to use that information (but then again, it's such a trivial task that the person creating the preference panel could probably do that all by themselves).
If anyone is interested the code to the plugin is available here: http://www.intellij.org/twiki/bin/view/Main/VersionChecker (bottom of the page, version 0.93).
If you want to you could create a "personalized" plugin for you alone since the plugin is very trivial.
Sorry that I can't help you more than that.
Just add the system properties
-Dhttp.proxyHost= -Dhttp.proxyPort=]]>
to idea.bat
You can also set the proxy configuration (actually any JVM command line parameter)
system-wide with the JAVAOPTIONS environment-variable:
JAVAOPTIONS=-Dhttp.proxyHost= -Dhttp.proxyPort=]]>
Sascha
no problem.
can EVERYBODY provide/checkin a new version on the plugin-page?
if this is possible, every new version developed by anyone can be provided under http://www.intellij.org/twiki/bin/view/Main/VersionChecker
what do you think about this solution of the problem?
That's what I did. I just took the plugin and modified it to use the announcement forums as well as using regular expressions to parse the info and then I posted the new version.
So your idea sounds great ;o)
i start IDEA with the .exe not with the .bat file!
Then add it to idea.lax - probably in
c:\Intellij-IDEA-856\bin:
lax.nl.java.option.additional=-Xms16m -Xmx128m -Dsun.java2d.noddraw=true -Didea.system.path="..
system" -Didea.config.path="..
config" -Didea.popup.weight=heavy -Dhttp.proxyHost=blah -Dhttp.proxyPort=blah
great that works.
THANK YOU
I fixed a bug that was exposed by the new single-thread announcement topic in the EAP Announcements forum. Bumped version to .94. This plugin must have not been working since about August 12th when the new topic was started.
Get the new version here: http://www.intellij.org/twiki/bin/view/Main/VersionChecker
Here is the "conventional" way:
1) go to the forum "Announcements (EAP)"
2) open the topmost message: "Aurora Build Announcements"
3) click "Watch this topic"
4) click "Add email notification"
...and you will be informed about new builds by email.