scrummy
An opinionated command line tool for managing Trello, GitLab and Harvest for Scrum.
Usage
Install using:
npm install -g scrummy
Init:
scrummy init
- Asks for your Trello credentials
- Asks which board to use for the project
- Asks how to assign the lists (backlog/development/review/done)
- Asks for your Harvest credentials
- Asks for your GitLab credentials
- Asks for your GitLab review peers
Work:
scrummy work
- Asks which trello card you want to work on
If you choose a development card:
- Assigns you to the trello card, if not assigned yet
- Starts a harvest timer on the card
- Moves the trello card from backlog into development, if not there yet
- Checks if on development branch, or asks if to switch to it, if on:
- Pulls
- Runs something like
git-deletebranches.sh
- Creates and checks out a branch with the name of the card, if branch does not yet exist
- Pulls the branch
- Displays the info from the card
Or if you choose a review card:
- Starts a harvest timer on the card
- Asks if you want to check out the code, does so if necessary
- Opens the merge request on GitLab
Push:
scrummy push
If you're working on a development card:
- Pushes the current branch
- Asks to tick off some card todos
- When no MR: Creates a MR on GitHub
- Puts a trello card's contents and a link to it into the MR
- Puts the link to the MR into a card attachment if not there yet
- Asks if finished
- When all todos are done
- And the MR has no conflicts
- Moves the trello card into review list
- Removes WIP from the MR
- Stops any harvest timer on the card
- ¿Waits for the build to finish
- Assigns someone else on the MR
Developing
To use your local copy of the package in the command line run:
npm link
To install all the required packages do:
npm install
To run the tests (assertions info) use:
npm test
# or
npm -s test -- -w
To lint the JS run:
$(npm bin)/eslint lib/** test/**
Use --fix
to fix some stuff automatically.
See also: