I am trying to find tutorials on how to write buildout recipes. I haven't found any, except the one on buildout site. But it is very rudimentary. Is there a good tutorial for writing buildout recipes?
A:
I quick google came back with the following:
http://plone.org/documentation/manual/developer-manual/managing-projects-with-buildout
and the answers in the following SO question look pretty helpful as well:
http://stackoverflow.com/questions/1369664/better-resources-to-learn-buildout
Peter Farmer
2010-05-25 07:09:12
I can write a buildout. I want to write a custom recipe, to do some work in buildout. So I want to learn, how to write a recipe. Thanks for the help though.
roopesh
2010-05-27 06:37:36
+3
A:
http://pypi.python.org/pypi/ZopeSkel/ has a template for a buildout recipe. That at least gets you started regarding having a skeleton for adding your own code.
http://pypi.python.org/pypi/zc.buildout#id1 has some information on which methods you need to implement.
Best way to learn it is by looking at an existing recipe to see how it gets done. I'd suggest my own recipe :-) :
https://svn.plone.org/svn/collective/buildout/collective.recipe.backup/trunk/
Reinout van Rees
2010-05-27 14:25:41
This works out for most part, but I will keep looking. I am going through source code of all the highly rated buildout recipes to understand a general pattern. If I get some good work done, I will upload it to cheeseshop. BTW, I am writing a recipe to create paster templates(ie, invoke paster create command, and pass in values, but not through command line), more on the line of infrae.paster(which doesn't recognize 3.3.4 and 4.0bx plones.). http://stackoverflow.com/questions/2894455/automate-paster-create-t-plone3-buildout
roopesh
2010-05-27 19:20:57