Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error message when failing to load dependencies #178

Open
Tpt opened this issue Dec 4, 2023 · 3 comments
Open

Improve error message when failing to load dependencies #178

Tpt opened this issue Dec 4, 2023 · 3 comments
Assignees
Labels
bug Reports or fixes associated with bugs in this project complexity::low Issues or ideas with a low implementation cost component::cli Everything related to the buffrs cli docs::book Adding, rewriting or removing chapters from the buffrs book integration Changes and ideas related to integrating buffrs with 3rd-party software or tools priority::high Urgent change or idea, please review quickly

Comments

@Tpt
Copy link
Contributor

Tpt commented Dec 4, 2023

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:

  • The version range is not supported yet
  • The package is an api depending on an other api
@mara-schulke mara-schulke added bug Reports or fixes associated with bugs in this project complexity::low Issues or ideas with a low implementation cost component::cli Everything related to the buffrs cli priority::high Urgent change or idea, please review quickly integration Changes and ideas related to integrating buffrs with 3rd-party software or tools docs::book Adding, rewriting or removing chapters from the buffrs book labels Dec 5, 2023
@mara-schulke mara-schulke self-assigned this Dec 5, 2023
@mara-schulke mara-schulke added this to the User Experience milestone Dec 5, 2023
@mara-schulke
Copy link
Contributor

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
Copy link
Contributor Author

Tpt commented Dec 6, 2023

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

@mara-schulke
Copy link
Contributor

We should bump to v0.7.2 @Tpt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Reports or fixes associated with bugs in this project complexity::low Issues or ideas with a low implementation cost component::cli Everything related to the buffrs cli docs::book Adding, rewriting or removing chapters from the buffrs book integration Changes and ideas related to integrating buffrs with 3rd-party software or tools priority::high Urgent change or idea, please review quickly
Projects
Status: No status
Development

No branches or pull requests

2 participants