Description
The go mod vendor capability is great for insulating a working program from changes made in imported modules.
It would benefit from having the ability to download only those modules that are imported from external entities.
Within a single entity, every project that uses a popular module and the vendor capability will store a copy of the same code. With multiple projects referencing this popular module, multiple copies will be stored in the owning entities' source code repository.
Modifying the vendoring capability to download only modules owned by external entities would be a useful change. Reuse of the GOPRIVATE env var might make sense, but if overloading the semantics of this variable is problematic a new one could be added or a switch added to the command.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status