You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've seen a few users struggle with the fact that their module needs to define all of its dependencies in a buf.lock before it can be pushed to the BSR. This is described in the tour, but it's still not clear from the error message. For example, from Slack:
$ buf push
Failure: oqton/services/storage/v1/service.proto:6:8:oqton/schema/v1/method.proto: does not exist
In this case, the user's module successfully built with a buf.work.yaml in a parent directory, but it couldn't be pushed since it wasn't expressed in this module's buf.lock. Let's detect this and return a better error that explains that the dependency was found and that they just need to run buf mod update.
Note that this relates to some of the other workspace-level operations described here.
The text was updated successfully, but these errors were encountered:
We now have v2buf.yaml configurations that configures the entire workspace in a single top-level buf.yaml and defines a single set of dependencies for the entire workspace, so managing dependencies for individual modules in the workspace is no longer a concern. This also enables pushing for the entire workspace :) So closing this for now since this concern can be addressed by migrating to v2.
We've seen a few users struggle with the fact that their module needs to define all of its dependencies in a
buf.lock
before it can be pushed to the BSR. This is described in the tour, but it's still not clear from the error message. For example, from Slack:In this case, the user's module successfully built with a
buf.work.yaml
in a parent directory, but it couldn't be pushed since it wasn't expressed in this module'sbuf.lock
. Let's detect this and return a better error that explains that the dependency was found and that they just need to runbuf mod update
.Note that this relates to some of the other workspace-level operations described here.
The text was updated successfully, but these errors were encountered: