This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

A brief documentation

This recipe takes a number of options:

url
The URL to download the jar.

Tests

We will define a buildout template used by the recipe:

>>> buildout_cfg = """
... [buildout]
... parts = elasticsearch
...
... [elasticsearch]
... recipe = koansys.recipe.elasticsearch
... url = http://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.13.0.tar.gz
... """

We’ll start by creating a buildout:

>>> import os.path
>>> write('buildout.cfg', buildout_cfg)

Running the buildout gives us:

>>> output = system(buildout)
>>> 'koansys.recipe.elasticsearch: downloading elasticsearch distribution...' in output
True

Check whether the binaries are copied:

>>> set(os.listdir('bin')).issuperset(['elasticsearch'])
True

A start script with the format ‘start_PART-NAME_mongod.sh’ should be generated.

>>> 'start_elasticsearch.sh' in os.listdir('bin')
True

It is possible to change the name of this start script with the ‘script_name’ option. Furthermore all options of mongod (version v1.6.0) are supported via buildout options. A more comprehensive recipe could be for example:

>>> buildout_cfg = """
... [buildout]
... parts = elasticsearch.sh
... [elasticsearch]
... recipe = koansys.recipe.elasticsearch
... url = http://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.13.0.tar.gz
... script_name = start_es.sh
... quiet=true
... fork=true
... logpath=${buildout:parts-directory}/elasticsearch/log
... dbpath=${buildout:parts-directory}/elasticsearch/data
... """

1.0.2 2013-01-17

  • PyPI release

1.0.0 2010-11-30

  • Initial release
Release History

Release History

1.0.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
koansys.recipe.elasticsearch-1.0.2.zip (14.0 kB) Copy SHA256 Checksum SHA256 Source Jan 17, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting