{ "info": { "author": "Peter Lauri", "author_email": "peterlauri@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Utilities" ], "description": "========\nOverview\n========\n\n\n\nShare development fixtures across your team, with git commit id tracing and autodetect.\n\n* Free software: BSD license\n\nInstallation\n============\n\nCurrently this package requires git, psql, pg_dump createdb, dropdb and unzip to function.\n\n::\n\n pip install django-devfixtures\n\nConfiguration\n=============\n\nAdd **devfixtures** to **INSTALLED_APPS**.\n\n::\n\n settings.DEVFIXTURE_DIR # path to directory where auto generated fixtures should be stored\n settings.DEVFIXTURE_BACKUP_DIR # path to where backups are stored when running restore\n\n\nHow it works\n============\n\nWhen you **create** a fixture (without any arguments) the management command will zip MEDIA_FILES and database dump to\na file with naming +++.zip.\n\nThe auto restore function will check from HEAD and backards in the commit tree, and when it finds a fixture file with\nthat commit id, it will restore that version after a backup of the current state has been created. If the restore for\nsome reason fails, it will attempt to restore the backuped fixture.\n\nThis works with the following criterias:\n\n* You will not rebase/rewrite history, as commit ids might no longer match\n* You will not delete migrations manually\n\nIt also have the limitations to unly work with PostgreSQL. And there are some current limitations, due to the fact\nthat the implementation uses pg_dump etc for creating dumps. Requirements:\n\n* The database name is defined in **settings.DATABASES['default']['NAME']**\n* The running user have permissions to dropdb/createdb\n\n\nStoring the dev_fixtures in git\n===============================\n\nDevfixtures can become large, if you have big set of media files. If you use github, you are encouraged to use git-lfs\nto store the files. Read about git lfs here: https://git-lfs.github.com/\n\nAdd devfixtures/* to your tracked git lfs files before you add your first fixture to git.\n\n::\n\n # git lfs track 'dev_fixtures/*'\n\n\nUsage\n=====\n\nCreate fixture:\n\n::\n\n # ./manage.py devfixture create\n\nRestore fixture:\n\n::\n\n # ./manage.py devfixture restore\n\nCreate manual fixture sharing, for example if you have a branch and you want some other developer to take a look\nat a bug. Run this and send the zip file to the other developer:\n\n::\n\n # ./manage.py devfixture create -f ~/Desktop/devfixture-for-peter-debugging.zip\n\nTo load a shared fixture:\n\n::\n\n # ./manage.py devfixture restore -f ~/Desktop/devfixture-for-peter-debugging.zip\n\nWhen running restore, a backup is always created. You can restore it the same way as above.\n\n::\n\n # ./manage.py devfixture -h\n\n\nDocumentation\n=============\n\nhttps://django-devfixtures.readthedocs.org/\n\nDevelopment\n===========\n\nTo run the all tests run::\n\n tox\n\nNote, to combine the coverage data from all the tox environments run:\n\n.. list-table::\n :widths: 10 90\n :stub-columns: 1\n\n - - Windows\n - ::\n\n set PYTEST_ADDOPTS=--cov-append\n tox\n\n - - Other\n - ::\n\n PYTEST_ADDOPTS=--cov-append tox\n\n\nChangelog\n=========\n\n0.1.3 (2016-02-02)\n-----------------------------------------\n\n* If pg_dump fails, CommandError is raised.\n* Updated documentation that recommends git lfs if dev fixtures will be stored in your github repo.\n\n\n0.1.1 (2016-02-02)\n-----------------------------------------\n\n* First release on PyPI.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/peterlauri/django-devfixtures", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "django-devfixtures", "package_url": "https://pypi.org/project/django-devfixtures/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-devfixtures/", "project_urls": { "Homepage": "https://github.com/peterlauri/django-devfixtures" }, "release_url": "https://pypi.org/project/django-devfixtures/0.1.3/", "requires_dist": null, "requires_python": "", "summary": "Share development fixtures across your team, with git commit id tracing and autodetect.", "version": "0.1.3" }, "last_serial": 2022931, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a4b476a546e7ffea256e28d3433868d1", "sha256": "a0e17dcd85ca4d30cf3eb3ed84f75b82732cc000a47afadd31549baf88c2ae1d" }, "downloads": -1, "filename": "django_devfixtures-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a4b476a546e7ffea256e28d3433868d1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6501, "upload_time": "2016-02-03T00:00:40", "url": "https://files.pythonhosted.org/packages/4b/d5/d596a00357dad2fdfa18488c1ffe933174a030751410ebf4362041fe4870/django_devfixtures-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c3abaa9420eeda2cdf8aa980bec86261", "sha256": "602c4aac54468386d84f4cb0cfbee4049ce6f5b06a480df52fe027424f56f652" }, "downloads": -1, "filename": "django-devfixtures-0.1.0.tar.gz", "has_sig": false, "md5_digest": "c3abaa9420eeda2cdf8aa980bec86261", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12037, "upload_time": "2016-02-03T00:00:49", "url": "https://files.pythonhosted.org/packages/b5/74/43e58bcb5175fc66f345247a22409bd7d055db1790f45d2ef77001560f1b/django-devfixtures-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "aa7f200499ff75433300c3c74005be55", "sha256": "01fef94d4f524644316413afc33d0fd9b1e8dc39f7328d8b22dccbc7638a2dbf" }, "downloads": -1, "filename": "django_devfixtures-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "aa7f200499ff75433300c3c74005be55", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8304, "upload_time": "2016-02-03T09:22:21", "url": "https://files.pythonhosted.org/packages/e0/15/76c4e4fab7a724c37470706026522f68e832c119136d00004618865bd279/django_devfixtures-0.1.1-py2.py3-none-any.whl" } ], "0.1.2": [], "0.1.3": [ { "comment_text": "", "digests": { "md5": "6ca582cb7565708d95ac76065792b8a8", "sha256": "3869d412165d6346e082c4fafac7afdd483dd586e64bfcb9c9d22b1ab22f7906" }, "downloads": -1, "filename": "django_devfixtures-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6ca582cb7565708d95ac76065792b8a8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8799, "upload_time": "2016-03-23T15:25:32", "url": "https://files.pythonhosted.org/packages/2f/26/7275883e4070806f94fce25e2b10bd4b1c6b51e51a47e2e11bc6ee28a3f0/django_devfixtures-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "35d55a38b6f7ac519c0e6a054cd83d56", "sha256": "1a5b6345ca40db5af3d5a2a00042fddfb30646a0abcd1f17db08373e6c6874a7" }, "downloads": -1, "filename": "django-devfixtures-0.1.3.tar.gz", "has_sig": false, "md5_digest": "35d55a38b6f7ac519c0e6a054cd83d56", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13807, "upload_time": "2016-03-23T15:25:55", "url": "https://files.pythonhosted.org/packages/6f/3a/c8be5a158eb9920347d67f0c2c5881448e9558180a468f2a3b2b7ea047fb/django-devfixtures-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6ca582cb7565708d95ac76065792b8a8", "sha256": "3869d412165d6346e082c4fafac7afdd483dd586e64bfcb9c9d22b1ab22f7906" }, "downloads": -1, "filename": "django_devfixtures-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6ca582cb7565708d95ac76065792b8a8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8799, "upload_time": "2016-03-23T15:25:32", "url": "https://files.pythonhosted.org/packages/2f/26/7275883e4070806f94fce25e2b10bd4b1c6b51e51a47e2e11bc6ee28a3f0/django_devfixtures-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "35d55a38b6f7ac519c0e6a054cd83d56", "sha256": "1a5b6345ca40db5af3d5a2a00042fddfb30646a0abcd1f17db08373e6c6874a7" }, "downloads": -1, "filename": "django-devfixtures-0.1.3.tar.gz", "has_sig": false, "md5_digest": "35d55a38b6f7ac519c0e6a054cd83d56", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13807, "upload_time": "2016-03-23T15:25:55", "url": "https://files.pythonhosted.org/packages/6f/3a/c8be5a158eb9920347d67f0c2c5881448e9558180a468f2a3b2b7ea047fb/django-devfixtures-0.1.3.tar.gz" } ] }