hubot-taiga
v1.0.1
Published
Send taiga commands from hubot
Downloads
3
Readme
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.
Install
hubot-taiga is in active development and not finished yet. Expect bugs and breaking changes until version 1.0.
- Make sure hubot is set up and redis is working (optional)
- Copy
taiga.coffee
to<your hubot>/scripts/
- Set username/password as environment variables. I use a special Hubot user made in Taiga.io. User should have admin privledges.
HUBOT_TAIGA_USERNAME
andHUBOT_TAIGA_PASSWORD
and optionalHUBOT_TAIGA_PROJECT
Or just hard code them in the file (not great for upgrading script). - Restart hubot
Usage
Commands
taiga info
- view hubot-taiga settingstaiga project <project slug>
- Set project per channeltaiga auth <username> <password>
- Log in to post comments as your Taiga.io userTG-REF Your comment
Add a comment where REF is the User Story reference. ExampleTG-123 I think this is a great idea
andTG-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
- Clone this repo
- Run
docker-compose run --rm hubot bash
- Run inside the container
bin/hubot
Without Docker
- Clone this repo
- Install a new hubot just for testing.
cd
to your new hubot install- Set environment variables (see INSTALLATION). I write a small script for this.
- Run hubot like
bin/hubot
- Test out your command. You will need to restart hubot for each change.
- Submit a merge request with better instructions (Auto-restart? Debugging?)