helsing-ai / buffrs

Modern protobuf package management
https://crates.io/crates/buffrs
Apache License 2.0
207 stars 12 forks source link

buffrs add now accept dependency with no version and defaults to `latest` #259

Closed gbouv closed 2 months ago

gbouv commented 2 months ago

Fixes #223

In addition to the current:

buffrs add --registry <REGISTRY> <REPO>/<PACKAGE_NAME>@<VERSION>

you can now run:

buffrs add --registry <REGISTRY> <REPO>/<PACKAGE_NAME>

or:

buffrs add --registry <REGISTRY> <REPO>/<PACKAGE_NAME>@latest

In those cases, buffrs will query the registry for the existing version of the package and defaults to the latest