{ "info": { "author": "Simon Torres", "author_email": "storres@ctio.noao.edu", "bugtrack_url": null, "classifiers": [], "description": "[![Build Status](https://travis-ci.org/simontorres/simple-version-manager.svg?branch=master)](https://travis-ci.org/simontorres/simple-version-manager)\n[![Coverage Status](https://coveralls.io/repos/github/simontorres/simple-version-manager/badge.svg?branch=master)](https://coveralls.io/github/simontorres/simple-version-manager?branch=master)\n# Simplify version management\n\nThe idea behind the development of this small tool is to simplify the process\nof increasing your version number. It is designed to work with a specific format\nexplained below.\n\n## Version format supported\n\nThere are countless ways of handling your versions and there is no _right_ or \n_wrong_ way. The format I choose is the following:\n\n```\nmajor.minor.patch.devN\n```\n\nSome examples in no particular order\n\n```\n0.0.1\n1.1.1.dev1\n30.1.1.dev5\n```\n\n\n## Usage\nPlease note that this will depend on the size of your team and complexity of the\nproject. Either way if the team is large there will be a manager that should \ncontrol when the version is updated so in principle is the same for a large or \neven a one-person team. Here are some examples:\n\n- You should use this program with `--dev` argument right after you pulled the\n latest changes from upstream\n\n- You can use `--patch`, `--minor` or `--major` in combination with `--release`\n when you want to create a new release.\n\n- Also you have the freedom of updating any of the fields independently\n\n\n## Options\nThe argument options are better explained with examples. Let's say we currently are\nworking on version `1.2.3.dev4`\n\n - ``--dev`` will increase the development version by one leaving you with \n `1.2.3.dev5`\n - ``--patch`` will give you `1.2.4.dev1` notice that the development version \n is dropped back to one\n - ``--minor`` will change the version to `1.3.0.dev1` notice now that not only\n _dev_ is dropped to one but also the patch count drops to zero.\n - ``--major`` will change version to `2.0.0.dev1` which is the same as \n `--minor` plus dropping _minor_ to zero.\n - ``--release`` will remove the `devN` part leaving you with `1.2.3`. `--release`\n can be used in combination of other options.\n - ``--set`` Let you set the version to any value.\n\n If you start from a _stable_ version like `2.0.0` you should use the `--dev` \n argument that will increase the patch number and add the _dev1_ string. `2.0.1.dev1`\n\n\n# References\n\n- [distutils.version.LooseVersion](http://epydoc.sourceforge.net/stdlib/distutils.version.LooseVersion-class.html)\n- [Semantic Version](https://semver.org/) (Not used here but a good reference on version numbering)\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/simontorres/simple-version-manager", "keywords": "version", "license": "BSD-3-Clause", "maintainer": "", "maintainer_email": "", "name": "simple-version-manager", "package_url": "https://pypi.org/project/simple-version-manager/", "platform": "", "project_url": "https://pypi.org/project/simple-version-manager/", "project_urls": { "Homepage": "https://github.com/simontorres/simple-version-manager" }, "release_url": "https://pypi.org/project/simple-version-manager/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "Tool for version tag update", "version": "0.1.0" }, "last_serial": 5188506, "releases": { "0.0.1.dev1": [ { "comment_text": "", "digests": { "md5": "aa66c2b12f462e371f89a09376c5cd55", "sha256": "5f2f5e89d55eed3731803ee9f98f21fbb3e6db3d781eb0e65ca2d287a8c9888a" }, "downloads": -1, "filename": "simple_version_manager-0.0.1.dev1-py3.5.egg", "has_sig": false, "md5_digest": "aa66c2b12f462e371f89a09376c5cd55", "packagetype": "bdist_egg", "python_version": "3.5", "requires_python": null, "size": 20500, "upload_time": "2019-04-25T14:54:56", "url": "https://files.pythonhosted.org/packages/26/80/576df4400f8f508e1ce2af1616d6c271cbc7de9a26397ff6bf83c2a82045/simple_version_manager-0.0.1.dev1-py3.5.egg" }, { "comment_text": "", "digests": { "md5": "51f4f69c5a2e5d81e7b098282463fcfc", "sha256": "98e7894cc4a7118d91c52e6abf7d429b721c925f40c183b0402436692c4a7780" }, "downloads": -1, "filename": "simple_version_manager-0.0.1.dev1-py3.6.egg", "has_sig": false, "md5_digest": "51f4f69c5a2e5d81e7b098282463fcfc", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 20017, "upload_time": "2019-04-25T14:54:58", "url": "https://files.pythonhosted.org/packages/48/36/a64f1f8915f3f6b13cd254ca95036a48dbe9cfcfd0a18d84acdff2b395db/simple_version_manager-0.0.1.dev1-py3.6.egg" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "eae377e2e790336770d64f9669e65e11", "sha256": "d15ad224a3e40b6852678249dcd468b98e9b8f43fe2499ffed555de3669f24ca" }, "downloads": -1, "filename": "simple_version_manager-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "eae377e2e790336770d64f9669e65e11", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11289, "upload_time": "2019-04-25T14:54:50", "url": "https://files.pythonhosted.org/packages/58/9b/8f51beffe23a8d900c8107b057eabeaaffc00106606f41507054a923accf/simple_version_manager-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4a820e010e366755a1dc0867439e922c", "sha256": "58659d510ce6ce945d69b4ab5279e9f3e800d1b16779bd2ba041fb5a4dfdf88b" }, "downloads": -1, "filename": "simple_version_manager-0.1.0.tar.gz", "has_sig": false, "md5_digest": "4a820e010e366755a1dc0867439e922c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4581, "upload_time": "2019-04-25T14:55:00", "url": "https://files.pythonhosted.org/packages/01/42/325be471b5cf8c2dbcad797c3fbdedbe3d28eec808ae3c713723de96395f/simple_version_manager-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "eae377e2e790336770d64f9669e65e11", "sha256": "d15ad224a3e40b6852678249dcd468b98e9b8f43fe2499ffed555de3669f24ca" }, "downloads": -1, "filename": "simple_version_manager-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "eae377e2e790336770d64f9669e65e11", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11289, "upload_time": "2019-04-25T14:54:50", "url": "https://files.pythonhosted.org/packages/58/9b/8f51beffe23a8d900c8107b057eabeaaffc00106606f41507054a923accf/simple_version_manager-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4a820e010e366755a1dc0867439e922c", "sha256": "58659d510ce6ce945d69b4ab5279e9f3e800d1b16779bd2ba041fb5a4dfdf88b" }, "downloads": -1, "filename": "simple_version_manager-0.1.0.tar.gz", "has_sig": false, "md5_digest": "4a820e010e366755a1dc0867439e922c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4581, "upload_time": "2019-04-25T14:55:00", "url": "https://files.pythonhosted.org/packages/01/42/325be471b5cf8c2dbcad797c3fbdedbe3d28eec808ae3c713723de96395f/simple_version_manager-0.1.0.tar.gz" } ] }