Sections
You are here: Home Integrators & Developers Adding mr.developer

Adding mr.developer

How to add mr.developer to do auto checkout from svn

Add mr.developer as an extension. Tell it where to find the repositories and indicate which eggs should be auto-checked out. Note by using a variable 'checkout-eggs' you don't have to type everything out twice.

extends =
    base.cfg
    versions.cfg
#    http://dist.plone.org/release/4.0.1/versions.cfg
    http://good-py.appspot.com/release/collective.xdv/1.0?plone=4.0.1

extensions =
    mr.developer

sources = sources

checkout-eggs =
    msd.melipona
    msd.daffodil
   
auto-checkout =
    ${buildout:checkout-eggs}

Add the eggs to the list (use the variable to save typing). I think there was a reason for putting collective.xdv last, but I don't know why

eggs =
    Plone
    PIL==1.1.6
    ${buildout:checkout-eggs}
    collective.xdv

Add the eggs to zcml - for some reason I couldn't get the variable working here, don't know why. Then add a variable to save typing a huge long URL for the svn each time. This needs to go somewhere in the [buildout] part, but it doesn't matter where.

zcml =
#    plone.reload
     msd.melipona
     msd.daffodil
    
    
msd-plone3 = https://venture1.projectlocker.com/msd/plone3/svn

Add a sources part to the bottom of the buildout.cfg file:

[sources]
msd.daffodil = svn ${buildout:msd-plone3}/msd.daffodil/branches/plone4-3.0
msd.melipona = svn ${buildout:msd-plone3}/msd.melipona/branches/plone4-3.0