#6 golist needs to be run outside the source tree to avoid panics
Closed 4 years ago by nim. Opened 5 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

5 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)

4 years ago

Login to comment on this ticket.

Metadata