1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

PivotalTrackerPr というgemをつくってみました

Last updated at Posted at 2016-06-09

新しいプロジェクトでPRを出すときに、PivotalTrackerのリンクとタイトルを入れるルールがあります。
リンクだけなら一回のコピペでよいが、タイトルはもう一回しないといけないので、めんどい。

というわけで、gemを作りました。

gemの実装内容

  • gitのブランチ名に数値がある時、それをPivotalTrackerのストリーIDとみなす
  • ストリーIDがある場合は、PivotalTrackerのAPIを呼び出してストリー内容を取得する
  • 指定の内容でhubコマンド経由してPullRequestを作成する

イメージ

PullRequest command
PullRequest github

使い方など

githubのREADMEに書いているので、興味がある方はぜひご意見を。

1
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?