{ "info": { "author": "Christian Theune", "author_email": "ct@gocept.com", "bugtrack_url": null, "classifiers": [ "Framework :: Buildout", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=========================\nSandbox deployment recipe\n=========================\n\nThis recipe can be used to create deployments that are located in a sandbox.\nThis is useful for deploying self-contained buildouts or for development\nsetups that are going to use a deployment recipe in the future.\n\nIt is compatible to zc.recipe.deployment and can be used as a drop-in.\n\nIt is not intended for system-wide deployments, please use\nzc.recipe.deployment for that.\n\nChange history\n**************\n\n0.2 (2009-06-05)\n================\n\n- Allow to override single variables in the section.\n\n0.1.1 (2008-02-27)\n==================\n\n- Using $LOGNAME instead of os.getlogin to set the user.\n\n0.1.0 (2008-02-15)\n==================\n\n - Initial release.\n\nDetailed Documentation\n**********************\n\nSandbox environments\n====================\n\nThis recipe creates a sandbox environment for deployments similar to\nzc.recipe.deployment. It is not intended for system-wide installation but as a\nsandboxed/development variation of the deployment pattern.\n\nFor production, system-wide deployments you can simply switch out a sandbox\ndeployment part with a real deployment part.\n\nA root directory is defined for the sandbox (by default this is\n`parts/${name}`) in which the following directory structure is created::\n\n ${root}/var/run\n ${root}/var/log\n ${root}/etc/\n ${root}/etc/cron.d\n ${root}/etc/init.d\n ${root}/etc/logrotate.d\n\nAdditionally to be able to mix multiple deployments within a single sandbox we\ncompute the following paths compatible to zc.recipe.deployment::\n\n crontab-directory\n logrotate-directory\n rc-directory\n run-directory\n log-directory\n etc-directory\n\nAlso, the `user` option is setup to match the current user.\n\nSupported options\n=================\n\nThe recipe supports a single optional option:\n\nroot\n Optional: The root directory of the sandbox. Will be computed from the\n section name if not given.\n\n\nExample usage\n=============\n\nWe'll start by creating a buildout that uses the recipe.\n\n >>> import os\n >>> write('buildout.cfg',\n ... \"\"\"\n ... [buildout]\n ... parts = deployment\n ...\n ... [deployment]\n ... recipe = gocept.recipe.deploymentsandbox\n ... \"\"\")\n\nRunning the buildout gives us:\n\n >>> print system(buildout)\n Installing deployment.\n >>> ls(sample_buildout, 'parts')\n d deployment\n >>> ls(sample_buildout, 'parts', 'deployment')\n d etc\n d var\n >>> ls(sample_buildout, 'parts', 'deployment', 'etc')\n d cron.d\n d deployment\n d init.d\n d logrotate.d\n >>> ls(sample_buildout, 'parts', 'deployment', 'var')\n d log\n d run\n >>> ls(sample_buildout, 'parts', 'deployment', 'var', 'log')\n d deployment\n >>> ls(sample_buildout, 'parts', 'deployment', 'var', 'run')\n d deployment\n\nContributors\n************\n\nChristian Theune, Author\n\n\nDownload\n********", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/gocept.recipe.deploymentsandbox", "keywords": "", "license": "ZPL", "maintainer": null, "maintainer_email": null, "name": "gocept.recipe.deploymentsandbox", "package_url": "https://pypi.org/project/gocept.recipe.deploymentsandbox/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/gocept.recipe.deploymentsandbox/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/gocept.recipe.deploymentsandbox" }, "release_url": "https://pypi.org/project/gocept.recipe.deploymentsandbox/0.2/", "requires_dist": null, "requires_python": null, "summary": "Setup a sandbox environment for deployments based on zc.recipe.deployment", "version": "0.2" }, "last_serial": 792577, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "c397fb17135023363a5c447b853895dd", "sha256": "64fecebddbfa64976e84b4f1b91b930ed37a7934ddd944cc47bdae155e4ce907" }, "downloads": -1, "filename": "gocept.recipe.deploymentsandbox-0.1.tar.gz", "has_sig": false, "md5_digest": "c397fb17135023363a5c447b853895dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5306, "upload_time": "2008-02-15T13:33:09", "url": "https://files.pythonhosted.org/packages/8d/1e/0c2a48b91e497730d7107bd075ad5bb7e3f843e21aad11ec3afdca411b42/gocept.recipe.deploymentsandbox-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "c5e2af980415f597ffba83699171bb35", "sha256": "3d44d0db6c3d8f666dd37daff0acf574c3ad39778eea0606614a327268b2c2c0" }, "downloads": -1, "filename": "gocept.recipe.deploymentsandbox-0.1.1.tar.gz", "has_sig": false, "md5_digest": "c5e2af980415f597ffba83699171bb35", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5508, "upload_time": "2008-02-27T09:05:48", "url": "https://files.pythonhosted.org/packages/6c/8e/6a227f8fd34605919865ef21a4da61c2d76de38f327b4149407c6825206a/gocept.recipe.deploymentsandbox-0.1.1.tar.gz" } ], "0.1dev": [], "0.2": [ { "comment_text": "", "digests": { "md5": "eb473273ffadebf07d6439f3c0182528", "sha256": "d65a1aae084b32ecc54ed270fed5fd5b0ddf8f77a96a38f64659a4d48deb6a81" }, "downloads": -1, "filename": "gocept.recipe.deploymentsandbox-0.2.tar.gz", "has_sig": false, "md5_digest": "eb473273ffadebf07d6439f3c0182528", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5531, "upload_time": "2009-06-05T14:37:57", "url": "https://files.pythonhosted.org/packages/11/4e/d0c88e448ba593fd7d235670c011628b0520dfeeee24e1fbe6880c163b1a/gocept.recipe.deploymentsandbox-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "eb473273ffadebf07d6439f3c0182528", "sha256": "d65a1aae084b32ecc54ed270fed5fd5b0ddf8f77a96a38f64659a4d48deb6a81" }, "downloads": -1, "filename": "gocept.recipe.deploymentsandbox-0.2.tar.gz", "has_sig": false, "md5_digest": "eb473273ffadebf07d6439f3c0182528", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5531, "upload_time": "2009-06-05T14:37:57", "url": "https://files.pythonhosted.org/packages/11/4e/d0c88e448ba593fd7d235670c011628b0520dfeeee24e1fbe6880c163b1a/gocept.recipe.deploymentsandbox-0.2.tar.gz" } ] }