hubot-taiga
Send taiga commands from hubot
Last updated 5 years ago by bufke .
GPL-3.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-taiga 
SYNC missed versions from official npm registry.

Send commands to Taiga.io from hubot

Features

  • Should work with any chat solution. Tested in Let's Chat and Slack.
  • Make changes to Taiga User Stories (more coming soon) with chat commands.
  • Same syntax as Taiga git commit messages.

Screenshot

Install

hubot-taiga is in active development and not finished yet. Expect bugs and breaking changes until version 1.0.

  1. Make sure hubot is set up and redis is working (optional)
  2. Copy taiga.coffee to <your hubot>/scripts/
  3. Set username/password as environment variables. I use a special Hubot user made in Taiga.io. User should have admin privledges. HUBOT_TAIGA_USERNAME and HUBOT_TAIGA_PASSWORD and optional HUBOT_TAIGA_PROJECT Or just hard code them in the file (not great for upgrading script).
  4. Restart hubot

Usage

Commands

  • taiga info - view hubot-taiga settings
  • taiga project <project slug> - Set project per channel
  • taiga auth <username> <password> - Log in to post comments as your Taiga.io user
  • TG-REF Your comment Add a comment where REF is the User Story reference. Example TG-123 I think this is a great idea and TG-123 #done I finished it, I am the best.

Developing

There are many ways to work on hubot scripts. Here is how I do it.

Docker

This method uses docker-compose

  1. Clone this repo
  2. Run docker-compose run --rm hubot bash
  3. Run inside the container bin/hubot

Without Docker

  1. Clone this repo
  2. Install a new hubot just for testing.
  3. cd to your new hubot install
  4. Set environment variables (see INSTALLATION). I write a small script for this.
  5. Run hubot like bin/hubot
  6. Test out your command. You will need to restart hubot for each change.
  7. Submit a merge request with better instructions (Auto-restart? Debugging?)

Current Tags

  • 1.0.1                                ...           latest (5 years ago)

2 Versions

  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (12)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |