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
modules: what should the language field show for various types of release? #2811
Comments
I'm comfortable with the current behavior as-is, for what it's worth. It seems to be:
I hope that, once upstream finds the time to work on golang/go#50603, which has been accepted, then case 3 would effectively become equivalent to case 2 - as long as the local git checkout hasn't created extra git tags which haven't been pushed, which should be a very rare edge case we can do nothing about. |
One last point - I think this unease was started by seeing This is all working as intended in terms of tagging |
With @myitcv and @rogpeppe we are happy with the current status described in #2811 (comment). Having local builds of cmd/cue not know their own version is relatively bad, but we can't do anything about it right now until upstream improves version stamping of local builds, so I raised #2908 as a tracking issue. |
https://cuelang.org/cl/1176194 added support for a language version in
cue.mod/module.cue
:cue mod init
automatically adds this field, andcue mod tidy
adds it if it is missing.The question however is what to do with the various kinds of releases/builds of CUE?
go build
master
viago install cuelang.org/go/cmd/cue@$version
This issue is a placeholder for making sure we are comfortable with our answers in these various scenarios.
See discussion in https://cuelang.org/cl/1176732 for more background. This surfaced via
v0.8.0-0.dev
appearing in thepreprocessor
output from the automated version of the modules tutorial.The text was updated successfully, but these errors were encountered: