Quote from: BobRay at Feb 05, 2009, 05:34 PM
I see a couple of other issues. One is the assets/snippets->components change which will effect a lot of paths.
That has nothing to do with converting tags or upgrading the core data and is not in the scope of anything that will be automated. People depending on specific components will have to rely on component-specific migration tools/guides to deal with any changes other than their use of legacy tags. assets/snippets or components or whatever is arbitrary IMO; the paths that people choose to store their components in are up to them and may depend on any number of determining factors. That’s important in keeping MODx flexible. Also remember that MODX_ASSETS_PATH will represent a dynamic location for multi-site installations to share common assets, while $modx->config[’assets_path’] will represent context-specific assets locations.
That said, a majority of the less complex components (i.e. ones that didn’t introduce their own parsing and templating methods) will work after simply being run through the tag conversion process.
Quote from: BobRay at Feb 05, 2009, 05:34 PM
The other is that, IIRC, some DB field names and structures are different for Revo so I don’t think a straight import of an 0.9.6 SQL dump will work (I hope I’m wrong about this).
If you dump data from the specific tables you want content from (site_content, site_htmlsnippets, site_plugins, site_snippets, etc.) and make sure to use complete and extended inserts for the dump format, everything should be importable. You just may need to doctor some of the data.
In the end, there will be a simple xPDO model for the source database structure (i.e. 0.9.6) with different class names which will be used to read data from the legacy tables and either create a transport package that can be installed containing the legacy data in vehicles constructed with the new Revo classes, or written to and saved to the Revo classes/tables in real-time (using two separate databases or two sets of tables with different table prefixes).