Hi there,

Could anyone tell me if there is away of running a command from the command line which says

"update all modules to their latest official release (if any) which is supported by the current installed version of Drupal core"

ie in one cvs command I want to check for any official release updats for all my modules, and if there are any then I want to have cvs automatically update then. However, say if I currently have Drupal version 5.x installed - then I don't want any of my modules updated what is intended for version 6.x

Thanks in advance,
Michelle

Comments

MidGe48’s picture

Unfortunately, that is not available, afaik. There are good reasons why it is not available. The upgrade to various modules can follow different processes or needs. Modules are contributed by different groups, all giving their time voluntarily and all that would have to work even in concert than it already is. this is probably too heavy a burden, especially given all the possible configurations. So, at least for the time being, you ,and everyone else, will have to do it the hard way, which is not that hard, quite easy, mostly, in fact.

Enjoy,

www.ZuNOB.com

michellepace’s picture

Thank-you for the reply.

I have found what I was looking for from http://drupal.org/node/93966:

Checking for updates to core and contribs
% cvs -nq update -dP

If updates are available, this will display output similar to:

U modules/taxonomy/taxonomy.module
U modules/upload/upload.module

The 'U' means that the listed file is newer, or "updated" from the one you have in your local copy.