aquaproj / aqua

Declarative CLI Version manager written in Go. Support Lazy Install, Registry, and continuous update with Renovate. CLI version is switched seamlessly
https://aquaproj.github.io
885 stars 39 forks source link

feat: get versions from Go Proxy #3269

Closed suzuki-shunsuke closed 5 days ago

suzuki-shunsuke commented 6 days ago

This pull request adds a new field go_version_path to registry.

e.g.

packages:
  - name: _go/sigsum.org/sigsum-go#cmd/sigsum-key
    type: go_install
    path: sigsum.org/sigsum-go/cmd/sigsum-key
    go_version_path: sigsum.org/sigsum-go

If this field is set, aqua g and aqua up commands gets available versions from Go Module Proxy.

suzuki-shunsuke commented 6 days ago