GithubHelp home page GithubHelp logo

isabella232 / triagebot-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coreos/triagebot

0.0 0.0 0.0 166 KB

Simple Slack triage helper for Bugzilla bugs

Home Page: https://quay.io/repository/coreos/triagebot

License: Apache License 2.0

Python 99.39% Dockerfile 0.61%

triagebot-1's Introduction

Triagebot

This is a simple Slack bot to help with triaging Bugzilla issues. It reports new bugs to a designated Slack channel and tracks whether the bugs have been triaged.

Flows

  • NEW bug arrives on the configured Bugzilla product and component → send message to channel and pin it to the channel
  • Open bug arrives on the configured Bugzilla product and component, assigned to default assignee → same behavior as NEW bug
  • "Resolve" button clicked on a bug message → unpin message from channel, update message to show that the bug is resolved, log resolution as threaded reply
  • Bot mentioned in unresolve message in bug thread → repin message to channel, update message to show that the bug is unresolved
  • Resolved bug is moved to NEW or to any open state with the default assignee, in the configured component → same behavior as unresolve message; also send threaded reply noting the change in bug status
  • Bot mentioned with track <bug-number|bug-URL> → same behavior as NEW bug; also send threaded reply noting which user requested tracking

Installing

A setup.cfg would be nice, but we don't have one right now.

cd ~
git clone https://github.com/coreos/triagebot
cd triagebot
virtualenv env
env/bin/pip install -r requirements.txt
env/bin/python triagebot.py

Alternatively, a container image is available.

You'll also need to set up a Slack app in your workspace and get an API token for it, and to get a Bugzilla API key.

Config format

See config.example. Put this in ~/.triagebot by default.

triagebot-1's People

Contributors

bgilbert avatar miabbott 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.