Coder Social home page Coder Social logo

bugzillabot's Introduction

BugzillaBot

Installation

BugzillaBot requires few dependencies:

  • python
  • python-pip

To install python libraries needed by the bot, run the following command:

pip install -r requirements.txt

Configuration

Create a configuration file based on the template located in etc/bot_bugzilla.conf, and move it to one of the following locations:

  • ~/bot_bugzilla.conf
  • /etc/bot_bugzilla.conf
  • /etc/bot_bugzilla/bot_bugzilla.conf

And set variables related to authentication:

[mattermost]
ssl_verify = True
url = https://framateam.org/api/v3
login = _________      # Create a user on the framateam website
password = _________
team = grid5000

:

[bugzilla]
user = _________     # G5K username
password = _________ # G5K password

Run the bot

python main.py

Add the bot to a channel

First, click on the members icon on the right of the channel’s name, then click on Manage members: https://raw.githubusercontent.com/badock/BugzillaBot/master/screenshots/screenshot1.png

Then click on Add new members: https://raw.githubusercontent.com/badock/BugzillaBot/master/screenshots/screenshot2.png

Then write bugzilla on the search bar, select the bugzillabot member and click on Add: https://raw.githubusercontent.com/badock/BugzillaBot/master/screenshots/screenshot3.png

Usage

Display a bug

(bug 8520)

View messages attached to a bug

(bug.msg 8520)

View a list of bugs

(bug (list 8520 8521 7117))

Customize the bot

You can tweak the bot by changing variables in the following file: https://github.com/badock/BugzillaBot/blob/master/mattermost_bot_settings.py

bugzillabot's People

Contributors

badock avatar

Watchers

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