Hi all, We have created a few templates on the top of ZopeSkel here to be able to do micro-templating in our Plone Products. The idea is to be able for example to inject a new archetype content type in an existing plone 3 product, with the paster. The missing feature was to be able to modify existing files in the product, such as the profile (types.xml, profiles.zcml, etc..) or in the interfaces.
So what we have now is the ability to call the paster like this: $ paster create -t plone my.product $ cd my.product $ paster create -t archetype MyContent $ paster create -t archetype MyOtherContent The template makes diffs using difflib (see https://ingeniweb.svn.sourceforge.net/svnroot/ingeniweb/IngeniSkel/trunk/ingeniskel/addon.py) and inject the new content. It's up to the developer to check upon the merge made in the code before commiting it. We're planning to do the same for portlets, and other elements that can be added in a product. I'd like to propose such a feature in ZopeSkel if you guys think it worth it. (adding a content type is still a lot of boiler plate code indeed) ++ Tarek -- View this message in context: http://www.nabble.com/ZopeSkel-addon-proposal-tf4874897s20094.html#a13948783 Sent from the Product Developers mailing list archive at Nabble.com. _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
