{ "info": { "author": "Thomas Jahoda", "author_email": "thomasjahoda@users.noreply.github.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "=============================\nCookiecutter Project Upgrader\n=============================\n\n\n.. image:: https://img.shields.io/pypi/v/cookiecutter_project_upgrader.svg\n :target: https://pypi.python.org/pypi/cookiecutter_project_upgrader\n\n.. image:: https://img.shields.io/travis/thomasjahoda/cookiecutter_project_upgrader.svg\n :target: https://travis-ci.org/thomasjahoda/cookiecutter_project_upgrader\n\n.. image:: https://readthedocs.org/projects/cookiecutter-project-upgrader/badge/?version=latest\n :target: https://cookiecutter-project-upgrader.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n\n\n\nUpgrade projects created from a Cookiecutter template.\n\n\n* Free software: MIT license\n* Documentation: https://cookiecutter-project-upgrader.readthedocs.io.\n\nFeatures\n--------\n\nCookiecutter Project Upgrader allows upgrading projects that were created using Cookiecutter.\n\nAfter a project has been created from a Cookiecutter template, changes made to the Cookiecutter template usually have to be applied manually to the project.\nThis tool automates this process.\n\nWhen run the first time on a project, it creates a new branch from the first commit of the current branch (the oldest one). It then generates the project again using the latest version of the template and creates a new commit that contains the latest cookiecuttered code,\n\n\nUsage: cookiecutter_project_upgrader [OPTIONS]\n\n Upgrade projects created from a Cookiecutter template\n\nOptions:\n -c, --context-file PATH Default: docs/cookiecutter_input.json\n -b, --branch TEXT Default: cookiecutter-template\n -m, --merge-now BOOLEAN Execute a git merge after a successful\n update, default: ask if interactive,\n otherwise false.\n -m, --push-template-branch-changes BOOLEAN\n Push changes to the remote Git branch on a\n successful update, default: ask if\n interactive, otherwise false.\n --help Show this message and exit.\n\n\n\nPreconditions\n-------------\n\nThe tool requires a JSON file with context that matches the existing service.\nThis file can be created through Cookiecutter with the following contents:\n::\n\n {{ cookiecutter | jsonify }}\n\n\nYou will need a recent version of git for this to work. (it needs --no-checkout on git worktree)\n\n\nAuto-Completion\n---------------\nThe script uses the `Click toolkit `_.\nBecause the script uses Click, you can enable completion for Zsh and Bash.\n\nFor Bash, add the following to your `.bashrc` or some other profile initialization file.\n`eval \"$(_COOKIECUTTER_PROJECT_UPGRADER_COMPLETE=source cookiecutter_project_upgrader)\"`\n\nFor Zsh, please read the `Click documentation `_.\n\n\nCredits\n-------\n\nThe concept and some code is heavily based on https://github.com/senseyeio/cupper, with some changes\nto use Click and some flags and default values to ease usage. Also cleanup has been done and automated tests have been added.\n\nThis package was created with Cookiecutter_ and the `thomasjahoda/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/thomasjahoda/cookiecutter\n.. _`thomasjahoda/cookiecutter-pypackage`: https://github.com/thomasjahoda/cookiecutter-pypackage\n\n\n=======\nHistory\n=======\n\n1.0.0 (2019-03-22)\n------------------\n\n* First release on PyPI.\n\n1.1.0 (2019-03-24)\n------------------\n\n* Ask for some options interactively if within interactive shell.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/thomasjahoda/cookiecutter_project_upgrader", "keywords": "cookiecutter_project_upgrader", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "cookiecutter-project-upgrader", "package_url": "https://pypi.org/project/cookiecutter-project-upgrader/", "platform": "", "project_url": "https://pypi.org/project/cookiecutter-project-upgrader/", "project_urls": { "Homepage": "https://github.com/thomasjahoda/cookiecutter_project_upgrader" }, "release_url": "https://pypi.org/project/cookiecutter-project-upgrader/1.1.0/", "requires_dist": [ "cookiecutter", "click (>=7.0)", "pytest-cookies (>=0.3.0) ; extra == 'dev'", "pip (>=19.0.2) ; extra == 'dev'", "bumpversion (>=0.5.3) ; extra == 'dev'", "wheel (>=0.32.3) ; extra == 'dev'", "watchdog (>=0.9.0) ; extra == 'dev'", "flake8 (>=3.6.0) ; extra == 'dev'", "tox (>=3.6.1) ; extra == 'dev'", "coverage (>=4.5.2) ; extra == 'dev'", "Sphinx (>=1.8.3) ; extra == 'dev'", "twine (>=1.12.1) ; extra == 'dev'", "pluggy (>=0.7.0) ; extra == 'dev'", "mypy (>=0.650) ; extra == 'dev'", "pytest (>=3.8.2) ; extra == 'dev'", "pytest-runner (>=4.2) ; extra == 'dev'", "pytest-mock (>=1.10.1) ; extra == 'dev'" ], "requires_python": "", "summary": "upgrade projects created from a Cookiecutter template", "version": "1.1.0" }, "last_serial": 4978912, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "08817cf9eeda57263880f43457fd5dbe", "sha256": "4e18805377296c4cb480bdeb627ed4b8c9460ab29da4fcec8a84e9cd51bd8692" }, "downloads": -1, "filename": "cookiecutter_project_upgrader-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "08817cf9eeda57263880f43457fd5dbe", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6400, "upload_time": "2019-03-23T13:33:23", "url": "https://files.pythonhosted.org/packages/69/88/e62f961550d297581bc41e78c3f1c9d01fcc35942e26d028fd3f305f9a0e/cookiecutter_project_upgrader-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "12acf70bd7da296c6eed2c9a11456607", "sha256": "e2800be02c675935f58d1edf0a13bdd0235232fd3d2c6c34ee50ca5ba6e0163a" }, "downloads": -1, "filename": "cookiecutter_project_upgrader-1.0.0.tar.gz", "has_sig": false, "md5_digest": "12acf70bd7da296c6eed2c9a11456607", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14165, "upload_time": "2019-03-23T13:33:25", "url": "https://files.pythonhosted.org/packages/56/72/c198e54f0c0e3c490a62ed9bcee6bfb6d160cbf47bcd18e3785c114721e6/cookiecutter_project_upgrader-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "009b986517a70346fda78ddc5487c831", "sha256": "33af9cf0ea42ced7e22b10281e205a89ecd237c873a31009f605399210cab59f" }, "downloads": -1, "filename": "cookiecutter_project_upgrader-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "009b986517a70346fda78ddc5487c831", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6969, "upload_time": "2019-03-24T15:31:13", "url": "https://files.pythonhosted.org/packages/2d/d3/49a7ba90093500684b2badb1df7e77dca8c63c583949be643ada033166bf/cookiecutter_project_upgrader-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "751f5cbe4b4189bfb13a8870c77c305c", "sha256": "98e07ef97f3dd2bf36a4ba23c569add16a24c6a3bcbbd5aaded56e3a9da1ba4b" }, "downloads": -1, "filename": "cookiecutter_project_upgrader-1.1.0.tar.gz", "has_sig": false, "md5_digest": "751f5cbe4b4189bfb13a8870c77c305c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14675, "upload_time": "2019-03-24T15:31:14", "url": "https://files.pythonhosted.org/packages/ae/1e/a26269d1c828a5547141b7bfe2f37af97f73ee8148de379d690cffbb5e3c/cookiecutter_project_upgrader-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "009b986517a70346fda78ddc5487c831", "sha256": "33af9cf0ea42ced7e22b10281e205a89ecd237c873a31009f605399210cab59f" }, "downloads": -1, "filename": "cookiecutter_project_upgrader-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "009b986517a70346fda78ddc5487c831", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6969, "upload_time": "2019-03-24T15:31:13", "url": "https://files.pythonhosted.org/packages/2d/d3/49a7ba90093500684b2badb1df7e77dca8c63c583949be643ada033166bf/cookiecutter_project_upgrader-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "751f5cbe4b4189bfb13a8870c77c305c", "sha256": "98e07ef97f3dd2bf36a4ba23c569add16a24c6a3bcbbd5aaded56e3a9da1ba4b" }, "downloads": -1, "filename": "cookiecutter_project_upgrader-1.1.0.tar.gz", "has_sig": false, "md5_digest": "751f5cbe4b4189bfb13a8870c77c305c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14675, "upload_time": "2019-03-24T15:31:14", "url": "https://files.pythonhosted.org/packages/ae/1e/a26269d1c828a5547141b7bfe2f37af97f73ee8148de379d690cffbb5e3c/cookiecutter_project_upgrader-1.1.0.tar.gz" } ] }