{ "info": { "author": "Harley Bussell", "author_email": "modmac@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Programming Language :: Python", "Topic :: Software Development", "Topic :: System :: Software Distribution" ], "description": "==========\ndjango-fab\n==========\n\nCommon methods to help create fabric deplopment scripts for django\n\nThe idea is to allow you to use a fabfile.py that has just the unique things for your specific project, while taking advantage of common functions for version control and django tasks.\n\nYou can also move configuration out of the fabfile.py into ini style configuration files.\n\n\nInstallation ::\n\n sudo easy_install django-fab\n sudo easy_install http://git.fabfile.org/cgit.cgi/fabric/snapshot/fabric-0.9b1.tar.gz\n\ngit example fabfile.py ::\n\n from djangofab.api import *\n from django.conf import settings\n from djangofab.vcs.git import update_remote, update_local, push, commit, add\n env.capture_default = False\n\n # apply the settings from fab.cfg default section\n # sets DJANGO_SETTINGS which allows access to django.conf.settings values\n apply_settings()\n\n #use the default section of fab.cfg\n @user_settings()\n def prod():\n \"Production settings\"\n env.hosts = ['server1']\n env.path = '%(prod_path)s'\n env.giturl = '%(giturl)s'\n env.site_user = 'owner'\n env.site_group = 'group'\n\n @user_settings()\n def dev():\n \"Development settings\"\n env.hosts = ['server1']\n env.path = '%(dev_path)s'\n env.giturl = '%(giturl)s'\n env.site_user = 'owner'\n env.site_group = 'group'\n\n #use the local section\n @user_settings('fab.cfg','local')\n def localhost():\n \"Local settings\"\n env.path = '%(dev_path)s'\n env.giturl = '%(giturl)s'\n\n def deploy():\n \"Push local changes and update checkout on the remote host\"\n push()\n update_remote() # reset and pull on the remote server\n #remote_export() \n change_ownership()\n touch_wsgi()\n\n def test(): \n print \"website using database %s \" % (settings.DATABASE_NAME,)\n \n \n\nRequries fabric>=0.9\nhttp://git.fabfile.org/cgit.cgi/fabric/snapshot/fabric-0.9b1.tar.gz\n\nSee fabric docs\nhttp://docs.fabfile.org/", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/hbussell/django-fab", "keywords": "django fabric deployment", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "django-fab", "package_url": "https://pypi.org/project/django-fab/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-fab/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/hbussell/django-fab" }, "release_url": "https://pypi.org/project/django-fab/1.0.4/", "requires_dist": null, "requires_python": null, "summary": "Common methods to help create fabric deplopment scripts for django", "version": "1.0.4" }, "last_serial": 789597, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "451ac6a32b10a4cd039fef799a376231", "sha256": "0f7bb7cbb5b54feca59cc39991903c5b2bb6fe82dc5987c08aaf81e7936268d7" }, "downloads": -1, "filename": "django-fab-1.0.tar.gz", "has_sig": false, "md5_digest": "451ac6a32b10a4cd039fef799a376231", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6666, "upload_time": "2009-09-15T10:15:37", "url": "https://files.pythonhosted.org/packages/0d/0b/f360b0184e783195143fd7879dd36e472d4615bb665a970dd6da5dd04f91/django-fab-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "4424a3105109ee85fb90dc511dd0d161", "sha256": "fbcfeab6f5d1ba596b244f37317aa5a571b2739c96a6ed6360e6678c531a3af3" }, "downloads": -1, "filename": "django-fab-1.0.1.tar.gz", "has_sig": false, "md5_digest": "4424a3105109ee85fb90dc511dd0d161", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6754, "upload_time": "2009-09-19T14:45:49", "url": "https://files.pythonhosted.org/packages/22/df/2ebf2cc8d7be9ec709ef3fd6e890a0e353c1941d0d2a0692a317310f8905/django-fab-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "5423ab693330670284fc6dee504a7841", "sha256": "f0dcf96717434b1eb6b830bcb6c53380f2d8b544c4f93ca4d54bed6fe9bfbc27" }, "downloads": -1, "filename": "django-fab-1.0.2.tar.gz", "has_sig": false, "md5_digest": "5423ab693330670284fc6dee504a7841", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6768, "upload_time": "2009-09-19T15:26:54", "url": "https://files.pythonhosted.org/packages/20/ef/eaea8f9f4fe41f7b28a56a4089202659b2ac58d89d8e2f466b6ae5e8e2dc/django-fab-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "1291f2e86a9fe4fccd46c940dd36079d", "sha256": "0bc30252aad675902519ab59b17c7e72c533c2b1a2b47506013fb992906f3c83" }, "downloads": -1, "filename": "django-fab-1.0.3.tar.gz", "has_sig": false, "md5_digest": "1291f2e86a9fe4fccd46c940dd36079d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19989, "upload_time": "2009-10-12T04:36:23", "url": "https://files.pythonhosted.org/packages/98/f9/6d58de40df63d313fd69339703b2d01f5a4e42c1d549c58ca8005479b676/django-fab-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "4692d4f9cb65d6956b5b7e3f9c998bc4", "sha256": "6785adacaead55d258ed530a5dd5567548addee85a000747372fe58ec86e358f" }, "downloads": -1, "filename": "django-fab-1.0.4.tar.gz", "has_sig": false, "md5_digest": "4692d4f9cb65d6956b5b7e3f9c998bc4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5325, "upload_time": "2009-10-13T06:34:20", "url": "https://files.pythonhosted.org/packages/02/4e/0865cd69788b58264564d3c71ce442fdae4308de38deaf0bbba3de536643/django-fab-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4692d4f9cb65d6956b5b7e3f9c998bc4", "sha256": "6785adacaead55d258ed530a5dd5567548addee85a000747372fe58ec86e358f" }, "downloads": -1, "filename": "django-fab-1.0.4.tar.gz", "has_sig": false, "md5_digest": "4692d4f9cb65d6956b5b7e3f9c998bc4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5325, "upload_time": "2009-10-13T06:34:20", "url": "https://files.pythonhosted.org/packages/02/4e/0865cd69788b58264564d3c71ce442fdae4308de38deaf0bbba3de536643/django-fab-1.0.4.tar.gz" } ] }