Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues importing github.com/onsi/ginkgo #7

Open
ZiRo- opened this issue Apr 18, 2016 · 1 comment
Open

Issues importing github.com/onsi/ginkgo #7

ZiRo- opened this issue Apr 18, 2016 · 1 comment

Comments

@ZiRo-
Copy link

ZiRo- commented Apr 18, 2016

The problem seems to be an import of a package that doesn't exist, but go get handles it fine, so they probably never had any reason to change it.
The files in question also seem to belong to a sub package that it never imported, so that might be the problem.

vendoring package github.com/onsi/ginkgo
ERROR: multiple package error: found packages tmp (extra_functions_test.go) and subpackage (nested_subpackage_test.go) in /home/ZiRo/Documents/go/src/github.com/onsi/ginkgo/integration/_fixtures/convert_goldmasters
- processing dep github.com/onsi/ginkgo for github.com/onsi/ginkgo [1 / 3]
- processing dep github.com/onsi/B for github.com/onsi/ginkgo [2 / 3]
ERROR: go get github.com/onsi/B failed: go get failed: # cd .; git clone https://github.com/onsi/B /home/ZiRo/Documents/go/src/github.com/onsi/B
Cloning into '/home/ZiRo/Documents/go/src/github.com/onsi/B'...
fatal: could not read Username for 'https://github.com': terminal prompts disabled
package github.com/onsi/B: exit status 128
 - exit status 1
ERROR: go get failed: # cd .; git clone https://github.com/onsi/B /home/ZiRo/Documents/go/src/github.com/onsi/B
Cloning into '/home/ZiRo/Documents/go/src/github.com/onsi/B'...
fatal: could not read Username for 'https://github.com': terminal prompts disabled
package github.com/onsi/B: exit status 128
 - exit status 1
@whyrusleeping
Copy link
Owner

hrm... gx-go import is pretty agressive on making sure it gets every import grabbed. It could use some tweaking to ignore broken packages (or at least print a big error about it and keep going).

I'll take a look at this soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants