You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
We need to do tests on actual Git repositories and their sub-modules
Problems :
Current solution (cloning from Github) makes the tests impossible to run without an internet connection, and potentially slow.
Git doesn't let me just commit a repository inside a repository (only as a sub-module, but that's not the same thing)
The vendor test takes a remote URL from the package in the GOPATH, and fetches it as a sub-module... That's messed up as I do not control what remote is used in the GOPATH. (could be "fixed" by setting my own GOPATH for the test with a pre-defined repo inside...)
As a temporary solution, I'm gonna zip up the test repo and skip the vendor tests...
Any idea is welcome
The text was updated successfully, but these errors were encountered:
We need to do tests on actual Git repositories and their sub-modules
Problems :
vendor
test takes a remote URL from the package in the GOPATH, and fetches it as a sub-module... That's messed up as I do not control what remote is used in the GOPATH. (could be "fixed" by setting my own GOPATH for the test with a pre-defined repo inside...)As a temporary solution, I'm gonna zip up the test repo and skip the
vendor
tests...Any idea is welcome
The text was updated successfully, but these errors were encountered: