Seems that as time goes by, every time we update its gonna mean a) we drop all existing contacts and preferences and start over from scratch, or b) we have do to careful manual editing and such to upgrade.
Idea: Have an update script that you run before you update. It will store all your users personal info in a separate file. Update your installation, then run the update script again and it restores those preferences, appropriately modified to fit any changes.
I might work on this once I've finished my automated install script.
Of course this is an excellent idea! While developing and just publishing nightly builds, we don't have enough time to write automated update scripts but you don't have to drop all your existing data but it's an alpha version and this also means that installing and upgrading needs some careful reading of the instructions.
The latest CVS snapshot was just addressed to developers and users who want to test it and not meant to replace an existing installation.
I hope you have enough information in the UPGRADING instructions to write an update script. I would really love to have one and for major releases it's a must-have.
Regards, Thomas
Geuis Teses wrote:
Seems that as time goes by, every time we update its gonna mean a) we drop all existing contacts and preferences and start over from scratch, or b) we have do to careful manual editing and such to upgrade.
Idea: Have an update script that you run before you update. It will store all your users personal info in a separate file. Update your installation, then run the update script again and it restores those preferences, appropriately modified to fit any changes.
I might work on this once I've finished my automated install script
On Tue, 6 Dec 2005 23:09:23 -0500, Geuis Teses geuis.teses@gmail.com wrote:
Seems that as time goes by, every time we update its gonna mean a) we drop all existing contacts and preferences and start over from scratch, or b) we have do to careful manual editing and such to upgrade.
Idea: Have an update script that you run before you update. It will store all your users personal info in a separate file. Update your installation, then run the update script again and it restores those preferences, appropriately modified to fit any changes.
I might work on this once I've finished my automated install script.
I would be very interested in this, I already have a auto install script using the latest CVS - but need some code to do the database backup/drop/creation and then migration in of the old data. Currently I can access my contacts via the old snapshot, but can't send an email since that one can no longer write IDENTITIES any more, the CVS one can, but doesn't list any of my CONTACTS (even though I know they're still in the DB since the snapshot lists them.
Any advice on how to migrate old data into the new format? I can start fresh, I'll have to re-add ~60 contacts, but I'm not complaining, just want to see how we can help alleviate the pain in the future.
Thanks
http://fak3r.com - you don't have to kick it