Hey,

Before I ask my question, please note that I am aware of Drush. I have ssh access to my server, but the firewall blocks port 2401 (cvs). Also, Drush requires PHP 5.2 or above, and that's not available on each account that I manage. In addition, Drush requires a settings.php file to operate, which is not available on my desktop machine.

My workaround is to use CVS on my desktop computer to update to the latest core/modules, then rsync that to each account that I manage.

I would like to write a PHP script that would download/update the Drupal core and selected modules to the latest STABLE version. Is there an XML feed (or any way) to get a list of the current stable releases that is parse-able for use in a PHP script? I was hoping that maybe something like this is used in the built-in "Drupal core update status".

Thanks,

mitz

Comments

mitz’s picture

FOLLOW UP: I think I may have found my answer in the update module code.

http://updates.drupal.org/release-history/*module*/*core*

Where *module* is replaced by project name (e.g. 'cck') and *core* is replaced by the core entry in the .info file of the specific module.

Example: http://updates.drupal.org/release-history/cck/6.x