Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 22

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 16.06.2004, 07:43   #1 (permalink)
Senior Mamber
 
Join Date: Apr 2004
Posts: 152
omerten is on a distinguished road
Send a message via ICQ to omerten
Default upgrade components/modules

Hola,

I'm frequently upgrading components/modules if there's a new version available, or - in case of my own components - release new bugfixed or enhanced versions. Usually it's necessary to uninstall and re-install the component, which means loosing all the data (configuration files, database entries etc...) Is there a (common) way to provide upgrades, which preserve existing data? I'm thinking about something like:

if (existsComponent($newComponent))
doUpgrade($oldVersion, $newVersion);
else
doInstall ($newVersion);

Any ideas how to do that? Is something like that planned for future MOS-Versions?

regards,

Oli
__________________
<formerly known as mambo>XT.com
omerten is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 16.06.2004, 17:34   #2 (permalink)
Senior Mamber
 
Alikon's Avatar
 
Join Date: Apr 2004
Location: roma
Posts: 171
Alikon is on a distinguished road
Default Re: upgrade components/modules

Hi,
i think that a possible way for resolve the upgrading problem, is quite simple, every developer have to plan not only the new code but have to provide same sql script for providing secure upgrade....
Alikon is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I Upgrade from 4.5(1.0.5) to 4.5(1.0.7) ?? setar Mambo 4.5 Installation and Upgrades 6 28.06.2004 23:28
Need to upgrade from 1.0.2 to 1.0.7 jmayer Mambo 4.5 'How Do I' Questions 0 15.06.2004 01:37
Upgrade 4.5.102 to 4.5.107 EtV Mambo 4.5 Installation and Upgrades 6 25.05.2004 17:33
Mambo upgrade from 1.0.5 to 1.0.7 ??? Kumagoro Mambo 4.5 Installation and Upgrades 1 08.05.2004 00:07


All times are GMT +2. The time now is 11:59.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.