-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
build: bump github.com/golang/glob, remove replace directive #7056
Conversation
Just recently, glog introduced a fix for the potentially very expensive network call on windows that had been troubling us before: golang/glog@9730314 It's become the v1.2.2 release. The release is now in vendor, and the replacement has been removed. Fixes open-policy-agent#7024. Signed-off-by: Stephan Renatus <[email protected]>
// This follows the logic in the standard library's user.Current() function, except | ||
// that it leaves out the potentially expensive calls required to look up the user's | ||
// display name in Active Directory. |
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.
☝️ That's the important bit.
✅ Deploy Preview for openpolicyagent ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Awesome!
glog is only used through badger
Is this still the case? I don't see it here: https://github.com/dgraph-io/badger/blob/main/go.mod
But looks like we're severly lagging behind on that dependency, so...
|
@srenatus yes, I'm saying they don't seem to use it any more, not that it's not used by the version we depend on. |
I'm saying that they never did -- it's been an indirect dependency, and it still is :) |
Just recently, glog introduced a fix for the potentially very expensive network call on windows that had been troubling us before:
golang/glog@9730314
It's become the v1.2.2 release.
The release is now in vendor, and the replacement has been removed.
Fixes #7024.