hashicorp / nomad

Nomad is an easy-to-use, flexible, and performant workload orchestrator that can deploy a mix of microservice, batch, containerized, and non-containerized applications. Nomad is easy to operate and scale and has native Consul and Vault integrations.
https://www.nomadproject.io/
Other
14.95k stars 1.96k forks source link

Request: Versioned client API package #12300

Open tsaarni opened 2 years ago

tsaarni commented 2 years ago

Currently Nomad release tags cover only the server module at github.com/hashicorp/nomad. The submodule containing client API github.com/hashicorp/nomad/api is not versioned, which leads to applications consuming the latest from main directly via pseudo-version. Example of this can be seen in Vault go.mod.

Problem:

Proposal:

Add versioning also to github.com/hashicorp/nomad/api submodule. This can be done by adding a second release tag which is prefixed with the submodule path. v1.2.6 becomes api/v1.2.6. Tagging submodules is described in go documentation.

lgfa29 commented 2 years ago

Thanks @tsaarni, this is something we talked about in the past.