This project contains scripts for generating statistics on Fedora QA contributions to various systems. These scripts are primarily used to generate the 'Heroes of Fedora' posts which identify and thank major QA contributors.
Note that it previous contained
stats-wiki.py (for generating user stats from Wikitcms release validation testing) and
testcase_stats (for generating some longitudinal information on Wikitcms validation test coverage). Both these functions have been merged into the relval project, as
relval user-stats and
relval testcase-stats respectively.
Also note that this project was split out of the old combined
fedora-qa Fedora Hosted repository using
git filter-branch, and some early history (before the files were moved to a subdirectory) has been lost. A git expert could probably retrieve it from the backup objects.
stats-bodhi.py gathers statistics on feedback to Fedora's update feedback system, Bodhi. It lists all users who posted more than X comments, where X is a configurable cut-off, by default 1. It shows exactly how many comments each person above the cut-off posted, and gives a count of users who submitted more than 0 but fewer than X comments. It also gives a total count of all users who submitted comments, and a total count of all comments submitted. It excludes known bot accounts.
You can tell it to only consider updates submitted within a specific time frame, or for a specific release. Run
stats-bodhi.py --help for instructions. It requires the
fedora.client library, which is provided by the
python-fedora package on Fedora.
stats-bodhi's license is GNU GPLv2+.
stats-bugzilla.py gathers statistics on bugs submitted to Bugzilla against Fedora. Like
stats-bodhi, it lists all users who submitted more than X reports, where X is a configurable cut-off which defaults to 1. It shows the number of reports each user submitted, along with how many of them were accepted as 'release blocking' bugs, and how many were 'excess' reports (which means they were closed as
INSUFFICIENT_DATA). It also gives a total count of all users who submitted any bug reports, and a total count of reports. It excludes known bot accounts.
You must pass it a release number and a milestone, which tell it which blocker tracker bug to check against, and a time frame (a 'from' date and a 'to' date). It will check all new reports within that timeframe, and check whether they were accepted as blockers for the specified release and milestone. Run
stats-bugzilla.py --help for instructions. It requires the
bugzilla library, which is provided by the
python-bugzilla package on Fedora.
stats-bugzilla is licensed under the AGPL, version 3 or later.