Roger Peppe
Roger Peppe
### Go version go version devel go1.23-5e1e3a0025 Thu Mar 21 17:25:54 2024 +0000 linux/amd64 ### What did you do? Run this testscript script: ``` exec go generate ./... -- go.mod...
### What version of CUE are you using (`cue version`)? v0.9.2 ### Does this issue reproduce with the latest stable release? Yes ### What did you do? TBD ### What...
`*_tool.cue` files are intended to contain commands for `cue cmd` - they make sense only when the package is intended to be run as an explicit argument to `cue cmd`....
We should have documentation that explains how the `language.version` field in `module.cue` relates to module schema interpretation and language evaluation and how tool authors that are programmatically creating `module.cue` files...
If a CUE version is tagged but its `cueversion.LanguageVersion` is before the tag version, it will refuse modules that have a `language.version` that is the same as the tagged version,...
There is currently no programmatic way to initialize or change the language version as defined in the `module.cue` file. We should add a `--language.version` flag to the `mod init` and...
Currently there is no way in the public API to obtain access to the current language version as defined in `cueversion.LanguageVersion`. When users of the Go API are wanting to...
### What version of CUE are you using (`cue version`)? $ cue version v0.9.1 ### Does this issue reproduce with the latest stable release? Yes ### What did you do?...
[As described](https://github.com/cue-lang/cue/issues/2992#issuecomment-2062008268) in #2992 by @ptr1120, sometimes we might want a way to exclude arbitrary files from a CUE module. To quote that comment: > Regarding .cueignore, I am still...
As of commit 475f692480d697861fcaa4a608c29b5122d8a2f9, `cue mod fix` uses the latest known language version when fixing legacy module files. This is probably incorrect, at least in the future, because the CUE...