Skip to content

ansible-network/ansible-network-triager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Network Triager

Set repositories of interest and run with triager -c /path/to/config.yaml

This tool assists in weekly bug triages by fetching all issues and pull-requests from repositories specified in the config file that were created (or updated) since a pre-defined number of days (timedelta). These are also filtered by the labels set in the config file. In case no labels are specified, then items that are currently unassigned are pulled.

By default, this prints out a table built from the fetched content to the console. When run with --send-email it also emails this table to all the listed maintainers.

Installation

pip install git+https://github.com/ansible-network/ansible-network-triager.git@master

Usage

Options Usage
'-c' Path to config file (selects 'config.yaml' in current working directory by default)
'--log' Print logging information on the console (default level set to INFO)
'--log-to-file' Dump logging information to a specified file (if no file is specified, the data will be written to /tmp/triager_{{ timestamp }}.log)
'--debug' Bumps logging level to DEBUG
'--send-email' Send the triaged table as an email to the list of maintainers

Notes

  • An example config file (example-config.yaml) has been placed in this repository for reference.
  • Tested with Python 3.6
  • This tool gets installed as a part of ansible-network-tools package.

Licensing

GNU General Public License v3.0 or later.

See LICENSE to see the full text.

About

Facilitate weekly bugs scrubs for the Ansible Network Automation team.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages