-
Notifications
You must be signed in to change notification settings - Fork 12
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
Odd version number #37
Comments
@cdrage It should depending on where and how it was build. Would you mind sharing where that binary came from or how did you build it? |
Most likely an issue of not being build properly by https://github.com/redhat-developer/opencompose/blob/master/Makefile#L19-L24 |
@tnozicka I think go get should provide a version indicating it's from HEAD. |
I could reproduce this. I did a |
You are right; the issue really is that The supported install way changed to: go get -d github.com/redhat-developer/opencompose
make install -C $GOPATH/src/github.com/redhat-developer/opencompose/ README should reflect it shortly |
Also Kubernetes, OpenShift and Docker behave the same way when build the unsupported |
I really don't think we should dismiss Many projects use If you want an "official" way, we should be curl/wget'ing a binary to |
Saying HEAD does not give you much but gets you into trouble. It is surely possible to switch, but that makes it unpredictable for external integrations parsing the version. That said I am willing to make a compromise here if that would be the general consensus. @pradeepto @kadel ? Kubernetes and OpenShift keep it parsable https://github.com/kubernetes/kubernetes/blob/master/pkg/version/base.go#L54 We don't dismiss go get, it is still possible if you wan't to just try it out. But the supported way is |
Ahhh I see what you mean with the Kubernetes project and how they do it, it's a good indication to see whether or not someone is using a tagged release! Following their conventions would be the best. I agree with having the tagged releases being the supported way (for the majority of users like you said) My question is.. what would the difference be (other than version.go having a different output) between between |
At this point the only difference is setting the version/commit variables with ldflags. Potentially we could add other features that require it, but I don't foresee any right now and I will do my best to keep |
Should this be 0.1.0-alpha now?
The text was updated successfully, but these errors were encountered: