Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(GoMod): Disable any GOPROXY
This ensures that the `.info` files for all modules, which get created by the Go command line tools under '$GOPATH/pkg/mod', contain the VCS info. When using a Go proxy this is not guaranteed and depends on the actual proxy instance, see [1]. This comes at the price of increased execution time. As the users environment may likely be configured to use a GOPROXY, which is the default, use an empty directory to not mix-up newly cached files with already existing ones which might have been created using a Go proxy and therefore may lack the VCS info. This prepares for using the Go tooling to determine the VCS info instead of using ORT's partial reimplementation of that. [1]: golang/go#44742 (comment) [2]: golang/go#18387 Signed-off-by: Frank Viernau <[email protected]>
- Loading branch information