You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this issue reproduce with the latest stable release?
yes
What did you do?
I found a regression in load behavior between 0.8.2 and 0.11.2. In 0.11.2, the AllCUEFiles: true setting is ignored. This setting was respected in 0.8.2.
Description:
If there is a package that is dependent on another package having @if then in 0.8.2 the load return the cue value but 0.11.2 raises error.
In below example:
package core is dependent on dummy package.
the dummy package is dependent on workspace/output package. But the workspace/output package has 2 files starting with @if .
How can I evaluate core package without knowing all the @if tags used in the module?
import failed: import failed: /tmp/cues/dummy/dummy.cue:4:8: cannot find package "test.org/workspace/output": no files in package directory with package name "output" (2 files were excluded)
The text was updated successfully, but these errors were encountered:
This bisects to 79c1739. cc @rogpeppe for comments on that change with respect to the code in this repro.
@sahroshan - you clearly relied on this behaviour before. Please can you help understand your use case a bit more if this is a breaking change for you?
Rewriting the repro slightly to make bisecting easier:
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest stable release?
yes
What did you do?
I found a regression in load behavior between 0.8.2 and 0.11.2. In 0.11.2, the
AllCUEFiles: true
setting is ignored. This setting was respected in 0.8.2.Description:
If there is a package that is dependent on another package having @if then in 0.8.2 the load return the cue value but 0.11.2 raises error.
In below example:
package
core
is dependent ondummy
package.the
dummy
package is dependent onworkspace/output
package. But theworkspace/output package
has 2 files starting with@if
.How can I evaluate
core
package without knowing all the@if
tags used in the module?What did you expect to see?
output in 0.8.2
What did you see instead?
output in 0.11.2
The text was updated successfully, but these errors were encountered: