1-- test0/initial-requirements --
2main.test@v0
3-- test0/root-packages --
4main.test@v0:main
5-- test0/default-major-versions --
6-- test0/want --
7main.test@v0:main
8 flags: inAll,isRoot,fromRoot,importsLoaded
9 mod: main.test@v0
10 external: false
11 location: .
12 file: main.cue: main
13 imports:
14 example.com/blah@v0
15example.com/blah@v0
16 flags: inAll,isRoot,fromRoot
17 error: cannot find module providing package example.com/blah@v0
18 missing: true
19-- test1/initial-requirements --
20main.test@v0
21example.com@v0.0.1
22-- test1/root-packages --
23main.test@v0:main
24-- test1/default-major-versions --
25-- test1/want --
26main.test@v0:main
27 flags: inAll,isRoot,fromRoot,importsLoaded
28 mod: main.test@v0
29 external: false
30 location: .
31 file: main.cue: main
32 imports:
33 example.com/blah@v0
34example.com/blah@v0
35 flags: inAll,isRoot,fromRoot,importsLoaded
36 mod: example.com@v0.0.1
37 external: true
38 location: _registry/example.com_v0.0.1/blah
39 file: _registry/example.com_v0.0.1/blah/blah.cue: blah
40 imports:
41 foo.com/bar/hello/goodbye@v0
42foo.com/bar/hello/goodbye@v0
43 flags: inAll,isRoot,fromRoot
44 error: cannot fetch foo.com/bar/hello@v0.2.3: module foo.com/bar/hello@v0.2.3 not found at _registry/foo.com_bar_hello_v0.2.3
45 missing: false
46-- main.cue --
47package main
48import "example.com/blah@v0"
49-- cue.mod/module.cue --
50module: "main.test@v0"
51language: version: "v0.12.0"
52-- _registry/example.com_v0.0.1/cue.mod/module.cue --
53module: "example.com@v0"
54language: version: "v0.8.0"
55deps: {
56 "foo.com/bar/hello@v0": v: "v0.2.3"
57 "bar.com@v0": v: "v0.5.0"
58}
59-- _registry/example.com_v0.0.1/blah/blah.cue --
60package blah
61import _ "foo.com/bar/hello/goodbye@v0"