docs/tutorial: revert to using cue eval -i
cuelang.org/issue/1786 (and linked issues) identified that cue eval -i
was not working as advertised.
In cuelang.org/cl/542692 we identified that the tour itself had been
silently skipped since https://cue-review.googlesource.com/c/cue/+/6081
because of a bug.
Fixing that bug helped to confirm the reports in cuelang.org/issue/1786
and led to a fix in cuelang.org/cl/546243.
In cuelang.org/cl/542692 we patched the broken tutorial scripts to
workaround the bug that was then later fixed in cuelang.org/cl/546243.
As part of that patch we added a comment that indicated the workaround
should be reverted once the fix for cuelang.org/issue/1786 had landed.
The fix for cuelang.org/issue/1786 landed in cuelang.org/cl/546243, but
we have not to date reverted the workarounds in the tour files.
Now that we have released v0.5.0 this has become very apparent because
there is a non-trivial delta in the generated tour files for
cuelang.org.
Fix this by reverting the workarounds at tip in this CL, backport the
resulting commit to the release-branch.v0.5 (in a later CL), and then
have cuelang.org temporarily depend on the latest v0.5.x release (detail
will be explained in a CL in that repo).
Signed-off-by: Paul Jolly <paul@myitcv.io>
Change-Id: I9e5ed7514e5ae33f11b7f579910d5d60e3de1309
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/552601
Unity-Result: CUEcueckoo <cueckoo@cuelang.org>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>