-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Includes: * Upgrade to go1.22.3 in Docker image * Add 'cue mod fix' to generated docs * Generated CLI docs changes from the alpha.5 version of CUE * Content changes related to 'cue mod init' not adding v0 to module path * Playground changes relating to vendored "internal" code from upstream CUE. No impact on behaviour. Preprocessor-No-Write-Cache: true Signed-off-by: Paul Jolly <paul@myitcv.io> Change-Id: I5f2f7d6b04fbdf1b262aa61bf215470d8e72d828 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cuelang.org/+/1194849 Reviewed-by: Daniel Martí <mvdan@mvdan.cc> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
- Loading branch information
Showing
33 changed files
with
217 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,6 +55,7 @@ cue: { | |
login: _ | ||
mod: _ | ||
"mod edit": _ | ||
"mod fix": _ | ||
"mod get": _ | ||
"mod init": _ | ||
"mod publish": _ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
WARNING: "Code generated site_tool.cue; DO NOT EDIT." | ||
title: "cue mod fix" | ||
tags: | ||
- cue command | ||
--- | ||
|
||
{{{with script "en" "cue cli help text"}}} | ||
cue help mod fix | ||
{{{end}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// Code generated site_tool.cue; DO NOT EDIT. | ||
package site | ||
|
||
{"content":{"docs":{"reference":{"cli":{"cue-mod-fix":{"page":{}}}}}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
WARNING: "Code generated site_tool.cue; DO NOT EDIT." | ||
title: "cue mod fix" | ||
tags: | ||
- cue command | ||
--- | ||
|
||
```text { title="TERMINAL" codeToCopy="Y3VlIGhlbHAgbW9kIGZpeA==" } | ||
$ cue help mod fix | ||
WARNING: THIS COMMAND IS EXPERIMENTAL. | ||
Fix provides a way to migrate from a legacy module.cue file | ||
to the new standard syntax. It | ||
- adds a language.version field | ||
- moves unrecognized fields into the custom.legacy field | ||
- adds a major version to the module path | ||
If there is no module path, it chooses an arbitrary path (test.example@v0). | ||
If the module.cue file is already compatible with the new syntax, | ||
it is just formatted without making any other changes. | ||
Note: you must enable the modules experiment with: | ||
export CUE_EXPERIMENT=modules | ||
for this command to work. | ||
Usage: | ||
cue mod fix [flags] | ||
Global Flags: | ||
-E, --all-errors print all available errors | ||
-i, --ignore proceed in the presence of errors | ||
-s, --simplify simplify output | ||
--strict report errors for lossy mappings | ||
--trace trace computation | ||
-v, --verbose print information about progress | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.