{ "info": { "author": "David Malcolm ", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [], "description": "\"firehose\" is a Python package intended for managing the results from\ncode analysis tools (e.g. compiler warnings, static analysis, linters,\netc).\n\nIt currently provides parsers for the output of gcc, clang-analyzer, cppcheck,\nand findbugs. These parsers convert the results into a common data model of\nPython objects, with methods for lossless roundtrips through a provided\nXML format. There is also a JSON equivalent.\n\nIt is available on pypi here:\n https://pypi.python.org/pypi/firehose\n\nand via git from:\n https://github.com/fedora-static-analysis/firehose\n\nThe mailing list is:\n https://admin.fedoraproject.org/mailman/listinfo/firehose-devel\n \nDocumentation can be read here:\n http://firehose.readthedocs.io/en/latest/\n\nFirehose is Free Software, licensed under the LGPLv2.1 or (at your\noption) any later version.\n\nIt requires Python 2.7 or 3.2 onwards, and has been successfully tested\nwith PyPy.\n\nIt is currently of alpha quality.\n\nThe API and serialization formats are not yet set in stone (and we're\nkeen on hearing feedback before we lock things down more).\n\nMotivation: http://lists.fedoraproject.org/pipermail/devel/2012-December/175232.html\n\nI want to slurp the results from static code analysis into a database,\nwhich means coercing all of the results into some common interchange format,\ncodenamed \"firehose\" (which could also be the name of the database).\n\nThe idea is a common XML format that all tools can emit that:\n * describes a warning\n * gives source-code location of the warning: filename, function,\n line number.\n * optionally with a `CWE `_\n identifier\n * potentially with other IDs and URLs, e.g. the ID \"SIG30-C\" with URL\n https://www.securecoding.cert.org/confluence/display/seccode/SIG30-C.+Call+only+asynchronous-safe+functions+within+signal+handlers\n * optionally describes code path to get there (potentially\n interprocedural across source files), potentially with \"state\"\n annotations (e.g. in the case of a reference-counting bug, it's useful\n to be able to annotate the changes to the refcount).\n\ntogether with a simple Python API for working with the format as a\ncollection of Python objects (creating, write to XML, read from XML,\nmodification, etc)\n\nI initially considered using JSON, but went with XML because if multiple\ntools are going to emit this, it's good to be able to validate things\nagainst a schema (see\n`firehose.rng `_,\na RELAX-NG schema).\n\nReferences to source files in the format can include a hash of the source\nfile itself (e.g. SHA-1) so that you can uniquely identify which source file\nyou were talking about.\n\nThis format would be slurped into the DB for the web UI, and can have other\nthings done to it without needing a server:\ne.g.:\n\n * convert it to the textual form of a gcc compilation error, so that\n Emacs etc can parse it and take you to the source\n * be turned into a simple HTML report locally on your workstation\n\nProjects using Firehose:\n\n * `mock-with-analysis `_\n can rebuild a source RPM, capturing the results of 4 different code\n analysis tools in Firehose format (along with all source files that\n were mentioned in any report).\n * The `\"firehose\" branch\n `_\n of\n `cpychecker `_\n can natively emit Firehose XML reports\n * https://github.com/paultag/storz/blob/master/wrappers/storz-lintian\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/fedora-static-analysis/firehose", "keywords": null, "license": "LGPL2.1 or later", "maintainer": null, "maintainer_email": null, "name": "firehose", "package_url": "https://pypi.org/project/firehose/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/firehose/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/fedora-static-analysis/firehose" }, "release_url": "https://pypi.org/project/firehose/0.5/", "requires_dist": null, "requires_python": null, "summary": "Library for working with output from static code analyzers", "version": "0.5" }, "last_serial": 2901622, "releases": { "0.0.1": [], "0.1": [ { "comment_text": "", "digests": { "md5": "f0bd6ee271c2df1fa7d6cfc841d9e35e", "sha256": "bb2af28baab7d36abd9975bb5bd2e1a1e66e887c98b7b356c5a604ba1375c79a" }, "downloads": -1, "filename": "firehose-0.1.tar.gz", "has_sig": false, "md5_digest": "f0bd6ee271c2df1fa7d6cfc841d9e35e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13257, "upload_time": "2013-03-19T05:25:19", "url": "https://files.pythonhosted.org/packages/0c/56/5410b13599ea07245522bb93988e6a7bd7a54381a47daa6cb755a242101f/firehose-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "16dc70d53c721af5ab3574b331f23180", "sha256": "61f362155aab7173e2011340fd014f00ca72bcef95865f39437f2f3576b19f33" }, "downloads": -1, "filename": "firehose-0.2.tar.gz", "has_sig": false, "md5_digest": "16dc70d53c721af5ab3574b331f23180", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 42376, "upload_time": "2013-03-25T20:56:30", "url": "https://files.pythonhosted.org/packages/d3/97/d240bfcc1b8d71bdbe453afd90d8becd8843275ae427348220cfb2e7e9a1/firehose-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "9c63d8ae2f52fa0480154479d96e4d9c", "sha256": "dc866bb4cd42bc6fc5ed11c5b88c9975591776aaffd455e52715810d1346f36b" }, "downloads": -1, "filename": "firehose-0.3.tar.gz", "has_sig": false, "md5_digest": "9c63d8ae2f52fa0480154479d96e4d9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44014, "upload_time": "2013-10-08T16:45:33", "url": "https://files.pythonhosted.org/packages/ea/4a/4ac7cb80d58cf12ca1902425d934eae1d3848dad14d618eb4eba9981d754/firehose-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "16f6aa6d1048a4e52bf9706bfcff984f", "sha256": "d3bd663b0bd1d751b81d866efa0e8a2394cc252c11f48f16f72ea39af5b585dc" }, "downloads": -1, "filename": "firehose-0.4.tar.gz", "has_sig": false, "md5_digest": "16f6aa6d1048a4e52bf9706bfcff984f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53972, "upload_time": "2017-03-29T17:46:10", "url": "https://files.pythonhosted.org/packages/c5/3f/9cf86022c59702891688cafa728d8f09c5be375e4761b5a84df82c767a03/firehose-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "a1ebb868cd7051d1952984df1c139e55", "sha256": "9f9ac09cef314fecc6f40d3901baf2f8a0dae706ee42a14a8a331ba97d626ced" }, "downloads": -1, "filename": "firehose-0.5.tar.gz", "has_sig": false, "md5_digest": "a1ebb868cd7051d1952984df1c139e55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 57903, "upload_time": "2017-05-26T18:14:14", "url": "https://files.pythonhosted.org/packages/9f/85/3a3e436ea1a5f955dc3c6928d14581ade503c0733d1c77b0688c12a83f0b/firehose-0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a1ebb868cd7051d1952984df1c139e55", "sha256": "9f9ac09cef314fecc6f40d3901baf2f8a0dae706ee42a14a8a331ba97d626ced" }, "downloads": -1, "filename": "firehose-0.5.tar.gz", "has_sig": false, "md5_digest": "a1ebb868cd7051d1952984df1c139e55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 57903, "upload_time": "2017-05-26T18:14:14", "url": "https://files.pythonhosted.org/packages/9f/85/3a3e436ea1a5f955dc3c6928d14581ade503c0733d1c77b0688c12a83f0b/firehose-0.5.tar.gz" } ] }