{ "info": { "author": "Stuart McColl", "author_email": "it@stuartmccoll.co.uk", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# GitLab Attendant\n\n[![Build Status](https://travis-ci.org/stuartmccoll/gitlab-attendant.svg?branch=master)](https://travis-ci.org/stuartmccoll/gitlab-attendant) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## Description\n\nThe GitLab Attendant is a bot that will tidy and attend to repositories on a specified GitLab installation at a scheduled basis. Currently the bot is capable of removing merged branches, assigning project members to open issues, assigning project members to open merge requests, notifying issue assignees of due or overdue issues, and notifying assignees of stale merge requests.\n\nIn order to use the GitLab Attendant fully, you should create a new account within the specified GitLab installation with privileges that will allow the bot to read and write any changes necessary to branches, merge requests, issues, etc. The personal access token for this account should then be entered in the `token` paramter when calling the bot from the command line.\n\n**Python 3.6** or **Python 3.7** are required to run this utility.\n\n## Installation\n\nThis utility can be installed through [pip](https://pypi.org/project/pip/) by running the following command:\n\n```shell\npip install gitlab-attendant\n```\n\n## Usage\n\n```shell\ngitlab-attendant --ip localhost --interval 7 --token TOKEN\n\nOptions:\n --ip The IP address of the GitLab installation.\n --interval task scheduler interval in hours (ex. 1, 10) [default: 24]\n --token GitLab personal access token.\n```\n\nThis will run the GitLab Attendant process, which will begin attending to the specified GitLab installation at the first interval specified.\n\n## Tests\n\nTests for this project utilise the [Pytest](https://pypi.org/project/pytest/) framework. To run the existing suite of unit tests run the following command within the root directory:\n\n```shell\npytest\n```\n\n## Notes\n\nAll Python code has been formatted by [Black](https://github.com/ambv/black), 'the uncompromising Python code formatter'.\n\nType checking has been provided by [Pyre](https://pyre-check.org/).\n\nContinuous integration is handled by [Travis CI](https://travis-ci.org/).\n\n## License\n\nSee [LICENSE.md](LICENSE.md).\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/stuartmccoll/gitlab-attendant", "keywords": "gitlab bot python", "license": "", "maintainer": "", "maintainer_email": "", "name": "gitlab-attendant", "package_url": "https://pypi.org/project/gitlab-attendant/", "platform": "", "project_url": "https://pypi.org/project/gitlab-attendant/", "project_urls": { "Homepage": "https://github.com/stuartmccoll/gitlab-attendant" }, "release_url": "https://pypi.org/project/gitlab-attendant/0.0.1/", "requires_dist": [ "requests", "pytz", "python-dateutil", "schedule (==0.5.0)" ], "requires_python": "", "summary": "A GitLab bot that tidies and attends to repositories", "version": "0.0.1" }, "last_serial": 4158111, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "0724221ff2efa929116a72db59b90729", "sha256": "0d30d4be169d9487be0b5dd9509ce832770fb75cb635c4168a105694d2df035c" }, "downloads": -1, "filename": "gitlab_attendant-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "0724221ff2efa929116a72db59b90729", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2610, "upload_time": "2018-08-10T19:17:35", "url": "https://files.pythonhosted.org/packages/77/71/1f351d1de1a4bbcd54005c40047172a9328130bb44b53d67d60052aff78b/gitlab_attendant-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4a7be6b841927b1772adc2f181b34d5f", "sha256": "c78db6b1d06678d8db69c6482a09b9fc716087de9646f938f51f814f24efead6" }, "downloads": -1, "filename": "gitlab-attendant-0.0.1.tar.gz", "has_sig": false, "md5_digest": "4a7be6b841927b1772adc2f181b34d5f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2417, "upload_time": "2018-08-10T19:17:37", "url": "https://files.pythonhosted.org/packages/15/4c/0beb41eac3730cc56e11a9809691353f06f5dd3d22a01d51949d5ff8a256/gitlab-attendant-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0724221ff2efa929116a72db59b90729", "sha256": "0d30d4be169d9487be0b5dd9509ce832770fb75cb635c4168a105694d2df035c" }, "downloads": -1, "filename": "gitlab_attendant-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "0724221ff2efa929116a72db59b90729", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2610, "upload_time": "2018-08-10T19:17:35", "url": "https://files.pythonhosted.org/packages/77/71/1f351d1de1a4bbcd54005c40047172a9328130bb44b53d67d60052aff78b/gitlab_attendant-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4a7be6b841927b1772adc2f181b34d5f", "sha256": "c78db6b1d06678d8db69c6482a09b9fc716087de9646f938f51f814f24efead6" }, "downloads": -1, "filename": "gitlab-attendant-0.0.1.tar.gz", "has_sig": false, "md5_digest": "4a7be6b841927b1772adc2f181b34d5f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2417, "upload_time": "2018-08-10T19:17:37", "url": "https://files.pythonhosted.org/packages/15/4c/0beb41eac3730cc56e11a9809691353f06f5dd3d22a01d51949d5ff8a256/gitlab-attendant-0.0.1.tar.gz" } ] }