Skip to main content

Buildout recipe to install a buildout

Project description

Used to run a sub-buildout in a buildout. Example:

[cms]
recipe = infrae.subversion
urls = https://svn.infrae.com/buildout/silva/trunk .

[cms-build]
recipe = infrae.buildout
path = ${cms:location}
config = profiles/test-instance.cfg
merge-bin = True

The cms part fetch buildout files, here from a SVN. You can use infrae.paster to create a buildout tree using a paster template.

The cms-build part runs buildout on the cms part:

  • The path option determines which parts to depends on, and which path to use. This is important to use the ${cms:location} because this says to buildout that the cms-build parts depends on the cms one. This parameter is required.

  • The config option tells which configuration file to use in the path. By default it will buildout.cfg, but you can use safely profiles/something.cfg (buildout directory is configured to use the path folder to run himself).

  • The merge-bin option tells if the generated scripts of the sub-buildout should end up in the same directory than the current one. The default is False.

Disclaimer

The sub-buildout is run in the main parts directory in this sample. If this sub-buildout contains data (in a var folder for example), they will end-up in the same part directory than the sub-buildout (useless specific configuration in this one). This implies if you update your main buildout and the main parts directory is deleted, your data would be lost.

Latest version

The latest version is available in a Subversion repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

infrae.buildout-0.1dev-r27686.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

infrae.buildout-0.1dev_r27686-py2.4.egg (5.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page