Skip to content
This repository has been archived by the owner on Aug 27, 2019. It is now read-only.

18F/trello-card-tracker

Repository files navigation

Trello Card Tracker

Build Status

Code Climate

codecov.io

Content of a Trello board for the agile BPA.

Features

Full Documentation

Stage Manager

Takes a yaml file of a list of stages and expected times of completion and builds Trello lists in the order of the file. The stage manager will also close all lists that are not in the stages file.

Card Recorder

Will add comments to cards to see how long a card has taken to update.

Card Creator

Will create cards that correspond to a particular order listed in an order file.

Installation

git clone https://github.com/18F/trello-card-tracker
cd trello-card-tracker
npm install

Set the following ENV variables. Can be loaded from a .env file.

TRELLO_API_KEY
TRELLO_API_TOK
TRELLO_BOARD_ID
TRELLO_BPA_TEST_BOARD
TRELLO_TEST_CARD

Running

Either npm start to run the server that will run a daily call to the card-recorder with the default file stages.yaml.

Or run the cli.

node cli.js [options]

  • -s Run the stage manager class with an optional stages file parameter. Without the file it will default to data/stages.yaml.

  • -r Run the card recorder with an optional stages file parameter. Without the file it will default to data/stages.yaml.

  • -c Run the card creator with an optional stages file parameter. Without the file it will default to data/stages.yaml.

  • -i To allow the use of a Trello board ID other than the one included in the .env file.

  • -b to run the build comment command line utility. Use the following flags -l "Name of List" -f "MM/DD/YYYY" -t "MM/DD/YYYY" -o totalDays, -d (Optional) Name of list if would like to use another list to calculate the expected time.

Development

Use the develop branch

git clone https://github.com/18F/trello-card-tracker.git
git fetch origin develop
npm install --dev
npm start

Run the Mocha/Chai tests run via Istanbul. npm test

Public domain

This project is in the worldwide public domain. As stated in CONTRIBUTING:

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published