Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

Reconsider default of go.installDependenciesWhenBuilding #2836

@segevfiner

Description

@segevfiner

Do any Go tools we use still depend on installed packages, that is go build -i? If the answer is no, then as AFAIK installing dependencies is just a waste of time and space at that point and we should consider changing the default of go.installDependenciesWhenBuilding to false.

I think it's a mechanism left for backwards compatibility for stuff that depended on it, from the Go 1.10 release notes:

Installing dependency packages should not be necessary in general, and the very concept of installed packages may disappear in a future release.

https://golang.org/doc/go1.10#build

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions