Hi,
i'm a bit confused as how to handle module updates.

For drupal core, it is simple: you have numbers: 4.7...4.7.1....4.7.2.....

But for modules, you only have one number: 4.7 . Still, some modules are updated almost daily but the number doesn't change.
So how are we supposed to do ? Lets say I installed a module a month ago, and a new version of the module comes out that fixe a problem.

How should I do the update ? Should I just replace existing files ? What about database alteration if any ? And what about all the possible "udpate" that may have happened between the time I installed the module, and the time I decided to upgrade it ?

Thanks,
Brakkar

Comments

dmitrig01’s picture

CVS.

::::::::::::::::::::::::::
My opinion of drupal:
The best of the best
What I have to say about drupal:

Drupal, my hero

::::::::::::::::::::::::::

Robardi56’s picture

The generic 4.x versions are updated almost as often as the .cvs versions so your answer doesn't help much.

For example, if you go there : http://drupal.org/node/28069/release#version-4.6.0 you can see that all 3 versions were all updated on april 8. What If I installed this module on april 1st ? How should I perform the update ?

Brakkar

killes@www.drop.org’s picture

You should read the install instructions that comes with each module. Most modules don't have many changes to the database. As of Drupal 4.7. contributed modules should use the install mechanosm provided by Drupal core. You then simply need to run update.php.
--
Drupal services
My Drupal services

Robardi56’s picture

Hi,
is the new 4.7 module update feature documented ? Couldn't find it.

Thanks,
Brakkar

jonhattan’s picture

I've migrated some sites to 4.7 and after untaring the modules, I've checked update.php and it shows modules for which database updates will be performed. I found it by intuition :)

myriad’s picture

I'm just as confused about modules. When searching through the CVS you get a huge list of modules but so many of them are not compatible with 4.7. And sometimes I don't know what version the module is for as it's not documented well. Thanks to the new module install system, I can guess which modules are for 4.7 more easily, but not until I untar them. And finally, some modules that do work with 4.7 have a 4.6 file name (when not sifting through cvs)! It just means that I have to spend a lot more time testing, but at least I'm learning the ins and outs.

hectorplus’s picture

I agree, some of the modules like you said have a wrong version number. I find it out after i install the modules if it works or not.

And how do CSV work? I see a lot of csv, i am totally new to it. How do i go about installing it?


tecito.com


Comunidad Latina en Canada, regístrate ya! Join the growing latin community in Canada.

larry moore’s picture

I'm new to cvs as well. Here is what I found :

You can broswe cvs here.
Or here is an example from the workspace module

To check the latest version out of CVS for the first time, login
by running the command:

cvs -d:pserver:anonymous@cvs.drupal.org:/cvs/drupal login

Enter anonymous as the password. Now you are logged in.

To check out the latest workspace module, run the command:

cvs -d:pserver:anonymous@cvs.drupal.org:/cvs/drupal checkout contributions/modules/workspace

--
larrymoore.org