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

[release/1.5] go.mod: use golang_protobuf_extensions v1.0.4 to prevent incompatible versions #7722

Merged
merged 1 commit into from Nov 28, 2022

Conversation

thaJeztah
Copy link
Member

This module made a whoopsie, and updated to google.golang.org/protobuf in a patch release, but google.golang.org/protobuf is not backward compatible with github.com/golang/protobuf.

Updating the minimum version to v1.0.4 which corrects this, to prevent users of containerd as a module from accidentally pulling in the wrong version:

Signed-off-by: Sebastiaan van Stijn github@gone.nl

@estesp
Copy link
Member

estesp commented Nov 25, 2022

Hmm, haven't seen that in a long time :)

FAIL - commit subject exceeds 90 characters

@thaJeztah
Copy link
Member Author

Ah, dang; commit title is too long 😂

* aa6e753 "[release/1.5] go.mod: use golang_protobuf_extensions v1.0.4 to prevent incompatible versions" ... FAIL
    - PASS - commit does not have any whitespace errors
    - PASS - has a valid DCO
    - FAIL - commit subject exceeds 90 characters
  1 commits to fix
  Error: Process completed with exit code 1.

This module made a whoopsie, and updated to `google.golang.org/protobuf`
in a patch release, but `google.golang.org/protobuf` is not backward
compatible with `github.com/golang/protobuf`.

Updating the minimum version to v1.0.4 which corrects this, to prevent
users of containerd as a module from accidentally pulling in the wrong
version:

- v1.0.3 switched to use `google.golang.org/protobuf`; https://github.com/matttproud/golang_protobuf_extensions/compare/v1.0.2..v1.0.3
- This was reverted in v1.0.4 (which is the same as v1.0.2); https://github.com/matttproud/golang_protobuf_extensions/compare/v1.0.3..v1.0.4
- And a `v2` was created instead; https://github.com/matttproud/golang_protobuf_extensions/releases/tag/v2.0.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Copy link
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kzys kzys merged commit 7b7a9fb into containerd:release/1.5 Nov 28, 2022
@thaJeztah thaJeztah deleted the 1.5_protobuf_extensions_fix branch November 28, 2022 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants