1.0.4 • Published 8 years ago

prtrello v1.0.4

Weekly downloads
1
License
MIT
Repository
-
Last release
8 years ago

Pull Request For Trello

=========================

NPM version NPM downloads Dependencies Status License

Create a Pull Request Using Trello Card Information Automatically

Install

[sudo] npm install -g prtrello

Configuration

Run prtrello for the first time and you will be requested to setup your Github credentials and Trello Token.

About Trello Token

Since trello uses OAuth to authenticate, the tool can't get a fresh token automatically. With that in mind, you need to access https://trello.com/1/authorize?key=31bf1b83dbdaeb38fe6a7b29ef9132de&name=prtrello&expiration=never&response_type=token to get a new token. This token has no expiration date.

About Github Personal Access Token

You will need to use a personal access token from github. You can generate one in this page here https://github.com/settings/tokens image

How the PR looks like:

Title: #shortTaskId The title of the card Description: the shortlink of the task

Ex:

image

Usage

After your setup, the next time you use the tool you will receive these questions:

[Github]: Enter the repository name: [djalmaaraujo/pull-request-trello]:
[Github]: Enter the title or use this: [#3whHnQaF] PR trello test card:
[Github]: Enter the description or use this: https://trello.com/c/3whHnQaF:
[Github]: Do you have any extra comments? Leave blank for nothing:
[Github]: Enter the branch name of your task: [new-trello-id]:
[Github]: This pull-request should be merge into: [master]:
[Github]:  Opening Pull Request...
#############################################################################
PR Opened (https://github.com/djalmaaraujo/pull-request-trello/pull/7)  shipit! :D
#############################################################################
#############################################################################
[Trello] Adding Pull Request url to the card...
https://trello.com/c/3whHnQaF/
Done.
#############################################################################

At this time, your pull-request is open and the PR url is posted on your trello task.

Shortcut

You can use prtrello -t taskID to skip the task question.

License

MIT License

1.0.4

8 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago