{ "info": { "author": "Matthias Bach", "author_email": "matthias.bach@blue-yonder.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: System :: Archiving :: Packaging", "Topic :: Utilities" ], "description": "=============\nDevpi Cleaner\n=============\n\n.. image:: https://travis-ci.org/blue-yonder/devpi-cleaner.svg?branch=master\n :alt: Build Status\n :target: https://travis-ci.org/blue-yonder/devpi-cleaner\n.. image:: https://coveralls.io/repos/blue-yonder/devpi-cleaner/badge.svg?branch=master\n :alt: Coverage Status\n :target: https://coveralls.io/r/blue-yonder/devpi-cleaner?branch=master\n.. image:: https://badge.fury.io/py/devpi-cleaner.svg\n :alt: Latest Version\n :target: https://pypi.python.org/pypi/devpi-cleaner\n.. image:: https://requires.io/github/blue-yonder/devpi-cleaner/requirements.svg?branch=master\n :alt: Requirements Status\n :target: https://requires.io/github/blue-yonder/devpi-cleaner/requirements/?branch=master\n\n\nL\u00e9on, the devpi cleaner, enables batch removal of artefacts from a `devpi server`_. Given a package and version\nspecification, it will remove the specified versions of a package from either a single index or all indices of a given\nuser.\n\nRationale\n=========\nDevpi cleaner wraps the original `devpi remove` command. It provides the following extensions:\n\n* Conditionally limit removal to development packages.\n* Conditionally limit removal to versions matching a given regular expression.\n* Temporarily switch non-volatile indices to volatile.\n* Apply a remove operation to all indices of a user.\n\nL\u00e9on by Example\n===============\n\nThe following command will delete all development packages preceding version 0.2 of ``delete_me`` on index `index1` of\nthe user::\n\n > devpi-cleaner http://localhost:2414/ user/index1 'delete_me<=0.2' --dev-only\n Password:\n Packages to be deleted from user/index1:\n * delete_me 0.2.dev1 on user/index1\n * delete_me 0.2.dev2 on user/index1\n Cleaning user/index1\u2026\n 100% (2 of 2) |###########################| Elapsed Time: 0:00:00 Time: 0:00:00\n >\n\nAs shown, packages will be listed and confirmation required before they are actually deleted from the server.\n\nCommandline Usage\n=================\n::\n\n usage: devpi-cleaner [-h] [--batch] [--dev-only] [--version-filter REGEX]\n [--force] [--password PASSWORD] [--login LOGIN]\n server user[/index] package_specification\n\n A utility to batch-remove packages from a Devpi server.\n\n positional arguments:\n server The devpi server to operate on.\n user[/index] The index from which to remove the packages. If only\n the user part is specified, all indices of that user\n will be cleaned.\n package_specification\n The specification of the package version(s) to remove.\n\n optional arguments:\n -h, --help show this help message and exit\n --batch Assume yes on confirmation questions.\n --dev-only Remove only development versions as specified by PEP\n 440.\n --version-filter REGEX\n Remove only versions in which the given regular\n expression can be found.\n --force Temporarily make indices volatile to enable package\n removal.\n --password PASSWORD The password with which to authenticate.\n --login LOGIN The user name to user for authentication. Defaults to\n the user of the indices to operate on.\n\n The arguments --dev-only and --version-filter can be combined. In this case\n only packages passing both filters will be removed.\n\nLicense\n=======\n\n`New BSD`_\n\n\n.. _devpi server: http://doc.devpi.net/latest/\n.. _New BSD: https://github.com/blue-yonder/devpi-cleaner/blob/master/COPYING\n\n\n=========\nChangelog\n=========\n\nThis is the version history of `devpi_cleaner`.\n\n\nVersion 0.2.0 - 2016-04-08\n==========================\n\nAdded\n-----\n\n* Allow cleaning of single indices instead of all indices of a user. See ``--help`` for the invocation syntax.\n* Allow to limit the versions to delete via a regular expression.\n* Display a progress bar while performing the removal if multiple packages or package versions are selected.\n* Python 3.5 is now officially supported\n* PyPy is now officially supported\n\nChanged\n-------\n\n* Prompt the user for a list of package versions and the indices from which to delete them. Previously the user was\n shown a list of package URLs. However, `devpi_cleaner` will actually delete by package version, not by uploaded file.\n* Improved performance when deleting multiple package versions from non-volatile indices\n* Changelog is now maintained in the format suggested by http://keepachangelog.com/.\n\nRemoved\n-------\n\n* Python 3.2 is no longer supported\n\n\nVersion 0.1.1 - 2015-11-23\n==========================\n\nAdded\n-----\n\n* Add support for HTTPS.\n\n\nVersion 0.1.0 - 2015-07-17\n==========================\n\nAdded\n-----\n\n* Batch removal of packages from all indices of a Devpi user\n* Allow restricting removal to development versions\n* Enable removal of packages from non-volatile indices\n* Batch mode for non-interactive operation", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/blue-yonder/devpi-cleaner", "keywords": "", "license": "new BSD", "maintainer": "", "maintainer_email": "", "name": "devpi-cleaner", "package_url": "https://pypi.org/project/devpi-cleaner/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/devpi-cleaner/", "project_urls": { "Homepage": "https://github.com/blue-yonder/devpi-cleaner" }, "release_url": "https://pypi.org/project/devpi-cleaner/0.2.0/", "requires_dist": [ "devpi-client (>=2.4.0)", "devpi-plumber (>=0.2.5)", "setuptools (>=0.8)", "six", "progressbar2" ], "requires_python": "", "summary": "Enables batch removal of packages from a devpi server.", "version": "0.2.0" }, "last_serial": 2053066, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a5175493217155140758aa8403e9e6a2", "sha256": "757dbbdd316bfbc45f5fc1f12c7743974fda5a3f7c254ac8bbc3a00fbe992e6d" }, "downloads": -1, "filename": "devpi_cleaner-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a5175493217155140758aa8403e9e6a2", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7144, "upload_time": "2015-07-17T15:30:32", "url": "https://files.pythonhosted.org/packages/45/23/6f2a4e4d2b24fffce5749bf6cafc427dc8ef2bcdc717cfca759600f6eaa1/devpi_cleaner-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c38b4c3367c72ef71f4accd1708b573f", "sha256": "3a697814635834e3479cc90a8b6a9f5b78331b4f34133557a103a46cd88dc631" }, "downloads": -1, "filename": "devpi-cleaner-0.1.0.tar.gz", "has_sig": false, "md5_digest": "c38b4c3367c72ef71f4accd1708b573f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20268, "upload_time": "2015-07-17T15:30:29", "url": "https://files.pythonhosted.org/packages/78/b3/4bafddb64887ef20cc21ba74d773aedc960e652582230efb000aad97edc5/devpi-cleaner-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "39754e672f2a88a74681effd9a1e53a9", "sha256": "4ee97be77bb9dfde09c65d87707f8c35a935b7d9e8421080bf8902ed54bbe6dd" }, "downloads": -1, "filename": "devpi_cleaner-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "39754e672f2a88a74681effd9a1e53a9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7221, "upload_time": "2015-11-23T14:46:35", "url": "https://files.pythonhosted.org/packages/54/ac/35818e533d4595a5c4fc0b5e33d003762f5f1b2eb3e40a879f2a9fcec179/devpi_cleaner-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3bb75b7dfd8e7e3ac20e438790f66cb7", "sha256": "776b4a216dbbecc7aee50e92052b0dce2f0bd6ca3c32e7220ad1e13ca41d8e52" }, "downloads": -1, "filename": "devpi-cleaner-0.1.1.tar.gz", "has_sig": false, "md5_digest": "3bb75b7dfd8e7e3ac20e438790f66cb7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20363, "upload_time": "2015-11-23T14:46:41", "url": "https://files.pythonhosted.org/packages/67/3e/fb132c60470f293d4f3b5cfead47dfddcdbc7cffc92b7d62ba6d20fa635a/devpi-cleaner-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "3d2d39f2c58b062a6092ea4affbe84fd", "sha256": "0ddc542b0a74fcd08701e4761c8f8267a2abe5ad072737bff7d909e5d08e4b5f" }, "downloads": -1, "filename": "devpi_cleaner-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3d2d39f2c58b062a6092ea4affbe84fd", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9052, "upload_time": "2016-04-08T09:06:19", "url": "https://files.pythonhosted.org/packages/cc/e1/03626eb81a4edd4357e0625434e79620950f49cd47572c2c839640e8f110/devpi_cleaner-0.2.0-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3d2d39f2c58b062a6092ea4affbe84fd", "sha256": "0ddc542b0a74fcd08701e4761c8f8267a2abe5ad072737bff7d909e5d08e4b5f" }, "downloads": -1, "filename": "devpi_cleaner-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3d2d39f2c58b062a6092ea4affbe84fd", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9052, "upload_time": "2016-04-08T09:06:19", "url": "https://files.pythonhosted.org/packages/cc/e1/03626eb81a4edd4357e0625434e79620950f49cd47572c2c839640e8f110/devpi_cleaner-0.2.0-py2.py3-none-any.whl" } ] }