cue-unity / unity

unity - run experiments/regression tests on CUE modules
Apache License 2.0
41 stars 5 forks source link

cmd/unity: project mode bug when a cue.mod vendored dependency is a module #59

Closed myitcv closed 3 years ago

myitcv commented 3 years ago

Reported by @eonpatapon

This is likely a simple bug in the directory walking logic: it should not walk within cue.mod.

verdverm commented 3 years ago

Is this when my test has a CUE module that it imports, which is stored in git in the cue.mod/pkg/domain.com/myorg/mymod?

I think this is the setup I need and this issue is relevant(?).

My tests would rely on CUE modules stored in other git repos which I place into the cue.mod/pkg/... directory. I don't vendor them at present, but given #60 (where I wanted to use git to fetch them), this was my next option (?)