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

Note

This is a fork of buildout.sendpickedversions made exclusively for use with pythonpackages.com. It configures buildoutname to hostname + dirname dynamically, to facilitate aggregation of a large number of buildouts. If there is general interest, this change may be included in future versions of buildout.sendpickedversions.

buildout.sendpickedversions

This package is based on buildout.dumppickedversions and its purpose is to gather the package name and version information from buildout. The main difference with buildout.dumppickedversions is that instead of displaying picked versions, or dumping everything to a file, we’ll send package information to a predefined URL.

Original use case is that there is Whiskers server on the other end which stores the data. There’s nothing special about the data, so other end can just as well be anything that can handle json.

Configuration

To use buildout.sendpickedversions with buildout your buildout.cfg should have buildout.sendpickedversions in you extensions-line and following fields configured:

buildoutname
This is the name of the buildout. Whiskers uses this information to create new buildout object with the package data. If name is not set we use default ‘dummy_buildout’ as a name.
whiskers-url
This is the url to whiskers server. As stated above, you can use here anything that can just eat the json-data we’re sending. If you leave this empty or don’t set at all buildout.sendpickedversions just displays the data dict.

Example

Here’s small example configuration.

[buildout]
extensions = buildout.sendpickedversions
buildoutname = test
whiskers-url = http://localhost:6543/buildouts/add

parts = nose

[nose]
recipe = zc.recipe.egg
eggs = nose

Above example configuration assumes you have Whiskers server running locally on port 6543. If you run buildout it will install nose normally to your buildout environment and after everything is ready it will try to send following data in json-format to localhost:6543/buildouts/add URL:

{"buildoutname": "test",
 "packages": [
    {"version": "0.6.24", "name": "distribute"},
    {"version": "1.18", "name": "mr.developer"},
    {"version": "1.1.2", "name": "nose"},
    {"required_by": ["mr.developer 1.18"], "version": "1.5.2", "name": "zc.buildout"},
    {"version": "1.3.2", "name": "zc.recipe.egg"}
  ]
}

Thanks

Code is mainly based to Mustapha Benali’s buildout.dumppickedversions. This buildout extension has probably saved thousands of buildouts from nasty version conflicts or total havoc. Huge thanks!

Changelog

0.0.1 (2013-01-15)

  • Package fix [aclark]

0.0.0 (2013-01-15)

  • Fork for pythonpackages.com [aclark]
Release History

Release History

0.0.1

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

0.0.0

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
pythonpackages.sendpickedversions-0.0.1.zip (21.0 kB) Copy SHA256 Checksum SHA256 Source Jan 16, 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