{ "info": { "author": "Frossie Economou", "author_email": "frossie@lsst.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "[![Build Status](https://travis-ci.org/lsst-sqre/sqre-codekit.svg?branch=master)](https://travis-ci.org/lsst-sqre/sqre-codekit)\n\n# sqre-codekit\n\nLSST DM SQuaRE misc. code management tools\n\n## Installation\n\nsqre-codekit runs on Python 2.7 or 3.5. You can install it with\n\n```bash\npip install sqre-codekit\n```\n\nThis will also install dependencies: `github3`, `urllib3`, `requests`, `progress` and `gitpython`.\n\n## Example usage\n\nTo generate a personal user token (you will be prompted for your password):\n\n```bash\ngithub-auth -u {{username}}\n```\n\nOr to generate a token with delete privileges:\n\n```bash\ngithub-auth -u {{username}} --delete-role\n```\n\nTo clone all github.com/lsst repos into an GitHub organization called `{{username}}-shadow`:\n\n```bash\ngithub-fork-repos -u {{username}} --org {{username}}-shadow\n```\n \nYou'll need to create this shadow organization in advance. Working in a shadow organization is useful for testing.\n\nIf you want to take a recent fork, you will need to delete the existing shadow repos first:\n\n```bash\ngithub-delete-shadow -u {{username}}\n```\n\nThat requires a token with delete privileges. \n\nTo get more debugging information, set your `DM_SQUARE_DEBUG` variable before running any command, or use the `-d` debug flag on the command line.\n\n## Available commands\n\n- `github-auth`: create a GitHub authentication token.\n- `github-fork-repos`: fork repositories into a shadow GitHub organization.\n- `github-list-repos`: list repositories in a GitHub organization, showing teams.\n- `github-mv-repos-to-team`: move repositories from one team to another.\n- `github-tag-version`: tag all repositories in a GitHub org using a team-based scheme.\n- `lsst-bp`: upgrade LSST DM code to [RFC-45](https://jira.lsstcorp.org/browse/RFC-45)-style.\n\nUse the `--help` flag with any command to learn more.\n\n## Development\n\nTo develop codekit, create a Python virtual environment, and\n\n```bash\ngit clone https://github.com/lsst-sqre/sqre-codekit.git\ncd sqre-codekit\nvirtualenv venv\n. venv/bin/activate\npip install -r requirements.txt\npython setup.py develop\n```\n\nNote that all scripts (in `codekit/cli`) are installed using setuptools `entry_points`. See `setup.py`.\n\nTests can be run with [pytest](http://pytest.org/latest/):\n\n```bash\npy.test tests\n```\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/lsst-sqre/sqre-codekit", "keywords": "lsst", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "jmatt-sqre-codekit", "package_url": "https://pypi.org/project/jmatt-sqre-codekit/", "platform": "", "project_url": "https://pypi.org/project/jmatt-sqre-codekit/", "project_urls": { "Homepage": "https://github.com/lsst-sqre/sqre-codekit" }, "release_url": "https://pypi.org/project/jmatt-sqre-codekit/2.1.0/", "requires_dist": null, "requires_python": "", "summary": "LSST Data Management SQuaRE code management tools", "version": "2.1.0" }, "last_serial": 2812202, "releases": { "2.1.0": [ { "comment_text": "", "digests": { "md5": "d7da402fc0279ce7a07d42df1fb255e2", "sha256": "d5f89088f0b7f977e4963d87e10d48bd0951476430b3e2b0a9d5105dff8ff9ec" }, "downloads": -1, "filename": "jmatt_sqre_codekit-2.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d7da402fc0279ce7a07d42df1fb255e2", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 24463, "upload_time": "2017-04-18T21:05:26", "url": "https://files.pythonhosted.org/packages/71/df/af42b4a66c30b53e2402c29e858165d7103c38df292fdfdca115f8cb6cc1/jmatt_sqre_codekit-2.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ff7618f291bf97974665d07563e8fccf", "sha256": "56da646664c051fe0d9643b46b7413fd21a2141706288eb2b12ca88b1df67c52" }, "downloads": -1, "filename": "jmatt-sqre-codekit-2.1.0.tar.gz", "has_sig": false, "md5_digest": "ff7618f291bf97974665d07563e8fccf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16709, "upload_time": "2017-04-18T21:05:25", "url": "https://files.pythonhosted.org/packages/9f/e7/4d63a79c98f50204e5881d95c55e048b986e091c5276e54f139f61bb8277/jmatt-sqre-codekit-2.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d7da402fc0279ce7a07d42df1fb255e2", "sha256": "d5f89088f0b7f977e4963d87e10d48bd0951476430b3e2b0a9d5105dff8ff9ec" }, "downloads": -1, "filename": "jmatt_sqre_codekit-2.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d7da402fc0279ce7a07d42df1fb255e2", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 24463, "upload_time": "2017-04-18T21:05:26", "url": "https://files.pythonhosted.org/packages/71/df/af42b4a66c30b53e2402c29e858165d7103c38df292fdfdca115f8cb6cc1/jmatt_sqre_codekit-2.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ff7618f291bf97974665d07563e8fccf", "sha256": "56da646664c051fe0d9643b46b7413fd21a2141706288eb2b12ca88b1df67c52" }, "downloads": -1, "filename": "jmatt-sqre-codekit-2.1.0.tar.gz", "has_sig": false, "md5_digest": "ff7618f291bf97974665d07563e8fccf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16709, "upload_time": "2017-04-18T21:05:25", "url": "https://files.pythonhosted.org/packages/9f/e7/4d63a79c98f50204e5881d95c55e048b986e091c5276e54f139f61bb8277/jmatt-sqre-codekit-2.1.0.tar.gz" } ] }