On Thu, Jan 15, 2009 at 3:46 PM, Tim Black <[email protected]> wrote: > Daniel Fetchinson wrote: > > Mark Ramm wrote: > And we will provide a clear strategy for folks to migrate directly > from 1.1 to 2.0, so 1.5 will not be a required stepping stone. > > Let me just add one thing: for me, and perhaps others too, the major > stumbling block in front of upgrading to 2.x from 1.x is ORM support > and not cherrypy or anything else. I started developing using > sqlobject and as you can imagine sqlobject code is sprinkled around > just about everywhere. The majority of the business logic is > ORM-related code. Since 2.x doesn't have support for sqlobject I can't > easily upgrade regardless of what stepping stones are provided in 1.1 > and/or 1.5. > > I propose the community (if not the core devs) write upgrade scripts that do > the majority of the syntax changes necessary to upgrade to TG 2: > > kid2genshi > sqlobject2sqlalchemy > tg2tw > migrateTests > > Of course the scripts won't be perfect but they can save someone time. > SOtoElixir already exists in principle, though not in code. I'd like to see > all this info gathered into one page and then automated as people have > time. Looks to me like some people have been working on documenting these > migration steps--thank you very much for that! >
again sorry for the negativeness but those are very hard tasks. > kid2genshi as I said in my other email, this is pointless. yet it's probably the simplest. > sqlobject2sqlalchemy This will require a ton of work. Yet it will be very useful even for people outside the community. Perhaps the simplest path will be moving from SO to SA declarative. > tg2tw This isn't really needed as kid-genshi TW was made as a "re-engineering of the core, with the same interface" so in theory all you need to do is change your imports. > migrateTests not sure what you mean but the testing framework from tg1.x was migrated to tg2, and of course more things where added, that said it should work. As with everything if your app is well covered with tests migration should be a lot simpler. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

