This tool will allow you to create a Quality dashboard for your product and send (weekly or whenever you want, depend on cronjob) reports with bug status. The quality dashboard is fully automated and the template Google Spreadsheet can be found here - https://docs.google.com/spreadsheets/d/1hmsG9wDIi0sayeAOEmYjpS8sV4c5diZhbsA3uyhQeGU/edit?usp=sharing
An exeample of this dashboard:
-
Copy this template and add your team name in the titie --> <"YOUR TEAM NAME INITIALS"> QE - Quality Dashboard
-
To enable interaction with Google spreadsheet, follow the steps in https://developers.google.com/sheets/api/quickstart/python and after, steps in here https://gspread.readthedocs.io/en/latest/oauth2.html#oauth-credentials (until step 6). Name the Json from step 3 as 'google_api_secret.json'
-
Creeate .gapi directory under ~/. with: $ mkdir ~/.gapi
-
place the google_api_secret.json under ~/.gapi/google_api_secret.json
-
Ensure you give 'Edit' permissions in your copied spreadsheet, to the 'client' in this json file
-
install the following on the machine that will execute the script:
- gspread (pip install gspread) from https://github.com/burnash/gspread
- python-bugzilla (pip install python-bugzilla) from https://github.com/python-bugzilla/python-bugzilla
- oauth2client (pip install oauth2client) from https://github.com/googleapis/oauth2client
- pyyaml (pip install pyyaml) from https://github.com/yaml/pyyaml
-
In the copied spreadsheet -> "Dashboard configuration", please change the values to fit your product and version
-
Create a yml file under ~/.gapi (from step 3) and name the file 'personal_cfg.yml' and add the following data:
bugzilla:
user: <your RH account>@redhat.com
password: <your Bugzilla passowrd>
# Optional
bugzilla_report:
gmail_address: <your personal email address>
gmail_pass: <your personal email password>
The 'Bugzilla' section is a must have for this dashboard to work as the scripts needs access to Bugzilla
- Execute with:
$ python3.7 release_readiness_criteria.py SPREADSHEET_NAME
- A list of recommended cronjob exist in the 'Dashboard configuration' tab
An exeample of this dashboard:
Same steps as above with changing the script you execute in step 8 to:
$ python3.7 tracking_dashboard.py SPREADSHEET_NAME
An exeample of this dashboard:
Same steps as above with changing the script you execute in step 8 to:
$ python3.7 arrivals_vs_resolved.py SPREADSHEET_NAME
- New arrivals
- Resolved bugs (count only)
- Total ON_QA (count only)
- ON_QA 'blockers'
- Open 'blockers?'
- Open 'blockers+'
- install the following on the machine that will execute the script:
- python-bugzilla (pip install python-bugzilla) from https://github.com/python-bugzilla/python-bugzilla
- Under config.py you have few lines that needs your attention to be specific to your product - please follow the guidelines in comments under config.py
- Under personal_config.py add your relevant information so the tool will be able to access
- Execute with: $ python bugzilla_report.py