{ "info": { "author": "UA2WEB", "author_email": "alex@ua2web.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "What this package does?\n=======================\n\nThis package provides an easy half-manual and controlled way to define and run SQL, Python and Shell script for your project.\n\nSupported backends\n==================\n\n- MySQL\n- PostgreSQL\n\nSupported Django versions\n=========================\n\n- Django >= 1.8\n\nSupported OS\n============\n\n- Linux\n - Ubuntu 14.04\n - Ubuntu 16.04\n\nWhy to use this package if there is django-migrations and South?\n================================================================\n\nThe differencies between Django migrations and ua2.patch are in purpose:\n\n- django-migrations primary purpose is to propogate changes you make to your models into your database\n- ua2.patch purpose is to create & maintain patches, written by big development team\n\nThis package could be used in parallel to existing django-migrations module, or it can completely replace the job done by migrations. You, as developer, decide where you should use one or another.\n\nWe are not going to replicate all migration features, the core idea of this package is to provide easy to use tool to create and maintain (SQL|Python|Shell) patches for big team of people, working in parallel on different branches.\n\nWhat are benefits of using ua2.patch ?\n======================================\n\nSimple way to automate running custom patches\n---------------------------------------------\n\nIt is very easy to create patches for your data.\n\nInstallation\n============\n\nInstall package from pip\n------------------------\n\nFirst, install package via pip:\n\n``` example\npip install ua2.patch\n```\n\nAnd then, add it to your Django INSTALLEDAPPS:\n\n``` example\nINSTALLED_APPS = [\n ...\n 'ua2.patch',\n]\n```\n\nUsage examples\n==============\n\nCreate SQL patch\n----------------\n\n``` example\n./manage.py patch next\nFile .../patches/00002-johnsmith-014.sql has been created\n size: 0\n```\n\nNow, you can open & edit the file. *Note*: until file size is zero, it would not be applied, but will be treated as *reserved* patch for future use.\n\nCreate Python patch\n-------------------\n\n``` example\n./manage.py patch next -e py\nFile .../patches/00002-johnsmith-022.py has been created\n size: 0\n```\n\n*Note:* patch body should have function main() which returns True. If you don't return True, the system will run the patch and exit on this place, preventing other scripts to run.\n\nCreate Shell patch\n------------------\n\n``` example\n./manage.py patch next -e sh\nFile .../patches/00003-johnsmith-022.sh has been created\n size: 0\n```", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/ua2web/ua2.patch", "keywords": "django migration utility", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "ua2.patch", "package_url": "https://pypi.org/project/ua2.patch/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ua2.patch/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/ua2web/ua2.patch" }, "release_url": "https://pypi.org/project/ua2.patch/2.0.0/", "requires_dist": null, "requires_python": null, "summary": "UA2WEB Django patch system", "version": "2.0.0" }, "last_serial": 2243084, "releases": { "2.0.0": [ { "comment_text": "", "digests": { "md5": "19ddb8e88ef3f2e869a24ed32e6ffa4e", "sha256": "2c42556dba32ef176eaf247ad034c015dc99c9a5971b0e4e9312fd8d7edc3f68" }, "downloads": -1, "filename": "ua2.patch-2.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "19ddb8e88ef3f2e869a24ed32e6ffa4e", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 12128, "upload_time": "2016-07-25T19:54:22", "url": "https://files.pythonhosted.org/packages/e7/1d/63a5c27b6d4e7d6de5b0cdba0d76a292c5aa798d83fd09c2ec097c73adca/ua2.patch-2.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6c374ffbba0399307c83286af6e7b369", "sha256": "3b9a5003a822d63636280f6d31ebd659b0b89733bce9b6da4145c2bbdad7318f" }, "downloads": -1, "filename": "ua2.patch-2.0.0.tar.gz", "has_sig": false, "md5_digest": "6c374ffbba0399307c83286af6e7b369", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8367, "upload_time": "2016-07-25T19:54:19", "url": "https://files.pythonhosted.org/packages/3d/0b/b470208a31416ae3e2abfb65c9fffccfa8140f3b493c762af63205b3d6d2/ua2.patch-2.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "19ddb8e88ef3f2e869a24ed32e6ffa4e", "sha256": "2c42556dba32ef176eaf247ad034c015dc99c9a5971b0e4e9312fd8d7edc3f68" }, "downloads": -1, "filename": "ua2.patch-2.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "19ddb8e88ef3f2e869a24ed32e6ffa4e", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 12128, "upload_time": "2016-07-25T19:54:22", "url": "https://files.pythonhosted.org/packages/e7/1d/63a5c27b6d4e7d6de5b0cdba0d76a292c5aa798d83fd09c2ec097c73adca/ua2.patch-2.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6c374ffbba0399307c83286af6e7b369", "sha256": "3b9a5003a822d63636280f6d31ebd659b0b89733bce9b6da4145c2bbdad7318f" }, "downloads": -1, "filename": "ua2.patch-2.0.0.tar.gz", "has_sig": false, "md5_digest": "6c374ffbba0399307c83286af6e7b369", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8367, "upload_time": "2016-07-25T19:54:19", "url": "https://files.pythonhosted.org/packages/3d/0b/b470208a31416ae3e2abfb65c9fffccfa8140f3b493c762af63205b3d6d2/ua2.patch-2.0.0.tar.gz" } ] }