#6 golist needs to be run outside the source tree to avoid panics
Closed 2 years ago by nim. Opened 2 years ago by nim.

To workaround https://pagure.io/golist/issue/7, the shell wrapper should switch to another directory (for example /usr/bin) before running golist, and switch back to the correct dir afterwards (so add strategic pushds popds to keep track of where the user, golist and the tests want to be)


Metadata Update from @nim:
- Issue assigned to nim

2 years ago

Based on further debugging, this appears related to Go modules. As such, an alternate workaround is to set GO111MODULE=off before calling golist. Of course, you need to be sure your package doesn't actually use Go modules to specify an alternate path or whatever.

Modules are now disabled by default, module mode will require a new tooling stack refresh anyway. Closing

Metadata Update from @nim:
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata