{ "info": { "author": "Jason Antman", "author_email": "jason@jasonantman.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "Natural Language :: English", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 3" ], "description": "pypuppetdb_daily_report\n=======================\n\n.. image:: https://pypip.in/v/pypuppetdb_daily_report/badge.png\n :target: https://crate.io/packages/pypuppetdb_daily_report\n\n.. image:: https://pypip.in/d/pypuppetdb_daily_report/badge.png\n :target: https://crate.io/packages/pypuppetdb_daily_report\n\n\n.. image:: https://secure.travis-ci.org/jantman/pypuppetdb-daily-report.png?branch=master\n :target: http://travis-ci.org/jantman/pypuppetdb-daily-report\n :alt: travis-ci for master branch\n\n.. image:: https://coveralls.io/repos/jantman/pypuppetdb-daily-report/badge.png?branch=master\n :target: https://coveralls.io/r/jantman/pypuppetdb-daily-report?branch=master\n :alt: coverage report for master branch\n\nA daily run summary report for PuppetDB, written in Python using `nedap's pypuppetdb `_ module.\n\nFor an example of the current version's output, see `https://rawgithub.com/jantman/pypuppetdb-daily-report/master/example_output.html `_.\n\nThe report displays the following for the current point-in-time:\n\n* the current values of 'puppetversion', 'facterversion' and 'lsbdistdescription' facts\n\nAnd the following for each day in the run interval:\n\n* dashboard metrics (averages where possible) snapshotted at the time the script was run\n\n* total number of runs, number of runs with failures\n\n* number of nodes with:\n\n * no successful runs, 50+% failed runs, any failed runs\n\n * less than 40 successful runs in 24 hours\n\n * count of runs with changed resources\n\n * count of nodes with changed resources\n\n* top 10 failing resources, along with count of nodes they're failing on\n\n* top 10 resources changed, how many nodes and how many runs they were changed in\n\n* any (up to 10) resources changed in at least 45% of runs on a node (flapping)\n\n\nDevelopment\n===========\n\nGuidelines\n----------\n\n* pep8 compliant with some exceptions (see pytest.ini)\n* 100% test coverage with pytest (with valid tests) (note that until\n https://github.com/lemurheavy/coveralls-public/issues/31 is fixed, you\n need to check the ``cov`` output for branch coverage, coveralls can't\n be relied on).\n\nTesting\n-------\n\nTesting is done via `pytest `_, driven by `tox `_.\n\n* testing is as simple as:\n\n * ``pip install tox``\n * ``tox``\n\n* If you want to see code coverage: ``tox -e cov``\n\n * this produces two coverage reports - a summary on STDOUT and a full report in the ``htmlcov/`` directory\n\n* If you want to pass additional arguments to pytest, add them to the tox command line after \"--\". i.e., for verbose pytext output on py27 tests: ``tox -e py27 -- -v``\n\nRelease Checklist\n-----------------\n\n1. Open an issue for the release; cut a branch off master for that issue.\n2. Confirm that there are CHANGES.rst entries for all major changes.\n3. Ensure that Travis tests passing in all environments.\n4. Ensure that test coverage is no less than the last release (ideally, 100%).\n5. Increment the version number in __init__.py and add version and release date to CHANGES.rst, then push to GitHub.\n6. Confirm that README.rst renders correctly on GitHub.\n7. Upload package to testpypi, confirm that README.rst renders correctly.\n\n * Make sure your ~/.pypirc file is correct\n * ``python setup.py register -r https://testpypi.python.org/pypi``\n * ``python setup.py sdist upload -r https://testpypi.python.org/pypi``\n * Check that the README renders at https://testpypi.python.org/pypi/pypuppetdb-daily-report\n\n8. Create a pull request for the release to be merge into master. Upon successful Travis build, merge it.\n9. Tag the release in Git, push tag to GitHub:\n\n * tag the release. for now the message is quite simple: ``git tag -a vX.Y.Z -m 'X.Y.Z released YYYY-MM-DD'``\n * push the tag to GitHub: ``git push origin vX.Y.Z``\n\n11. Upload package to live pypi:\n\n * ``python setup.py sdist upload``\n\n10. make sure any GH issues fixed in the release were closed.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/jantman/pypuppetdb-daily-report/", "keywords": "puppet puppetdb report summary", "license": "Apache 2", "maintainer": null, "maintainer_email": null, "name": "pypuppetdb_daily_report", "package_url": "https://pypi.org/project/pypuppetdb_daily_report/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pypuppetdb_daily_report/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/jantman/pypuppetdb-daily-report/" }, "release_url": "https://pypi.org/project/pypuppetdb_daily_report/0.0.2/", "requires_dist": null, "requires_python": null, "summary": "Daily run summary report for PuppetDB, written in Python using nedap's pypuppetdb module.", "version": "0.0.2" }, "last_serial": 1136218, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "026553bc7f0b596fdde32931b7c9cf3b", "sha256": "b885589063d457cf5adb55733ac39119f5480619caebb6afa7469cf0c4a1605f" }, "downloads": -1, "filename": "pypuppetdb_daily_report-0.0.1.tar.gz", "has_sig": false, "md5_digest": "026553bc7f0b596fdde32931b7c9cf3b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25391, "upload_time": "2014-06-23T17:36:49", "url": "https://files.pythonhosted.org/packages/c0/47/a0364ccb0a8c59e3a2e83f7b4e27e198e10882536be1cdf0439846a92113/pypuppetdb_daily_report-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "8f419a1ac2989b85f50a2e8d165bd4d2", "sha256": "16557bb59c3cd09180f42f169e0f6a33d2d974624212e037aa96b38addb6cc7f" }, "downloads": -1, "filename": "pypuppetdb_daily_report-0.0.2.tar.gz", "has_sig": false, "md5_digest": "8f419a1ac2989b85f50a2e8d165bd4d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25416, "upload_time": "2014-06-24T20:04:53", "url": "https://files.pythonhosted.org/packages/4a/32/7245febcac55a3cd51c0829b1ce41feef713f726ec73adbeea3408540b67/pypuppetdb_daily_report-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8f419a1ac2989b85f50a2e8d165bd4d2", "sha256": "16557bb59c3cd09180f42f169e0f6a33d2d974624212e037aa96b38addb6cc7f" }, "downloads": -1, "filename": "pypuppetdb_daily_report-0.0.2.tar.gz", "has_sig": false, "md5_digest": "8f419a1ac2989b85f50a2e8d165bd4d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25416, "upload_time": "2014-06-24T20:04:53", "url": "https://files.pythonhosted.org/packages/4a/32/7245febcac55a3cd51c0829b1ce41feef713f726ec73adbeea3408540b67/pypuppetdb_daily_report-0.0.2.tar.gz" } ] }