I want to develop a few products for a defined Plone install/version, which I cannot change (3.3.5).
What is the best way to organize my source tree, so that I do not have to put a huge plone instance into source control that won’t change anyway? I still want to use buildout for local checking, though…
What do you recommend?
I am on Windows and prefer git to hg, but can live with both…
Generally speaking, this is done now-a-days with
mr.developer. You can use a buildout like this:And then add your sources to the
auto-checkoutparameter in the[buildout]section, and in the[sources]section, in the format described here:Something like:
Then add your package to the
eggsparameter of theplone.recipe.zope2instancesection as usual:See the Plone coredev buildout for a working example:
And don’t forget there is a
developparameter for the[buildout]section which allows you to specify the file system path to a “develop egg” (it does not perform a checkout though):