[Setup] Re: How to install a branch with buildout

Maurits van Rees m.van.rees at zestsoftware.nl
Thu Jul 3 09:00:46 UTC 2008


na servus, on 2008-07-03:
>
> I want to install CalendarX for Plone 3.1.2. A Plone 3 compatible version
> exists as a branch under
> https://svn.plone.org/svn/collective/CalendarX/branches/plone-3-compatibility/
> . 
> Which definition must be made in a buildout.cfg to install a branch with
> buildout?
>
> Na Servus

You can add a section in buildout.cfg like this:

[productcheckouts]
recipe = infrae.subversion
urls =
    <svn url to branch> <name of the product>

and hook that section up in some other parts of buildout.cfg.  So
something like:

===============================================
[buildout]

parts =
    ...
    productcheckouts
...

[instance]
...
products =
    ...
    ${productcheckouts:location}
...

[productcheckouts]
recipe = infrae.subversion
urls =
    https://svn.plone.org/svn/collective/CalendarX/branches/plone-3-compatibility/ CalendarX
# ^^^ This should be on one line
===============================================


-- 
Maurits van Rees | http://maurits.vanrees.org/
            Work | http://zestsoftware.nl/
"This is your day, don't let them take it away." [Barlow Girl]




More information about the Setup mailing list