Ok done. All templates have also a base class now
I have also added a doctest for *every* template, and a test environement for ZopeSkel. At this time, you can make sure the templates still work after a change by doing: $ python boostrap.py $ bin/buildout $ bin/test The docs folder is a first draft, that just launches each template to make sure it runs. recipe.txt goes further by running the recipe test itself after it has been inflated. I think this could be a good starting point to build a structured documentation for all skeletons, using the doctests. Take a look on what we did on the recipe too: Dokai added a standard long_description and a really nice feature for all recipes: you can pick a licence name, and the trove classifier will be set consequently (works with common licences) ++ Tarek Raphael Ritz wrote: > > Tarek Ziadé wrote: >> Hi, >> >> This file is getting really big ! >> >> I would like to refactor it in order to have one module per template >> class >> >> We are working here at the snow sprint in improving the recipe template, >> so >> I guess I can >> do that too, if it's fine with everybody. >> >> ++ >> Tarek > > Go Tarek, just do it! > > Raphael > > > _______________________________________________ > Product-Developers mailing list > [email protected] > http://lists.plone.org/mailman/listinfo/product-developers > > -- View this message in context: http://www.nabble.com/ZopeSkel-zopeskel-__init__.py-file-tp15009082s20094p15023050.html 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
