-
Notifications
You must be signed in to change notification settings - Fork 772
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
Make go get'able (or at least go installable) #216
Comments
@ngtuna can you take this ? |
@ericchiang I added package.go at #227 for making Yes removing |
Sure, but Kubernetes isn't one of those projects. And almost all other kubernetes-incubator repos use the
LoadFile is just calling |
Oh you're right... My mistake didn't take a look into the function's detail. The thing is not simple like that with compose file parsing function. |
@ngtuna I'm assuming it'll get rid of this error when you
|
@cdrage at least it will yes, and we expect to get the binary as well. |
It's odd that kompose's main package is named
main
rather thankompose
like most Go projects Additionally, since there's no top level package it seems like it'd be reasonable to enablego get github.com/kubernetes-incubator/kompose
to work.Additionally there's a dependence on
-tags experimental
due to a docker dependency[0]. Removing that import here[1], (say by copying the structs) would also break the dependency on github.com/docker/docker and remove 19 direct imports from vendor.[0] https://github.com/docker/docker/blob/15ea28f6db7339f8a44078f3ef70484c96eebce7/cli/command/bundlefile/bundlefile.go
[1] https://github.com/kubernetes-incubator/kompose/blob/d9899b788d0e2051221e1b993f5a48268f9f3758/pkg/loader/bundle/bundle.go#L26
The text was updated successfully, but these errors were encountered: