Roundcube Community Forum

Miscellaneous => Roundcube Discussion => Topic started by: Crupuk on November 12, 2009, 05:44:13 AM

Title: Url to get current version number ?
Post by: Crupuk on November 12, 2009, 05:44:13 AM
Hello,

I'm trying to create a php script to see if there is any update on my installation.

For that i use the autocheck methode from Php script ( Like phpbb, punbb, dotclear, wordpress, phpmyadmin, piwik , ...)

I would like to add roundcube to this script.

Do you have any method to get the last version of roundcube?

For exemple :

http://phpmyadmin.net/home_page/version.php
http://download.dotclear.net/versions.xml
http://www.phpbb.com/updatecheck/30x_qa.txt
http://fluxbb.org/latest_version
http://api.piwik.org/1.0/getLatestVersion/

Could you help me ?

Thanks !
Title: Url to get current version number ?
Post by: SKaero on November 12, 2009, 05:58:19 AM
I don't know of a version file for RoundCube, showing the version can be a security risk.
Title: Url to get current version number ?
Post by: Crupuk on November 12, 2009, 06:04:47 AM
Quote from: skaero;23042I don't know of a version file for RoundCube, showing the version can be a security risk.


I  just ask if there is a way to know the the number of the last release (By contacting roundcube.net)

The script was password protected, and i never show my version.
Just if there is a update available, and the link.

Not for everyone, just for the administrator.

(I don't want to show MY version to the world !!! )

Thanks ;-)
Title: Url to get current version number ?
Post by: JohnDoh on November 12, 2009, 11:00:56 AM
the current version number is printed on the green button on the front page, there is also an RSS feed at sourceforge which has all the latest info take a look around here Roundcube Webmail | Get Roundcube Webmail at SourceForge.net (http://sourceforge.net/projects/roundcubemail/)
Title: Url to get current version number ?
Post by: Crupuk on November 13, 2009, 07:06:23 AM
Thanks .....:(

I actualy search a solution to get the number (get html file content and regex) .

But i'm not sure that was the right solution because the site can change format, change app name or paquet name..

I think that i can forget to add this check for roundcube !

(http://img27.imageshack.us/img27/3144/getlastversion.jpg)

Thanks for all.
Title: Url to get current version number ?
Post by: rosali on November 13, 2009, 07:36:51 AM
I could offer something like


<<@VERSION:0.3.1|SVNr3101>>


@ myroundcube - Project Hosting on Google Code (http://myroundcube.googlecode.com)
Title: Url to get current version number ?
Post by: Crupuk on November 13, 2009, 10:06:57 AM
It's perfect,

Thanks to you !

(How long do you think it's take to update the number version on google code ? )
Title: Url to get current version number ?
Post by: rosali on November 14, 2009, 12:55:55 AM
If I'm not on vacation the release version will be updated very close. The SVN revision number will be updated every time I release a new myroundcube plugins bundle.