Tags: wanggd0313/cue
Tags
ci: configure GoReleaser to mark prereleases as such For some reason this is not default behaviour. Signed-off-by: Paul Jolly <paul@myitcv.io> Change-Id: Ibfcc3cc44bc778b16cdf20d0ad205a0616a207a1 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/528610 Unity-Result: CUEcueckoo <cueckoo@cuelang.org> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
ci: only trigger new version events after successful new version Fixes cue-lang#1411 Signed-off-by: Paul Jolly <paul@myitcv.io> Change-Id: I71937b542167f52fd37b9429e8e2f32120c47157 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/528606 Unity-Result: CUEcueckoo <cueckoo@cuelang.org> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
ci: fix target for homebrew tap This got missed in the original migration in 06484a3 which replaced github.com/cuelang with github.com/cue-lang. In the GoReleaser config, "cuelang" appeared bare. Per goreleaser/goreleaser#2355 there is no good way to test all parts of a GoReleaser config until release time, hence we continue to iron out these issues in subsequent beta releases. Signed-off-by: Paul Jolly <paul@myitcv.io> Change-Id: Iceef1ab52d4f766956c76cd080d30662b0960d56 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/528590 Unity-Result: CUEcueckoo <cueckoo@cuelang.org> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
ci: fix up GoReleaser image template names The template names did not match the manifest templates. Templates rely on images having been pushed, and the mismatch resulted in a release failure because the manifest could not resolve an image by the same name. See goreleaser/goreleaser#2606 for more details. Signed-off-by: Paul Jolly <paul@myitcv.io> Change-Id: I88de73889dcaf4c9ee31db42ec43391f43cd161f Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/528589 Unity-Result: CUEcueckoo <cueckoo@cuelang.org> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
ci: use GoReleaser v1.0.0 Includes a fix for homebrew-tap issue reported in https://github.com/cue-lang/homebrew-tap/issues/1. Also ensures that we get a full artefact matrix for arm64: darwin_amd64 darwin_arm64 linux_amd64 linux_arm64 windows_amd64 windows_arm64 Updates cue-lang#1225 Closes https://github.com/cue-lang/homebrew-tap/issues/1 Signed-off-by: Paul Jolly <paul@myitcv.io> Change-Id: I37d3efacc476014b60ba27326a7904e339cf01b4 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/526442 Unity-Result: CUEcueckoo <cueckoo@cuelang.org> Reviewed-by: Marcel van Lohuizen <mpvl@gmail.com>
cue: support ResolveReferences Note that this does not fully implement what was requested in cue-lang#867, but this may be sufficient. Feedback welcome. Issue cue-lang#867 Change-Id: I54db0a623df69a6bfa1cc164c29032a5b20c4f5e Signed-off-by: Marcel van Lohuizen <mpvl@golang.org> Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/528465 TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Reviewed-by: Paul Jolly <paul@myitcv.io>
cmd/cue/cmd: fix bug in resolving builtin package shorthands Regression resulted in supporting only top-level builtin packages. Fixes cue-lang#999 Change-Id: Ia22ed7435e59cf788e0664cff222eae1887c3b0d Reviewed-on: https://cue-review.googlesource.com/c/cue/+/9902 Reviewed-by: CUE cueckoo <cueckoo@gmail.com> Reviewed-by: Paul Jolly <paul@myitcv.org.uk>
cue/cmd/cue: fix regression for -H flag Instance iterator accidentally would include instance twice in some cases, which caused it to be unified into a new anonoymous package for which hidden fields would not be shown. Also adds an optimization in Unify to return one of the arguments if they are identical, instead of unifying. The setting the variable instead of returning makes using a debugger easier. Change-Id: I311c0d2dcb50d277a47eaaae352e5fb467935eba Reviewed-on: https://cue-review.googlesource.com/c/cue/+/9844 Reviewed-by: CUE cueckoo <cueckoo@gmail.com> Reviewed-by: Paul Jolly <paul@myitcv.org.uk>
cmd/cue/cmd: better checks for incorrect flags Fixes cue-lang#969 Change-Id: I1628c5158c996830576dc65e4b6fc667e0009b46 Reviewed-on: https://cue-review.googlesource.com/c/cue/+/9821 Reviewed-by: CUE cueckoo <cueckoo@gmail.com> Reviewed-by: Paul Jolly <paul@myitcv.org.uk>
doc/ref/spec.md: remove "dead code" This removed section is outdated and incorrect. The relevant matter is discussed in the sections below. Fixes cue-lang#939 Change-Id: Id8bff5b790132177c95617621e87cfc613c28590 Reviewed-on: https://cue-review.googlesource.com/c/cue/+/9701 Reviewed-by: Paul Jolly <paul@myitcv.org.uk>
PreviousNext