GithubHelp home page GithubHelp logo

circleci-cli's People

Contributors

braintreeps avatar johanneswuerbach avatar jszwedko avatar kovetskiy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

circleci-cli's Issues

Return friendlier error messages for 401s

As mentioned in #4 if you do not have an API token set, you currently get an opaque error message about having to log in. We should catch this and provide an error message telling the user that they need to set -t or CIRCLE_TOKEN.

cannot get projects

eyal@eyal-Lenovo-Y50-70:~/develop/git/booyah-android$ circleci-cli projects
json: cannot unmarshal string into Go value of type bool

This is AFTER i've set export CIRCLE_TOKEN=my_token (before that i got 401 u need to loging first which is also bad error message since your cli does not have 'login' command, should be 'please supply API TOKEN either using -t or using CIRCLE_TOKEN environment variable.'

Cannot get projects

the program fails to start with this error message:

json: cannot unmarshal string into Go value of type bool

I am using the 0.2.0-pre binaries.

I am presuming this is because the schema for the CircleCI API changed, but I don't know how to track it down at any lower level.

`circleci-cli build` fails if you are not following the project (even if you have permissions to rebuild)

Panics:

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x40f113]

goroutine 1 [running]:
main.main.func9(0xc8200ba0f0)
        /Users/jszwedko/gopath/src/github.com/jszwedko/circleci-cli/main.go:573 +0x6f3
github.com/jszwedko/circleci-cli/vendor/github.com/codegangsta/cli.Command.Run(0x7db910, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x8186e0, 0x13, 0x0, ...)
        /Users/jszwedko/gopath/src/github.com/jszwedko/circleci-cli/vendor/github.com/codegangsta/cli/command.go:127 +0x1052
github.com/jszwedko/circleci-cli/vendor/github.com/codegangsta/cli.(*App).Run(0xc8200a4200, 0xc82000a500, 0x2, 0x2, 0x0, 0x0)
        /Users/jszwedko/gopath/src/github.com/jszwedko/circleci-cli/vendor/github.com/codegangsta/cli/app.go:159 +0xc2f
main.main()
        /Users/jszwedko/gopath/src/github.com/jszwedko/circleci-cli/main.go:697 +0x3545

cc/ @stephenchu

no debug mode to see errors\logs

Hi.
If i had -d | --debug that might:

  1. print the full uri + headers of the request
  2. print the full body of the request\ response in an orderly manner
  3. print error in the line they occur like stacktrace

i could have discovered more easily where the error i get comes from and why...

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.