{ "info": { "author": "Milan Hradil", "author_email": "milan.hradil@tomtom.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# ebr-trackerbot\n\n[![Build Status](https://dev.azure.com/tomtomweb/GitHub-TomTom-International/_apis/build/status/tomtom-international.ebr-trackerbot?branchName=master)](https://dev.azure.com/tomtomweb/GitHub-TomTom-International/_build/latest?definitionId=57&branchName=master)\n\n[![PyPI - Version](https://img.shields.io/pypi/v/ebr-trackerbot.svg)](https://pypi.org/project/ebr-trackerbot/)\n[![PyPI - License](https://img.shields.io/pypi/l/ebr-trackerbot.svg)](https://pypi.org/project/ebr-trackerbot/)\n[![PyPI - Python Versions](https://img.shields.io/pypi/pyversions/ebr-trackerbot.svg)](https://pypi.org/project/ebr-trackerbot/)\n[![PyPI - Format](https://img.shields.io/pypi/format/ebr-trackerbot.svg)](https://pypi.org/project/ebr-trackerbot/)\n[![PyPI - Status](https://img.shields.io/pypi/status/ebr-trackerbot.svg)](https://pypi.org/project/ebr-trackerbot/)\n\n## Features\n\n* `show` number of test failures over a given period\n* `track` a test for failures for a given period\n* `list` active tracking requests\n* Respond to private messages\n* Respond to `@mention` once integrated in a channel\n* Store tracking information in ODBC\n\n## Installation\n\nInstall with `pip install ebr-trackerbot`.\n\nTo install with support for ODBC databases (other than SQLite), use `pip install ebr-trackerbot['db_support']`. This will compile against the odbc\nlibrary, so that must also be installed *including* the development package if you intend to use ODBC. On Ubuntu this can be done with\n`sudo apt-get install unixodbc-dev`.\n\n## Configuration\n\nConfigure the vault authentication and vault credentials as described here: https://github.com/tomtom-international/vault-anyconfig#files-and-formatting\nProvide an empty file for both if you will not be using Vault.\n\nProvide the following required configuration via a YAML file:\n\n```yaml\nebr-trackerbot:\n slack_token: slack API token (a secret value, should be stored in Vault)\n apiurl: url to ebr board api endpoint\n```\n\nOptional settings (also to be included in the ebr-trackerbot section):\n\n* `init_channel`: a message will be posted in this channel at startup, must be set to an existing channel. Default is `#test-slackbot`.\n* `storage_backend`: backend storage medium (memory or sqlite). Default is memory.\n* `sqlite_filename`: sqlite filename path. Default is data.db\n* `slack_message_template`: custom slack message when test failed. Can contain these placeholders: {{test}} - test name, {{count}} - number of failures, {{period}} - time period. Default is an empty string.\n* `check_tests_delay`: frequency in which to check for test failures, specified in seconds. Default is 8600 seconds (one day).\n* `log_level`: sets the logging level. See https://docs.python.org/3/library/logging.html#logging-levels for the level options. Default is `ERROR`.\n\n**Note** any entry can be stored in Hashicorp Vault using vault-anyconfig. See https://github.com/tomtom-international/vault-anyconfig#main-configuration-file\nfor details.\n\n\n## Run with Docker:\n\nBy default, the Docker image assumes a combine vault configuration and credentials file named `vault.yaml`. If you are not using Vault, this can be an\nempty file, otherwise see the configuration section above.\n\n`docker run -e BR_URL=
-v ${pwd}/config.yaml:/etc/ebr-trackerbot/config.yaml -v ${pwd}/vault.yaml:/etc/ebr-trackerbot/vault.yaml tomtom-docker-registry.bintray.io/python/ebr_trackerbot python ebr-trackerbot`\n\n\n## Requirements\n\n* [python3](https://www.python.org/downloads)\n* [pip3](https://pip.pypa.io/en/stable/installing)\n* [odbc](https://en.wikipedia.org/wiki/Open_Database_Connectivity) Optional, but required for using any database other than SQLite\n * Linux: [unixODBC](http://www.unixodbc.org/)\n\n## Credits\n\nThis package was created with [Cookiecutter](https://github.com/cookiecutter/cookiecutter) and the [tomtom-international/cookiecutter-python](https://github.com/tomtom-international/cookiecutter-python) project template.\n\n\n# Changelog\n\n## 0.0.1-dev (2019-07-19)\n\n* First release on PyPI.\n\n## 0.1.0 (2019-08-13)\n\n* Adds ODBC database support\n\n## 0.1.1 (2019-08-13)\n\n* Fixes bug due to callback invocation on slack listener\n* Cleans up project documentation", "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/tomtom-international/ebr-trackerbot", "keywords": "ebr_trackerbot", "license": "Apache Software License 2.0", "maintainer": "", "maintainer_email": "", "name": "ebr-trackerbot", "package_url": "https://pypi.org/project/ebr-trackerbot/", "platform": "", "project_url": "https://pypi.org/project/ebr-trackerbot/", "project_urls": { "Homepage": "https://github.com/tomtom-international/ebr-trackerbot" }, "release_url": "https://pypi.org/project/ebr-trackerbot/0.1.4/", "requires_dist": null, "requires_python": "", "summary": "EBR Tracker Slack Bot", "version": "0.1.4" }, "last_serial": 5710639, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "a3aff858bc1983a2aed3474d9428032a", "sha256": "75e6dfde7ed83be930af2180cdcbe4d855bf6d9f66c6881a3ca03723507e9d22" }, "downloads": -1, "filename": "ebr_trackerbot-0.0.1.tar.gz", "has_sig": false, "md5_digest": "a3aff858bc1983a2aed3474d9428032a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19045, "upload_time": "2019-08-06T12:17:13", "url": "https://files.pythonhosted.org/packages/2f/cb/fb35c801b1a0a9ed9b0ded06bff004c3dee35a0c4e3bb80d9783c25c8407/ebr_trackerbot-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "eae886df606f96a202ba6437cf966533", "sha256": "19b04f50a6116c9a854f93f42257610957f5d55337063b2683dee3289e953257" }, "downloads": -1, "filename": "ebr_trackerbot-0.0.2.tar.gz", "has_sig": false, "md5_digest": "eae886df606f96a202ba6437cf966533", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20298, "upload_time": "2019-08-07T12:16:20", "url": "https://files.pythonhosted.org/packages/88/89/954cc11bb046e738646a998b8a919a53b02b0f29f577720625f48b9770d6/ebr_trackerbot-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "dbc355a6bd1a2300d33aa9fc454232c0", "sha256": "f7cc9a455ac7620dec01bdb5dc66bf2be5f2b7f362cc84c313d3cd8bc289a932" }, "downloads": -1, "filename": "ebr_trackerbot-0.0.3.tar.gz", "has_sig": false, "md5_digest": "dbc355a6bd1a2300d33aa9fc454232c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20212, "upload_time": "2019-08-07T13:16:32", "url": "https://files.pythonhosted.org/packages/ae/61/690c1b3f7cee578faecaa18c65722c8d766e622b94d44ff4e516785baf9f/ebr_trackerbot-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "b0e23c9702d3a56782f3656f376751cb", "sha256": "3a74681be12ae61119f3a95c2ec80800a241fb6dfd5a3eb3862281527bc72313" }, "downloads": -1, "filename": "ebr_trackerbot-0.0.4.tar.gz", "has_sig": false, "md5_digest": "b0e23c9702d3a56782f3656f376751cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21442, "upload_time": "2019-08-08T13:09:32", "url": "https://files.pythonhosted.org/packages/d3/3e/ef965482095631951ced4f605c79f7b90e99c8e7122dd9db5a620daf8406/ebr_trackerbot-0.0.4.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "70b6c76f8265f885e6abfc895e0fb3a5", "sha256": "7120c6a13e7a1d8906df748c224699380a686e56b6e0eb1a38d8d0df7da1e998" }, "downloads": -1, "filename": "ebr_trackerbot-0.1.0.tar.gz", "has_sig": false, "md5_digest": "70b6c76f8265f885e6abfc895e0fb3a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24096, "upload_time": "2019-08-13T08:56:01", "url": "https://files.pythonhosted.org/packages/1d/25/6b555f21f190a22156126fcbce27c08ef8f7304d43c7728d4da2d2836ad7/ebr_trackerbot-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "90ae95d4661557b64f695a786ccec947", "sha256": "af8e949053eb1be958401e9ec23f0ff3a8d6a8d7559d0017ebdea3cdc5a78e22" }, "downloads": -1, "filename": "ebr_trackerbot-0.1.1.tar.gz", "has_sig": false, "md5_digest": "90ae95d4661557b64f695a786ccec947", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25090, "upload_time": "2019-08-13T11:48:26", "url": "https://files.pythonhosted.org/packages/96/dd/851074ed56df93445eae83fc0f4212c6410e16cde565d52408cc4b3eb8e1/ebr_trackerbot-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "8432e48cd20cfe1e5de94f6c62a896d3", "sha256": "5c2d04e78689ebb2172cb4edde14be89d2ed291005537cb10ef4be624929ddad" }, "downloads": -1, "filename": "ebr_trackerbot-0.1.2.tar.gz", "has_sig": false, "md5_digest": "8432e48cd20cfe1e5de94f6c62a896d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25184, "upload_time": "2019-08-13T13:05:09", "url": "https://files.pythonhosted.org/packages/7c/a0/9a289d03832ae11d3e861c9a5b925947b3eb2a088ea79414d909ee28a1e9/ebr_trackerbot-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "fdb158d492703540f46852956cb84962", "sha256": "9d05a57f44d6f83acb1e9822551d0c88fdb5fe33241e09bc7b892f62979cadfb" }, "downloads": -1, "filename": "ebr_trackerbot-0.1.3.tar.gz", "has_sig": false, "md5_digest": "fdb158d492703540f46852956cb84962", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25193, "upload_time": "2019-08-21T13:58:28", "url": "https://files.pythonhosted.org/packages/be/10/0d0af4d34e1d665769651958f4eb5fee469e8de8ad17901afe5598a11659/ebr_trackerbot-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "0f17c755a189b406bcbcc816f3d72264", "sha256": "d7f01ec14358b9185ba1102acae7fb619025b3979b592426482252b3a10bb2f8" }, "downloads": -1, "filename": "ebr_trackerbot-0.1.4.tar.gz", "has_sig": false, "md5_digest": "0f17c755a189b406bcbcc816f3d72264", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25298, "upload_time": "2019-08-21T16:28:29", "url": "https://files.pythonhosted.org/packages/7d/6a/a7589a34c10a02235e7b9b6f8bcd4ae01625287de9bf907229ccaa185c4f/ebr_trackerbot-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0f17c755a189b406bcbcc816f3d72264", "sha256": "d7f01ec14358b9185ba1102acae7fb619025b3979b592426482252b3a10bb2f8" }, "downloads": -1, "filename": "ebr_trackerbot-0.1.4.tar.gz", "has_sig": false, "md5_digest": "0f17c755a189b406bcbcc816f3d72264", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25298, "upload_time": "2019-08-21T16:28:29", "url": "https://files.pythonhosted.org/packages/7d/6a/a7589a34c10a02235e7b9b6f8bcd4ae01625287de9bf907229ccaa185c4f/ebr_trackerbot-0.1.4.tar.gz" } ] }