Skip to content
This repository was archived by the owner on Dec 8, 2023. It is now read-only.

Files

Latest commit

author
Josh Whelchel
Jul 24, 2015
545aacc · Jul 24, 2015

History

History
81 lines (55 loc) · 1.93 KB

README.rst

File metadata and controls

81 lines (55 loc) · 1.93 KB

asana-hub

https://img.shields.io/pypi/v/asana-hub.svg:target:

https://img.shields.io/pypi/dm/asana-hub.svg:target:

A python tool for creating issues and tasks simultaneously on github and asana, and keeping them in sync.

One-two-three Create an Asana task and matching Github issue in a repository, and eventually keep them in sync.

Setup

Either with sudo or in a virtualenv:

$ pip install asana-hub
$ asana-hub connect

Usage

# Connect Asana & Github Accounts
$ asana-hub connect
asana linked.
github.com account linked.

$ asana-hub create
Select github.com repository, by name or number.
1) my-repo

> my-repo

Select project to create task in.
1) Project 1 (alias)
2) Project 2
3) Other Project
or alias.

> 2

Task/Issue Name:
> This is my first bug.

Description:
> This is a nasty bug.

github issue #5 created:
https://github.com/my-repo/issues/5

asana task #654321 created:
https://app.asana.com/0/123456/654321

When issue+task pairs are created via asana-hub, they may be kept in sync via

$ asana-hub sync

This will iterate over all issues that have closed since the last update, and complete any corresponding asana tasks.

.asana-hub and .asana-hub.proj

asana-hub creates a settings file in your home folder called .asana-hub to store your asana & github api tokens.

a .asana-hub.proj exists to maintain sync data in your repository, including: * selected github repository id * selected asana project id * created issues and tasks (for sync)