Skip to content

Consider running our own module proxy #498

Closed
@dominikh

Description

@dominikh

Via meta tags, we can define our own module proxy that go mod download should use. This is interesting to us because we're not using semver; we're stuck with pseudo versions. If someone runs go get honnef.co/go/tools/cmd/[email protected], then this will be converted into a pseudo-version of the format v0.0.0-<timestamp>-<commit sha>. If the user later ran go get -u, they'd be bumped to the latest commit on master. Furthermore, a go get with no version specified would also fetch from master. If we ran our own proxy, then we could synthesize our own list of versions, consisting solely of pseudo-versions matching our releases. As long as our list isn't empty, go get [-u] will consult the list and choose the latest element on that list.

The obvious downside is that we would have to maintain more infrastructure.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions