{ "info": { "author": "Matthew Treinish", "author_email": "mtreinish@kortar.org", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4" ], "description": "=======\ngermqtt\n=======\n\nGermqtt, like its name implies, is a tool for publish a gerrit event stream\ninto MQTT. It will publish all the capture events from the gerrit event stream\nand publish them to MQTT into topics split by project and event type. For\nexample a commented added to a project name foo would be published as an event\non the topic: base_topic/foo/commented-added\n\nBy default germqtt is setup as a daemon however if you need to run it\ninteractively you can use the *--foreground* option to do this.\n\nConfiguration\n=============\nThere are a few required pieces of information to make germqtt work properly.\nThese settings are specified in the config file.\n\nGerrit\n------\n\nYou need to provide credentials and connection information for connecting to\ngerrit to get the event stream. Germqtt uses the gerritlib library to establish\na connection to gerrit over ssh and listen to the event stream. All these\noptions live in the *[gerrit]* section. The 3 required options for gerrit are:\n\n * **username** - The username to login with\n * **hostname** - The hostname for your gerrit server\n * **key** - The path to your ssh key to use for connecting to gerrit\n\nThere is also an optional config option, *port*, which is used to specify the\nport to connect to gerrit with. By default this is set to 29418, which is the\ngerrit default. If your gerrit server uses a non-default port you'll need to set\nthis option.\n\nMQTT\n----\n\nJust as with gerrit there are a few required options for talking to MQTT, which\nis the other axis of communication in germqtt. The options for configuring MQTT\ncommunication go in the *[mqtt]* section. The 2 required options are:\n\n * **hostname** - The hostname for the MQTT broker\n * **topic** - The base topic name to use for the gerrit events\n\nThere are also a couple optional settings for communicating with mqtt that you\ncan set:\n\n * **port** - The port to communicate to the MQTT broker on. By default this\n is set to 1883, the default MQTT port. This only needs to be set\n if your broker uses a non-default port.\n * **keepalive** - Used to set the keepalive time for connections to the MQTT\n broker. By default this is set to 60 seconds.\n * **username** - Used to set the auth username to connect to the MQTT broker\n with.\n * **password** - Used to set the auth password to connect to the MQTT broker\n with. A username must be set for this option to be used.\n\nOther Settings\n--------------\n\nBy default germqtt will use /var/run/germqtt.pid for it's PID file, if however\nyou'd like to use a different file for storing the PID you can use the *pidfile*\noption in the *[default]* section of the configuration file.\n\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "germqtt", "package_url": "https://pypi.org/project/germqtt/", "platform": "", "project_url": "https://pypi.org/project/germqtt/", "project_urls": null, "release_url": "https://pypi.org/project/germqtt/0.1.0/", "requires_dist": [ "gerritlib (>=0.6.0)", "paho-mqtt (>=1.1)", "pbr (>=1.6)", "python-daemon", "six (>=1.9.0)" ], "requires_python": "", "summary": "Publish Gerrit Stream on MQTT", "version": "0.1.0" }, "last_serial": 2255627, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "d96338cbae8c213263343efcc13d72ea", "sha256": "d477caa19e29c84210e793f451a2b9d8be9ca6160d6ce3308bb5c35bf0477733" }, "downloads": -1, "filename": "germqtt-0.0.1.tar.gz", "has_sig": false, "md5_digest": "d96338cbae8c213263343efcc13d72ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9307, "upload_time": "2016-07-25T20:29:00", "url": "https://files.pythonhosted.org/packages/28/b5/cdd92135f4f54d4fad290b95d9c84e9771629c4be3bcb52aab019cb00628/germqtt-0.0.1.tar.gz" } ], "0.0.1.dev4": [], "0.1.0": [ { "comment_text": "", "digests": { "md5": "b9cca13f56ea326b7607575ed34aaeeb", "sha256": "ba45f57ac61f69519c210442b08fc1aac1202788cddabc7621cc4cfe44afbd69" }, "downloads": -1, "filename": "germqtt-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b9cca13f56ea326b7607575ed34aaeeb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8563, "upload_time": "2016-08-01T14:58:37", "url": "https://files.pythonhosted.org/packages/3d/92/83ca6751eb2d63aa80a41196c5583b631c3d9b7ad111660b3bed2c6259b5/germqtt-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "88b60bb0d33ea4a0e6864a986b823ac1", "sha256": "91ebe2b2dbc4f0138076b5436b7cddc9a64f48ca24945eed157730abf77c1820" }, "downloads": -1, "filename": "germqtt-0.1.0.tar.gz", "has_sig": false, "md5_digest": "88b60bb0d33ea4a0e6864a986b823ac1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11314, "upload_time": "2016-08-01T14:58:40", "url": "https://files.pythonhosted.org/packages/5c/09/3c715a53a87566c12aba8b303ee3954afbf9e2eac172bab9efc21836acf5/germqtt-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b9cca13f56ea326b7607575ed34aaeeb", "sha256": "ba45f57ac61f69519c210442b08fc1aac1202788cddabc7621cc4cfe44afbd69" }, "downloads": -1, "filename": "germqtt-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b9cca13f56ea326b7607575ed34aaeeb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8563, "upload_time": "2016-08-01T14:58:37", "url": "https://files.pythonhosted.org/packages/3d/92/83ca6751eb2d63aa80a41196c5583b631c3d9b7ad111660b3bed2c6259b5/germqtt-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "88b60bb0d33ea4a0e6864a986b823ac1", "sha256": "91ebe2b2dbc4f0138076b5436b7cddc9a64f48ca24945eed157730abf77c1820" }, "downloads": -1, "filename": "germqtt-0.1.0.tar.gz", "has_sig": false, "md5_digest": "88b60bb0d33ea4a0e6864a986b823ac1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11314, "upload_time": "2016-08-01T14:58:40", "url": "https://files.pythonhosted.org/packages/5c/09/3c715a53a87566c12aba8b303ee3954afbf9e2eac172bab9efc21836acf5/germqtt-0.1.0.tar.gz" } ] }