-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Display warning when reading a buf.lock with a b3 digest (#2520)
Right now, if the CLI reads a buf.lock with a b3 digest, it treats digest as empty. This PR displays a warning when it's encountered. Added a check that reads the lock file and checks whether any digest starts with `b1-` or `b3-` to - `getSourceModuleConfig`, called by `buf beta graph`, `buf beta price`, `buf beta stats`, `buf build`, `buf convert` , `buf export`, `buf format`, `buf generate`and `buf lint`, when the source / input is a module directory or workspace directory. - `run` in `buf push`.
- Loading branch information
1 parent
6befbe4
commit b38f0f7
Showing
4 changed files
with
67 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters