Code Monkey home page Code Monkey logo

ghb's People

Contributors

yuta-masano avatar

Stargazers

 avatar

Watchers

 avatar  avatar

ghb's Issues

ラベル無しで Issue が登録できない

背景

OS 名, アーキテクチャ, ghb --version の出力結果

version: 0.0.0
revision: 0cb4e4d
with: go version go1.7.4 linux/amd64

再現手順

ghb add issue ghb

期待する動作

登録した Issue No が出力される。

実際の動作

Error: POST https://api.github.com/repos/yuta-masano/ghb/issues: 422 Invalid request.

For 'properties/labels', nil is not an array. []

ラベル指定なしで Issue 登録できない

背景

OS 名, アーキテクチャ, ghb version の出力結果

version: 0.1.0
revision: d85966e
with: go version go1.7.4 linux/amd64

前提条件

再現手順

'git add issue'

期待する動作

ラベル無しで Issue が登録される

実際の動作

以下のエラー。

...
Error: POST https://api.github.com/repos/yuta-masano/ghb/issues: 422 Invalid request.

For 'properties/labels', nil is not an array. []
...

`ghb add repo ...` の出力結果が期待通りでない

背景

OS 名, アーキテクチャ, ghb version の出力結果

version: 0.1.0
revision: d85966e
with: go version go1.7.4 linux/amd64

再現手順

ghb add repo foobar

期待する動作

git clone [email protected]:yuta-masano/foobar.git

が表示されたい。出力結果を使って git clone したい。

実際の動作

git clone git://github.com/yuta-masano/foobar.git

が表示される。

Issue テンプレートはリポジトリから取ってきたい

背景

OS 名, アーキテクチャ, ghb --version の出力結果

version: 0.0.0
revision: 0cb4e4d
with: go version go1.7.4 linux/amd64

対応方法

cfg.Template をそのまま temp ファイルに記述しているが、ちゃんと template にして引数を使うようにすべき。

リポジトリから取ってきて、
存在したらそれを採用。
しなかったらそもそもテンプレートを使わない。
でどうか。

テスト書け

背景

OS 名, アーキテクチャ, ghb --version の出力結果

version: 0.0.0
revision: 0cb4e4d
with: go version go1.7.4 linux/amd64

REPO_NAME よりもカレントディレクトリのレポジトリが優先されている

背景

OS 名, アーキテクチャ, ghb version の出力結果

version: 0.0.0
revision: 65c7303
with: go version go1.7.4 linux/amd64

再現手順

cd /PATH/TO/YOUR/REPO
ghb list issue ANOTHER_REPO_NAME

期待する動作

  • 明示的に指定したレポジトリの情報が表示される。

実際の動作

  • 現在いるレポジトリの情報が表示される。

リファクタリングしろ

背景

OS 名, アーキテクチャ, ghb version の出力結果

version: 0.0.0
revision: 0cb4e4d
with: go version go1.7.4 linux/amd64

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.