-
Notifications
You must be signed in to change notification settings - Fork 1
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
cuelang.org: add a page about the phasing out of list arithmetic #178
Comments
I noticed some mention of
I think establishing such a "Language changes" subsection inside References would be a useful thing to do, but initially I suggest that we place it inside the
I would suggest choosing a suitable and never-going-to-disappear redirector short link path under |
I suggest we don't say anythig about it. We can react if any users turn up. My suspicion is that there are nearly zero users using list arithmetic in cuego tags.
Sounds good to me. We definitely want to add this quickly and not bikeshed too much.
That sounds like a good idea as well. How about something that hints a bit more towards a breaking change in a particular version, like Go have started doing something similar (and I think this is where Paul and I got the idea from): https://go-review.googlesource.com/c/go/+/497715 They have gone with |
I've opened hofstadter-io/cuetorials.com#83 to remove mention of them from the obvious location on cuetorials.com. I've not exhaustively checked through the rest of the site looking for other uses. |
This adds an FAQ guide that explains the removal of list arithmetic operators ("+" and "*") from CUE v0.11 and later. Closes cue-lang/docs-and-content#178 Preview-Path: /docs/concept/faq/removing-list-arithmetic-operators-v0.11/ Signed-off-by: Jonathan Matthews <[email protected]> Change-Id: I8d50c273ccedb7cf6ca5295917032d5aa822b413 Dispatch-Trailer: {"type":"trybot","CL":1200357,"patchset":3,"ref":"refs/changes/57/1200357/3","targetBranch":"master"}
I've started a page containing these questions in https://cuelang.org/cl/1200357. Let me know if you feel there are others that need to be included, or more useful wording for these:
|
This adds an FAQ guide that explains the removal of list arithmetic operators ("+" and "*") from CUE v0.11 and later. Closes cue-lang/docs-and-content#178 Preview-Path: /docs/concept/faq/removing-list-arithmetic-operators-v0.11/ Signed-off-by: Jonathan Matthews <[email protected]> Change-Id: I8d50c273ccedb7cf6ca5295917032d5aa822b413 Dispatch-Trailer: {"type":"trybot","CL":1200357,"patchset":4,"ref":"refs/changes/57/1200357/4","targetBranch":"master"}
FWIW, that CL reads nicely to me so far. |
This adds an FAQ guide that explains the removal of list arithmetic operators ("+" and "*") from CUE v0.11 and later. It requires the tip of cmd/cue, upgraded in an earlier commit, in order to access a version of `cue fix` that understands how to update the operators. This guide contains several FIXMEs, which are a product of it being written before the first 0.11 pre-release is available. They must be updated and removed before publishing. DO NOT SUBMIT Closes cue-lang/docs-and-content#178 Preview-Path: /docs/concept/faq/removing-list-arithmetic-operators-v0.11/ Signed-off-by: Jonathan Matthews <[email protected]> Change-Id: I8d50c273ccedb7cf6ca5295917032d5aa822b413 Dispatch-Trailer: {"type":"trybot","CL":1200357,"patchset":6,"ref":"refs/changes/57/1200357/6","targetBranch":"master"}
This adds an FAQ guide that explains the removal of list arithmetic operators ("+" and "*") from CUE v0.11 and later. It requires the tip of cmd/cue, upgraded in an earlier commit, in order to access a version of `cue fix` that understands how to update the operators. This guide contains several FIXMEs, which are a product of it being written before the first 0.11 pre-release is available. They must be updated and removed before publishing. Several commands are displayed on the preview's rendered page with `missing.file.cue` arguments, in order to prompt a failure where the current cmd/cue tip doesn't yet fail. They must also be updated and removed; probably when the version of cmd/cue installed earlier in this stack includes the as-yet-unmerged https://review.gerrithub.io/c/cue-lang/cue/+/1200221. DO NOT SUBMIT Closes cue-lang/docs-and-content#178 Preview-Path: /docs/concept/faq/removing-list-arithmetic-operators-v0.11/ Signed-off-by: Jonathan Matthews <[email protected]> Change-Id: I8d50c273ccedb7cf6ca5295917032d5aa822b413 Dispatch-Trailer: {"type":"trybot","CL":1200357,"patchset":7,"ref":"refs/changes/57/1200357/7","targetBranch":"master"}
This adds an FAQ guide that explains the removal of list arithmetic operators ("+" and "*") from CUE v0.11 and later. It requires the tip of cmd/cue, upgraded in an earlier commit, in order to access a version of `cue fix` that understands how to update the operators. This guide contains several FIXMEs, which are a product of it being written before the first 0.11 pre-release is available. They must be updated and removed before publishing. Several commands are displayed on the preview's rendered page with `missing.file.cue` arguments, in order to prompt a failure where the current cmd/cue tip doesn't yet fail. They must also be updated and removed; probably when the version of cmd/cue installed earlier in this stack includes the as-yet-unmerged https://review.gerrithub.io/c/cue-lang/cue/+/1200221. DO NOT SUBMIT Closes cue-lang/docs-and-content#178 Preview-Path: /docs/concept/faq/removing-list-arithmetic-operators-v0.11/ Signed-off-by: Jonathan Matthews <[email protected]> Change-Id: I8d50c273ccedb7cf6ca5295917032d5aa822b413 Dispatch-Trailer: {"type":"trybot","CL":1200357,"patchset":9,"ref":"refs/changes/57/1200357/9","targetBranch":"master"}
This adds an FAQ guide that explains the removal of list arithmetic operators ("+" and "*") from CUE v0.11 and later. It requires the tip of cmd/cue, upgraded in an earlier commit, in order to access a version of `cue fix` that understands how to update the operators. It also updates the /e/v0.11-list-arithmetic redirector's target so that cmd/cue can succinctly link to the FAQ from error messages introduced in https://cuelang.org/cl/1200221. This guide contains several FIXMEs, which are a product of it being written before the first 0.11 pre-release is available. They must be updated and removed before publishing. Several commands are displayed on the preview's rendered page with `missing.file.cue` arguments, in order to prompt a failure where the current cmd/cue tip doesn't yet fail. They must also be updated and removed; probably when the version of cmd/cue installed earlier in this stack includes the as-yet-unmerged https://review.gerrithub.io/c/cue-lang/cue/+/1200221. DO NOT SUBMIT Closes cue-lang/docs-and-content#178 Preview-Path: /docs/concept/faq/removing-list-arithmetic-operators-v0.11/ Signed-off-by: Jonathan Matthews <[email protected]> Change-Id: I8d50c273ccedb7cf6ca5295917032d5aa822b413 Dispatch-Trailer: {"type":"trybot","CL":1200357,"patchset":10,"ref":"refs/changes/57/1200357/10","targetBranch":"master"}
This adds an FAQ guide that explains the removal of list arithmetic operators ("+" and "*") from CUE v0.11 and later. It requires the tip of cmd/cue, upgraded in an earlier commit, in order to access a version of `cue fix` that understands how to update the operators. It also updates the /e/v0.11-list-arithmetic redirector's target so that cmd/cue can succinctly link to the FAQ from error messages introduced in https://cuelang.org/cl/1200221. This guide contains several FIXMEs, which are a product of it being written before the first 0.11 pre-release is available. They must be updated and removed before publishing. Several commands are displayed on the preview's rendered page with `missing.file.cue` arguments, in order to prompt a failure where the current cmd/cue tip doesn't yet fail. They must also be updated and removed; probably when the version of cmd/cue installed earlier in this stack includes the as-yet-unmerged https://review.gerrithub.io/c/cue-lang/cue/+/1200221. DO NOT SUBMIT Closes cue-lang/docs-and-content#178 Preview-Path: /docs/concept/faq/removing-list-arithmetic-operators-v0.11/ Signed-off-by: Jonathan Matthews <[email protected]> Change-Id: I8d50c273ccedb7cf6ca5295917032d5aa822b413 Dispatch-Trailer: {"type":"trybot","CL":1200357,"patchset":11,"ref":"refs/changes/57/1200357/11","targetBranch":"master"}
This adds an FAQ guide that explains the removal of list arithmetic operators ("+" and "*") from CUE v0.11 and later. It requires the tip of cmd/cue, upgraded in an earlier commit, in order to access a version of `cue fix` that understands how to update the operators. It also updates the /e/v0.11-list-arithmetic redirector's target so that cmd/cue can succinctly link to the FAQ from error messages introduced in https://cuelang.org/cl/1200221. Closes cue-lang/docs-and-content#178 Preview-Path: /docs/concept/faq/removing-list-arithmetic-operators-v0.11/ Preview-Path: /e/v0.11-list-arithmetic Signed-off-by: Jonathan Matthews <[email protected]> Change-Id: I8d50c273ccedb7cf6ca5295917032d5aa822b413 Dispatch-Trailer: {"type":"trybot","CL":1200357,"patchset":13,"ref":"refs/changes/57/1200357/13","targetBranch":"master"}
This adds an FAQ guide that explains the removal of list arithmetic operators ("+" and "*") from CUE v0.11 and later. It requires the tip of cmd/cue, upgraded in an earlier commit, in order to access a version of `cue fix` that understands how to update the operators. It also updates the /e/v0.11-list-arithmetic redirector's target so that cmd/cue can succinctly link to the FAQ from error messages introduced in https://cuelang.org/cl/1200221. Closes cue-lang/docs-and-content#178 Preview-Path: /docs/concept/faq/removing-list-arithmetic-operators-v0.11/ Preview-Path: /e/v0.11-list-arithmetic Signed-off-by: Jonathan Matthews <[email protected]> Change-Id: I8d50c273ccedb7cf6ca5295917032d5aa822b413 Dispatch-Trailer: {"type":"trybot","CL":1200357,"patchset":14,"ref":"refs/changes/57/1200357/14","targetBranch":"master"}
This adds an FAQ guide that explains the removal of list arithmetic operators ("+" and "*") from CUE v0.11 and later. It requires the tip of cmd/cue, upgraded in an earlier commit, in order to access a version of `cue fix` that understands how to update the operators. It also updates the /e/v0.11-list-arithmetic redirector's target so that cmd/cue can succinctly link to the FAQ from error messages introduced in https://cuelang.org/cl/1200221. Closes cue-lang/docs-and-content#178 Preview-Path: /docs/concept/faq/removing-list-arithmetic-operators-v0.11/ Preview-Path: /e/v0.11-list-arithmetic Signed-off-by: Jonathan Matthews <[email protected]> Change-Id: I8d50c273ccedb7cf6ca5295917032d5aa822b413 Dispatch-Trailer: {"type":"trybot","CL":1200357,"patchset":15,"ref":"refs/changes/57/1200357/15","targetBranch":"master"}
This adds an FAQ guide that explains the removal of list arithmetic operators ("+" and "*") from CUE v0.11 and later. It requires the tip of cmd/cue, upgraded in an earlier commit, in order to access a version of `cue fix` that understands how to update the operators. It also updates the /e/v0.11-list-arithmetic redirector's target to point at the FAQ so that cmd/cue can succinctly link from error messages introduced in https://cuelang.org/cl/1200221. Closes cue-lang/docs-and-content#178 Preview-Path: /docs/concept/faq/removing-list-arithmetic-operators-v0.11/ Preview-Path: /e/v0.11-list-arithmetic Signed-off-by: Jonathan Matthews <[email protected]> Change-Id: I8d50c273ccedb7cf6ca5295917032d5aa822b413 Dispatch-Trailer: {"type":"trybot","CL":1200357,"patchset":16,"ref":"refs/changes/57/1200357/16","targetBranch":"master"}
This adds an FAQ guide that explains the removal of list arithmetic operators ("+" and "*") from CUE v0.11 and later. It requires the tip of cmd/cue, upgraded in an earlier commit, in order to access a version of `cue fix` that understands how to update the operators. It also updates the /e/v0.11-list-arithmetic redirector's target to point at the FAQ so that cmd/cue can succinctly link from error messages introduced in https://cuelang.org/cl/1200221. Closes cue-lang/docs-and-content#178 Preview-Path: /docs/concept/faq/removing-list-arithmetic-operators-v0.11/ Preview-Path: /e/v0.11-list-arithmetic Signed-off-by: Jonathan Matthews <[email protected]> Change-Id: I8d50c273ccedb7cf6ca5295917032d5aa822b413 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cuelang.org/+/1200357 Reviewed-by: Daniel Martí <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
Closed via cue-lang/cuelang.org@1db4043 |
This page would give users information about our removal of arithmetic on lists from the evaluator. It should include:
list
APIs.cue fix
to resolve most instances of these in your code.Then we should link to this page from the evaluator's error message (cc @cuematthew) and we should also link to the page from the release notes announcing this change.
Where should this page go within the website? My intuition is some sort of "Language changes" section under "References", where we would have a collection of these pages, from newest to oldest, so that they can be used as future reference, and be found by googling as well.
The text was updated successfully, but these errors were encountered: