helsing-ai / buffrs

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

Improve error message when failing to load dependencies #178

Open Tpt opened 11 months ago

Tpt commented 11 months ago

When loading

[package]
type = "api"
version = "0.0.0"

[dependencies]
package = { registry = "registry", version = "^0.1.1", repository = "repo" }

The publish commands fails with:

Error: 
   0: Failed to create release
   1: Failed to resolve dependency locally
   2: Failed to locate local manifest for package: xyz
   3: No such file or directory (os error 2)

It would be better to highlights the two possible reasons this fails:

mara-schulke commented 11 months ago

I believe this is happening due to an outdated version of buffrs! I can't find the error branch. Can you give me the version that resulted in this error? @Tpt

Tpt commented 11 months ago

@mara-schulke The last one in Kraken base image so 0.6.4

mara-schulke commented 11 months ago

We should bump to v0.7.2 @Tpt