{ "info": { "author": "Finn Herzfeld", "author_email": "finn@finn.io", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha" ], "description": "BuildBot Status Shields\n=======================\n\n*For Buildbot Nine, see the nine branch or\n`BuildbotStatusShields `__\non PyPI*\n\n`Buildbot `__ version eight offers build status\nshields in PNG form at ``/png`` from the WebStatus server. However, they\nlook pretty ugly and there isn't any configuration available. So I made\nthis here thing to allow expanded use of the status shield/badge/thing.\n\nUsage\n-----\n\n*Note: This whole ``bind()`` thing feels wrong, I just haven't worked\nout how to do it right. Please drop me a note if you wish to enlighten\nme*\n\nIn your ``master.cfg`` file, use\n``BuildbotStatusShields.bind(WebStatus)`` to bind to the WebStatus\nserver:\n\n.. code:: python\n\n import BuildbotStatusShields as shields\n\n c['status'].append(shields.bind(html.WebStatus(http_port=8010, authz=authz_cfg)))\n\nYou can pass ``bind()`` options to change configuration settings. For\nexample:\n\n.. code:: python\n\n import BuildbotStatusShields as shields\n\n c['status'].append(shields.bind(html.WebStatus(http_port=8010, authz=authz_cfg), path=\"shield\"))\n\nWill make it bind to ``/shield.png`` and ``/shield.svg``. See below for\nall configuration options.\n\nWhen it is configured, run the buildbot master. Badges will be available\nat ``/badge.svg`` and ``/badge.png`` (by default), and can be passed the\nfollowing parameters:\n\n- ``builder`` (required) - The name of the builder to return the status\n of\n- ``number`` (optional) - The build number to return the status of.\n ``-1`` (default) returns the most build\n\nConfiguration\n-------------\n\nThere are several options available, here's a quick list that I'll\nprobably forget to update. Check ``shields.py`` for the full list:\n\n- ``path`` - path to bind to. Defaults to ``badge`` (binds to\n ``/badge.png`` and ``/badge.svg``)\n- ``leftText`` - the text on the left of the badge. Defaults to \"Build\n Status\"\n- ``leftColor`` - the color of the left side of the badge. Defaults to\n ``#555``\n- ``templateName`` - The name to the badge template. Defaults to\n ``badge.svg.j2``\n- ``fontFace`` - The font face to use when rendering the badge.\n Defaults to ``DejaVu Sans``\n- ``fontSize`` - fontsize to use, defaults to 11\n- ``colorScheme`` - a dict of colors to use based on the status. See\n ``__init__.py`` for defaults\n\nYou can also customize the badge. Simply place an SVG Jinja2 template at\n``templates/badge.svg.j2`` in the buildbot master folder. Several\nexamples from `shields.io `__ can be found in the\n``templates/`` folder of this package.", "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/thefinn93/BuildbotStatusShields", "keywords": "shields badges status Buildbot", "license": "GPLv2", "maintainer": null, "maintainer_email": null, "name": "BuildbotEightStatusShields", "package_url": "https://pypi.org/project/BuildbotEightStatusShields/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/BuildbotEightStatusShields/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/thefinn93/BuildbotStatusShields" }, "release_url": "https://pypi.org/project/BuildbotEightStatusShields/0.1/", "requires_dist": null, "requires_python": null, "summary": "Adds shields.io-style badges to Buildbot", "version": "0.1" }, "last_serial": 1337568, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "b6318cbfd0efacb37ae2061e5c1a803c", "sha256": "5f266426ac45dfa5e4f964fab3e00f1d9c9917ea2f04644b64403455a2225167" }, "downloads": -1, "filename": "BuildbotEightStatusShields-0.1.tar.gz", "has_sig": false, "md5_digest": "b6318cbfd0efacb37ae2061e5c1a803c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5598, "upload_time": "2014-12-09T21:02:47", "url": "https://files.pythonhosted.org/packages/36/f1/ddbb7b9be543db140e471c03d85e0c6a870c3ca205cb47f298fd28617e13/BuildbotEightStatusShields-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b6318cbfd0efacb37ae2061e5c1a803c", "sha256": "5f266426ac45dfa5e4f964fab3e00f1d9c9917ea2f04644b64403455a2225167" }, "downloads": -1, "filename": "BuildbotEightStatusShields-0.1.tar.gz", "has_sig": false, "md5_digest": "b6318cbfd0efacb37ae2061e5c1a803c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5598, "upload_time": "2014-12-09T21:02:47", "url": "https://files.pythonhosted.org/packages/36/f1/ddbb7b9be543db140e471c03d85e0c6a870c3ca205cb47f298fd28617e13/BuildbotEightStatusShields-0.1.tar.gz" } ] }