Code Monkey home page Code Monkey logo

bugzilla-reports-tool's Introduction

bugzilla-reports-tool

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/1K2ImPbbFO52njNC2CjvRT5zpzO7wcvOp5L3GSkkGoR8/edit?usp=sharing

Quality dashboard

An exeample of this dashboard:

alt text

Usage:

  1. Copy this template and add your team name in the titie --> <"YOUR TEAM NAME INITIALS"> QE - Quality Dashboard

  2. 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'

  3. Creeate .gapi directory under ~/. with: $ mkdir ~/.gapi

  4. place the google_api_secret.json under ~/.gapi/google_api_secret.json

  5. Ensure you give 'Edit' permissions in your copied spreadsheet, to the 'client' in this json file

  6. install the following on the machine that will execute the script:

  7. In the copied spreadsheet -> "Dashboard configuration", please change the values to fit your product and version

  8. 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

  1. Execute with:

$ python3.7 release_readiness_criteria.py SPREADSHEET_NAME

  1. A list of recommended cronjob exist in the 'Dashboard configuration' tab

QE Tracking dashboard

An exeample of this dashboard:

alt text

Usage:

Same steps as above with changing the script you execute in step 8 to:

$ python3.7 tracking_dashboard.py SPREADSHEET_NAME

Arrival vs. Resolved trend

An exeample of this dashboard:

alt text

Usage:

Same steps as above with changing the script you execute in step 8 to:

$ python3.7 arrivals_vs_resolved.py SPREADSHEET_NAME

Bugzilla reports - Currently in a POC

An example of this report: alt text

Sections currently available:

  • New arrivals
  • Resolved bugs (count only)
  • Total ON_QA (count only)
  • ON_QA 'blockers'
  • Open 'blockers?'
  • Open 'blockers+'

Usage:

  1. install the following on the machine that will execute the script:
  2. 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
  3. Under personal_config.py add your relevant information so the tool will be able to access
  4. Execute with: $ python bugzilla_report.py

bugzilla-reports-tool's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.