ott-bot
Your One Trusty Companion.
Last updated a year ago by lson .
ISC · Original npm · Tarball · package.json
$ cnpm install ott-bot 
SYNC missed versions from official npm registry.

ott-bot

Your One Trusty Companion.

Getting Started

Node.js

Ensure you have the correct version of Node.js installed by referencing the engines section of package.json. It is recommended that you use NVM (Node Version Manager) to manage your Node.js installations.

Ready, Set, Go

  • Generate your personal OAuth tokens for BitBucket and GitHub. GitHub tokens require the "repo" permissions.
  • Set the necessary environment variables
BITBUCKET_AUTH_TOKEN="Bearer <bitbucket_token>"
GITHUB_AUTH_TOKEN="Bearer <github_token>"
  • Run the application with npm start

CLI

Merge Indicator

<flags>
-r: specified repository
-a: all repositories

<Command Format>
$ ott-bot compare <branch One> <branch Two> <flag> <repositories>
 
<Sample Command>
$ ott-bot compare development Master -r "assessment inventory zenapp" 
$ ott-bot compare development Master -a 

Release Note Generator

<Flags>
-a: comments + jira number
-c: comments
-jn: jira number
-jr: jira request

<Command Format>
$ ott-bot changelog <releaseOne> <releaseTwo> -<flag character> "<repository_name>"
$ ott-bot changelog -jr <JIRA Number>

-Sample Command (format may change)
$ ott-bot  changelog 0.3.0-RELEASE 0.3.2-RELEASE -a "ms-base"
$ ott-bot  changelog 0.3.0-RELEASE 0.3.2-RELEASE -c "ms-base"
$ ott-bot  changelog 0.3.0-RELEASE 0.3.2-RELEASE -jn "ms-base"
$ ott-bot  changelog -jr "CORE-2801"

Current Tags

  • 1.0.0                                ...           latest (a year ago)

1 Versions

  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 2
Dependencies (6)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |