Author Topic: Url to get current version number ?  (Read 8607 times)

Offline Crupuk

  • Newbie
  • *
  • Posts: 8
Url to get current version number ?
« 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 !

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Url to get current version number ?
« Reply #1 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.

Offline Crupuk

  • Newbie
  • *
  • Posts: 8
Url to get current version number ?
« Reply #2 on: November 12, 2009, 06:04:47 AM »
Quote from: skaero;23042
I 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 ;-)

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,856
Url to get current version number ?
« Reply #3 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
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline Crupuk

  • Newbie
  • *
  • Posts: 8
Url to get current version number ?
« Reply #4 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 !



Thanks for all.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Url to get current version number ?
« Reply #5 on: November 13, 2009, 07:36:51 AM »
I could offer something like


<<@VERSION:0.3.1|SVNr3101>>


@ myroundcube - Project Hosting on Google Code
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Crupuk

  • Newbie
  • *
  • Posts: 8
Url to get current version number ?
« Reply #6 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 ? )

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Url to get current version number ?
« Reply #7 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.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)