[imp] testing a second version of Horde

Lucien GENTIS lucien.gentis at lorraine.iufm.fr
Fri May 12 03:40:00 PDT 2006


Alain Fauconnet a écrit :

>On Fri, May 12, 2006 at 11:23:56AM +0200, lst_hoe01 at kwsoft.de wrote:
>  
>
>>Zitat von Alain Fauconnet <alain at ait.ac.th>:
>>
>>    
>>
>>>On Fri, May 12, 2006 at 11:04:30AM +0200, lst_hoe01 at kwsoft.de wrote:
>>>      
>>>
>>>>The change in Horde config files depend on the following :
>>>>- If it is the same major release without changing DB structure you are 
>>>>done
>>>>- If it only use some extension you can use the same DB and extend the
>>>>schema
>>>>- If it is a major upgrade you should use a other DB (Schema)
>>>>        
>>>>
>>>Yup. E.g. between 3.0 and 3.1: no joy, DB schema has changed, so you
>>>need to have to use different DBs thus no common address book between
>>>the two worlds, a major problem.
>>>      
>>>
>>If the new version only *extends* the given tables or add some more you 
>>can run the update script and use the same DB with both versions as the 
>>old installation simply ignores the new rows/tables.
>>    
>>
>
>You sure?
>
>Honesty, I haven't even tried but I certainly wouldn't bet my shirt on
>this.
>
>If you look at the code, there is a number of "INSERT ... VALUES
>('blah', 'blah',...)" statements. These will definitely fail if the number of
>columns in the table isn't the same.
>
>Greets,
>_A_
>  
>
So, I think doing it that way:

--- install test stuff in horde-test directory
--- make a dump of original DB
--- reimport this dump under the name horde-test
--- run the update script from horde-test installation if necessary

-- 
Lucien GENTIS
IUFM de Lorraine
Centre de Ressources Informatiques
5, Rue Paul Richard
C.O. 3 - MAXEVILLE
54528 LAXOU-CEDEX

Tél. 03 83 17 68 41
Email : lucien.gentis at lorraine.iufm.fr



More information about the imp mailing list