1.1.0 • Published 6 years ago

@elao/github-agile-dashboard v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

📉 Github Agile Dashboard

npm.io

Installation

npm install -g @elao/github-agile-dashboard

Configuration

GitHub authentication

As recommended by GitHub, Gad relies on github.user and github.token variables in your git config to authenticate you on GitHub API. Follow these three steps and you're good to go:

  1. Set up your GitHub username in your git config:

    git config --global github.user "Tom32i"

  2. Generate a GitHub personal access token with the following access rights: repo and user.

  3. Set up your GitHub token in your git config:

    git config --global github.token MyGitHubPersonalAccessToken

Usage

Configure your agile project on GitHub

  1. Create a milestone "Backlog" (or whatever name) with no due date : it will be your backlog.
  2. Create a milestone per Sprint with a due date.
  3. Create two labels "Ready to review" and "In Progress".
  4. Create issues in milestone "Backlog".
  5. Add an estimation [x] in the issue title, for example: "Add a user login 3".
  6. Create Pull Request in sprint milestone with tag "Ready to review" or "In Progress".

Commands

In your projet repository, just enter gad [command] (options).

CommandDescriptionOptions
sprintShow the state of the current sprintsprint -s=-1 Show the previous sprint
sprintsShow the state of all sprintslimit -l=2 limit the number of sprint to display
backlogShow the state of the backlog
reviewDisplay PullRequest that are awaiting your review
changelogGenerate a markdown changelog of the current sprintall --all include open issues in the changelog. sprint -s=-2 Show the changelog from two sprints ago
estimateShow stories that are missing estimation
sumCalculate the sum of the stories matching the given filterslabel --label=API include issues with label "API"
statusShow the status of the repository
helpShow list of commands
exitQuit the dashboard

Options

You can manually specify any of the options on the fly:

gad -o [organisation|owner] -r [repo] -u [username] -p [password|token]

E.g.: gad -o Elao -r symfony-standard -u Tom32i -p MyGitHubPersonalAccessToken

Cache

For performance purpose, Gad keeps a little cache file for each repository.

By default, it's located in ~/.gad/cache but you can specify a different path with the cacheDir option:

gad -c ./cache

Contributing

Installation

git clone git@github.com:Elao/github-agile-dashboard.git
cd github-agile-dashboard
npm install

Usage

node gad.js -o [organisation|owner] -r [repo] -u [username] -p [password|token]

Coding style

npm run lint

Publishing on NPM

npm publish --access public
1.1.0

6 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.0

7 years ago