Closed pradykaushik closed 4 years ago
This might be a good chance to experiment with keeping a separate repo with the dependencies. Something like elektron-vendor.
We can use git submodules to manage it. https://git-scm.com/book/en/v2/Git-Tools-Submodules
So this is how I would envision it working:
First line of defense using mod to download dependencies. Second line, if something got moved, using the elektron-vendor repository to download the dependencies.
@rdelval pending review.
github.com/spdf/elektron
instead ofgitlab.com/spdf/elektron
.go mod init github.com/spdf/elektron
to regenerate the go.mod and go.sum files.go mod vendor
to update the vendored repositories.Note: Haven't yet changed the organization name from "spdf" to "spdfg" in the imports. We can do this once we are sure of the name.