{ "info": { "author": "Alice Scarpa", "author_email": "alicescarpa@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=============\nPulse Actions\n=============\n\nThis project is Pulse listener that listens to Treeherder's job cancellation and retrigger actions in 'exchange/treeherder/v1/job-actions' and acts upon them.\n\nWhat it does\n============\n\n* worker.py listens to `exchange/treeherder/v1/job-actions` in an infinite loop.\n\n* When it sees a retrigger actions it makes a retrigger request in builapi self-serve using make_retrigger_request from mozci.\n\n* When it sees a cancel action it makes a cancel request in buildapi self-serve using make_cancel_request from mozci.\n\n* Currently everything is run with dry_run=True, so instead of doing requests the script just logs the requests it would have made.\n\n\nCurrent status\n==============\n\n* worker.py reads exchange and topic from run_time_config.json. It then uses HANDLERS_BY_EXCHANGE, a dictionary defined in config.py to decide what function it will use to handle incoming messages.\n\n* Only buildbot topics (e.g. buildbot.#.# or buildbot.try.retrigger) in exchange/treeherder/v1/job-actions are supported for now.\n\n* The functions to deal with TH's job-actions are defined in the module treeherderactions.py\n\n\nRequirements\n------------\n\n* mozci\n* mozillapulse\n\nSee bug 1168148_ for more details.\n\n.. _1168148: https://bugzilla.mozilla.org/show_bug.cgi?id=1168148\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/adusca/pulse_actions", "keywords": null, "license": "MPL 2.0", "maintainer": null, "maintainer_email": null, "name": "pulse-actions", "package_url": "https://pypi.org/project/pulse-actions/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pulse-actions/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/adusca/pulse_actions" }, "release_url": "https://pypi.org/project/pulse-actions/0.1.3/", "requires_dist": null, "requires_python": null, "summary": "A pulse listener that acts upon messages with mozci.", "version": "0.1.3" }, "last_serial": 1566563, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "32435ac62fbfd849aec07c967b5ad54a", "sha256": "3e09419e7b5075af924e32bea1c26e0edba585b215739ed36001b0a93c36f1c7" }, "downloads": -1, "filename": "pulse-actions-0.1.tar.gz", "has_sig": false, "md5_digest": "32435ac62fbfd849aec07c967b5ad54a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1795, "upload_time": "2015-05-27T20:35:05", "url": "https://files.pythonhosted.org/packages/5b/ce/c6d368dccac7f7f597a8199bb2627885f94b3487dd90eea049d12c9832b7/pulse-actions-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "aa9c71430b6de24cf19c8ed85a3a5135", "sha256": "50250b1369118d535ded30fb8263c4e7a7b40abee0e79fc56405cc9f08966aae" }, "downloads": -1, "filename": "pulse-actions-0.1.1.tar.gz", "has_sig": false, "md5_digest": "aa9c71430b6de24cf19c8ed85a3a5135", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3522, "upload_time": "2015-05-28T00:02:54", "url": "https://files.pythonhosted.org/packages/2d/39/a687d47ca148501cfbe1d8e2fc5446816462a0eef2a7211ce1bb286815d8/pulse-actions-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "6d670874b81fe98590a1b52bc198f8e1", "sha256": "689fc0ff2ac470068a0d3e932d20725bf438137f5c4d90983cdc0275f4330369" }, "downloads": -1, "filename": "pulse-actions-0.1.2.tar.gz", "has_sig": false, "md5_digest": "6d670874b81fe98590a1b52bc198f8e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3472, "upload_time": "2015-05-28T14:02:42", "url": "https://files.pythonhosted.org/packages/43/a3/996227e462fab9f517b3072a590885723dfadb5a207d338022f991b7a361/pulse-actions-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "3d65b8706355f6ff9ec3dabdd3b25161", "sha256": "077913fca0115ce90b8487c09b232f2f46fe3634bbe963ca67f33de681e7d804" }, "downloads": -1, "filename": "pulse-actions-0.1.3.tar.gz", "has_sig": false, "md5_digest": "3d65b8706355f6ff9ec3dabdd3b25161", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3477, "upload_time": "2015-05-28T16:05:30", "url": "https://files.pythonhosted.org/packages/a2/c1/2c3884b3ca422c65f201026ce675ae03b81d335517f1dc0fdf4e5ef18a32/pulse-actions-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3d65b8706355f6ff9ec3dabdd3b25161", "sha256": "077913fca0115ce90b8487c09b232f2f46fe3634bbe963ca67f33de681e7d804" }, "downloads": -1, "filename": "pulse-actions-0.1.3.tar.gz", "has_sig": false, "md5_digest": "3d65b8706355f6ff9ec3dabdd3b25161", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3477, "upload_time": "2015-05-28T16:05:30", "url": "https://files.pythonhosted.org/packages/a2/c1/2c3884b3ca422c65f201026ce675ae03b81d335517f1dc0fdf4e5ef18a32/pulse-actions-0.1.3.tar.gz" } ] }