Skip to main content

Avoid having to do 'svn cat svn://svn.zope.org/repos/main/zc.buildout/trunk/bootstrap/bootstrap.py > bootstrap.py

Project description

Introduction

This recipe satisfies the (perhaps) not-so-common use case of “I want to keep my buildout bootstrap.py file up to date without having to manually download it from svn.zope.org.”

It also makes it possible to add a bootstrap.py file to a buildout created via ‘buildout init’, for subsequent checking-in to the repo of your choice.

In other words, this recipe makes it possible to avoid typing: % svn cat svn://svn.zope.org/repos/main/zc.buildout/trunk/bootstrap/bootstrap.py > bootstrap.py

Just add a part and define this recipe. E.g.

[buildout] parts += bootstrap

[bootstrap] recipe = collective.recipe.bootstrap

and when you run buildout, this recipe will do the rest.

Detailed Documentation

Supported options

N/A

Example usage

We’ll start by creating a buildout that uses the recipe:

>>> write('buildout.cfg',
... """
... [buildout]
... parts = test1
...
... [test1]
... recipe = collective.recipe.bootstrap
... """

Running the buildout gives us:

>>> print 'start', system(buildout)
start...
Installing test1.
<BLANKLINE>

Contributors

Alex Clark, Author

Change history

0.1 (2009-08-07)

  • Add initial functionality [Alex Clark]

  • Created recipe with ZopeSkel [Alex Clark]

Download

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

collective.recipe.bootstrap-0.1.tar.gz (5.0 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