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

tranchitella.recipe.fs

This recipe creates files and directories in a buildout.

Usage

This recipe offers the following entry points:

  • mkdir
  • mkfile

mkdir

This is a minimal buildout.cfg which makes use of the mkdir recipe:

[buildout]
parts = dirs

[dirs]
recipe = tranchitella.recipe.fs:mkdir
paths =
    ${buildout:directory}/var
    ${buildout:directory}/var/lib
    ${buildout:directory}/var/tmp
    ${buildout:directory}/var/log

This will create the directories specified by the paths attribute.

mkfile

This is a minimal buildout.cfg which makes use of the mkfile recipe:

[buildout]
parts = conffiles

[conffiles]
recipe = tranchitella.recipe.fs:mkfile
template = ${buildout:directory}/templates/config
path = ${buildout:directory}/etc/config
mode = 0644
database = postgres

This will create the file specified by the path attribute using the given template; the file will be customized using string interpolations of the options specified in the buildout part (eg. %(database)s will be replaced with the string postgres).

0.3 (2010-03-23)

  • Do not consider directory and files as “created” by buildout, otherwise they will be automatically removed by buildout when the recipe is uninstalled.
  • Added logging

0.2 (2010-03-07)

  • Added a new recipe entry point mkfile.

0.1 (2010-02-29)

  • Initial release.
Release History

Release History

0.3

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.2

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.1

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
tranchitella.recipe.fs-0.3.tar.gz (10.9 kB) Copy SHA256 Checksum SHA256 Source Mar 23, 2010

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