-
Notifications
You must be signed in to change notification settings - Fork 135
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 project go get-able #88
Comments
Hi @tommyknows Rest assured that Installation TrackingIt reduces our chance to track installations and such data can be critical in decision making about the future of the project. There are ways we can address that:
These are not necessarily mutually exclusive options and I think we can look into combining them carefully to reduce the negative effects. Prescribing build environmentIt limits our ways of communicating how the server is supposed to be compiled (e.g. with what version of Go or what compiler flags). This could lead to folks trying to compile the server with an older/newer version of Go or passing certain compilation flags, which could in turn lead to them experiencing issues that are not reproducible by anyone else. It happens quite rarely in Go, but I have experienced that myself and these kinds of issues are the most difficult to deal with. I believe/hope this will eventually be addressed by Go itself as the tooling matures - it looks like Identifying dev buildsIdentification of dev builds is often needed when other maintainers and contributors file issues. It is useful to know whether the build contains certain bug fixes or features, or ideally even know the git sha it was built from. Some other HashiCorp projects encode real version into their codebases (e.g. terraform), which (partially) solves this problem, but also comes with more complex release process as the number has to be bumped with every release. Perhaps that is something we will have to do and accept the downside of more complex release process. I understand the PR addressed these issues in less than ideal way and created some unintended inconvenience. I'm hoping we can look into some better/alternative solutions to the above problems. More ideas are also welcomed! |
Thanks for the detailed explanation! Few thoughts on these points:
Agreed. Even a proxy or numbers from Github would not be a clear identifier as they could also just be dependencies of other Go modules.
I've never worked on a large OSS project, but I also feel like Go is already pretty good on that (and with the compatibility guarantees, it should be a small issue anyway).
This feels - to me - like a "non"-issue. For example, in an issue template, mention The current Makefile just fetches the last version from Github, which is more problematic I'd say, as you could check out The points you mentioned are valid and I understand the decision (and I'm not trying to "force" a revert). Sadly, it seems like there's no silver bullet here. |
There are some Go proposals/issues which mention the identification of dev builds: golang/go#37475 (might come in Go 1.16) as for prescribing build environment - we could add Generally I don't have too strong feelings about this though - so I'm happy to do something along the lines of what you're proposing in the meantime. I just mentioned it for completeness and also because none of our other HashiCorp products suffer from this problem (at the cost of more complex release process). Also Paul submitted #98 that should hopefully unblock most folks for now and we can keep looking for solutions in the long run. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Originally posted by @tommyknows in #45 (comment)
The text was updated successfully, but these errors were encountered: