Hi, Sat, 21 Jan 2012 18:19:20 +0100 Paul J Stevens <[email protected]>: > Sat, 21 Jan 2012 16:24:01 +0100 > Albert Cervera i Areny <[email protected]>: > > c) How to share code migration tools > > Sharing the tools one uses to migrate modules would be great I > > think. From simple "grep" statements to codemod [1] scripts. > > Although, CHANGELOG could be improved I'm not sure that's the > > appropriate place to share those scripts and tips. If we want to > > keep them in the repository, maybe we could add a new directory > > with a subdirectory or file per release where that information was > > included. That said, a wiki has the advantage that more people can > > easily share improvement's over the original tools. > I for one agree that more information and descriptive examples is > better than just changelog messages. > Those are very terse and no: > referring to rietveld or commit-sets is no replacement for recipes > and howtos. The Transaction conversion was doable because the was a > lot of people doing similar changes, providing lots of examples of > the required change pattern. Finding those changes months or maybe > years later will be that much harder. Having a wiki page with > upgrade/migration notes will be a great boon. > Typically I suspect and expect that real-world deployments will not > upgrade to the latest and greatest whenever it comes available, just > because it's available. They will want to upgrade when not upgrading > becomes too painful. As long as the running version works ok, why > change? > I make most of my money upgrading old Plone installations. And I can > tell you; unit-tests are very great, but clear and concise upgrade > notes are golden. Yes, I agree, migration and upgrade notes are life saving.
To check out if we have a consensus at least on this topic, I like to request the Tryton community: * Are we willing to collaborate to collect migration recipes and helper scripts for future versions of Tryton? * Is the actual form[1] sufficient enough? Or are there better ideas? [1] http://code.google.com/p/tryton/wiki/Migration_2_0 Cheers Udo -- _____________________________ virtual things Preisler & Spallek GbR München - Aachen Windeckstr. 77 81375 München Tel: +49 (89) 710 481 55 Fax: +49 (89) 710 481 56 [email protected] http://www.virtual-things.biz -- [email protected] mailing list
