-
Notifications
You must be signed in to change notification settings - Fork 32
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
upgrade sops from v3.4.0 to v3.5.0 #1062
Conversation
55c3b7d
to
fac670e
Compare
The change from v3.4.0 to v3.5.0 is the first version where the Go module had a real version associated with it. This also includes the first of two module import path changes sops went through to on its way to the current v3.9.1 version. This one is from `go.mozilla.org/sops` to `go.mozilla.org/sops/v3`. v3.5.0 dates back 4 years, but an update directly to 3.9.1 was around 500,000 new lines of code being added at once. Partially, because in v3.8.0, the sops maintainers changed the module path again from `go.mozilla.org/sops/v3` to `github.com/getsops/sops/v3`. There's good reason to do that larger update (mostly, it's holding on to very old versions of other dependencies), but we choose to break that upgrade across multiple bumps for reviewer ease. My current plan is to bump us to v3.5.0, then to v3.7.3 (the last version before the second `getsops` import path change), and then to v3.9.1. I could be told we should just do the one big leap to avoid the two different import path changes.
fac670e
to
6a0d957
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My current plan is to bump us to v3.5.0, then to v3.7.3 (the last
version before the second getsops import path change), and then to
v3.9.1.
I like the plan of gradually updating the instead of doing one big push.
// LoadEncryptedFileWithBugFixes is a wrapper around LoadEncryptedFile which includes | ||
// check for the issue described in https://github.com/mozilla/sops/pull/435 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: The config repo uses SOPS 3.9.1
, the bug was fixed on 3.3.0
. Since our repo uses newer version highly unlikely this will be a breaking change.
The change from v3.4.0 to v3.5.0 is the first version where the Go
module had a real version associated with it. This also includes the
first of two module import path changes sops went through to on its way
to the current v3.9.1 version. This one is from
go.mozilla.org/sops
togo.mozilla.org/sops/v3
.v3.5.0 dates back 4 years, but an update directly to 3.9.1 was around
500,000 new lines of code being added at once. Partially, because in
v3.8.0, the sops maintainers changed the module path again from
go.mozilla.org/sops/v3
togithub.com/getsops/sops/v3
.There's good reason to do that larger update (mostly, it's holding on to
very old versions of other dependencies), but we choose to break that
upgrade across multiple bumps for reviewer ease.
My current plan is to bump us to v3.5.0, then to v3.7.3 (the last
version before the second
getsops
import path change), and then tov3.9.1.
I could be told we should just do the one big leap to avoid the two
different import path changes.