cmd/continuity: switch to google.golang.org/protobuf/proto#260
Merged
Conversation
The github.com/golang/protobuf/proto module is deprecated, and the main module already switched to google.golang.org/protobuf/proto in commit 74a0169. This patch updates the cmd/continuity module to use the new module as well. Before this patch: $ cd cmd/continuity $ go install $ continuity build ./continuityfs > manifest.pb $ continuity dump ./manifest.pb resource: < path: "/fuse.go" uid: 501 gid: 20 mode: 420 size: 7464 digest: "sha256:3d86240dcc3ea8ec7ae85d6c4e0bf0be1385b5d1e38564dcec72a69b51fcf919" > resource: < path: "/provider.go" uid: 501 gid: 20 mode: 420 size: 1728 digest: "sha256:8e3da0fd4a8d5e454ff027d4948d4b116ddaeb5ccdd0e10af806a2ecf2599710" > With this patch: $ cd cmd/continuity $ go install $ continuity build ./continuityfs > manifest.pb $ continuity dump ./manifest.pb resource: { path: "/fuse.go" uid: 501 gid: 20 mode: 420 size: 7464 digest: "sha256:3d86240dcc3ea8ec7ae85d6c4e0bf0be1385b5d1e38564dcec72a69b51fcf919" } resource: { path: "/provider.go" uid: 501 gid: 20 mode: 420 size: 1728 digest: "sha256:8e3da0fd4a8d5e454ff027d4948d4b116ddaeb5ccdd0e10af806a2ecf2599710" } Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
AkihiroSuda
approved these changes
Oct 28, 2024
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The github.com/golang/protobuf/proto module is deprecated, and the main module already switched to google.golang.org/protobuf/proto in commit 74a0169. This patch updates the cmd/continuity module to use the new module as well.
Before this patch:
With this patch: