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
Fix version of go get #1370
Fix version of go get #1370
Conversation
This fix fixes version fetched from `go get` so that versions are guarded. github.com/mholt/caddy v0.10.10 github.com/miekg/dns v1.0.3 github.com/prometheus/client_golang v0.8.0 golang.org/x/net release-branch.go1.9 (branch) golang.org/x/text e19ae1496984b1c655b8044a65c0300a3c878dd3 This fix fixes 1368. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Codecov Report
@@ Coverage Diff @@
## master #1370 +/- ##
=======================================
Coverage 51.17% 51.17%
=======================================
Files 171 171
Lines 8248 8248
=======================================
Hits 4221 4221
Misses 3701 3701
Partials 326 326 Continue to review full report at Codecov.
|
I was wondering if we should do this in code? I.e have a failing test have a version is too low? This might be good enough though. WDYT? |
@miekg I think we could use Makefile like that to make sure when we release, the versions of other packages are truly "pinned". The version check in the code is also useful, as some developers may choose to rebuild CoreDNS with customized plugins (and not use the Makefile here). |
I did run into
Maybe |
@miekg I think
Added #1372 to try to address the above issue. |
1. What does this pull request do?
This fix fixes version fetched from
go get
so that versions are guarded.2. Which issues (if any) are related?
This fix is related #1368.
3. Which documentation changes (if any) need to be made?
N/A
Signed-off-by: Yong Tang yong.tang.github@outlook.com