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
go.mod, vendor: use github.com/cilium/dns fork directly #27582
Merged
Merged
Conversation
This file contains 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
tklauser
added
kind/cleanup
This includes no functional changes.
release-note/misc
This PR makes changes that have no direct user impact.
labels
Aug 18, 2023
/test |
tklauser
force-pushed
the
pr/tklauser/dns-replace-be-gone
branch
from
August 18, 2023 10:02
187d417
to
db13dd4
Compare
/test |
rolinh
approved these changes
Aug 18, 2023
jrajahalme
approved these changes
Aug 22, 2023
tklauser
force-pushed
the
pr/tklauser/dns-replace-be-gone
branch
from
August 25, 2023 15:34
db13dd4
to
f6e2744
Compare
/test |
Rebased to resolve merge conflict. |
tklauser
requested review from
aanm and
borkmann
and removed request for
nathanjsweet
August 25, 2023 15:35
borkmann
approved these changes
Aug 25, 2023
aanm
approved these changes
Aug 25, 2023
We have been maintaining and using that fork for a long time and it looks like the custom changes won't make it upstream any time soon. There are no other vendored dependencies using miekg/dns, so switching to the cilium/dns fork shouldn't have any side effects. The fork's module name was changed to match its import path in cilium/dns#4. Let's replace the github.com/miekg/dns import path by github.com/cilium/dns to get rid of another replace directive in go.mod and thus make life a tiny bit easier for downstream packages importing github.com/cilium/cilium. Signed-off-by: Tobias Klauser <tobias@cilium.io>
tklauser
force-pushed
the
pr/tklauser/dns-replace-be-gone
branch
from
August 25, 2023 18:34
f6e2744
to
1c22d85
Compare
/test |
maintainer-s-little-helper
bot
added
the
ready-to-merge
This PR has passed all tests and received consensus from code owners to merge.
label
Aug 25, 2023
2 tasks
This was referenced Nov 9, 2023
jrajahalme
added
backport-pending/1.12
backport-pending/1.13
The backport for Cilium 1.13.x for this PR is in progress.
backport-pending/1.14
The backport for Cilium 1.14.x for this PR is in progress.
labels
Nov 9, 2023
github-actions
bot
added
backport-done/1.14
The backport for Cilium 1.14.x for this PR is done.
and removed
backport-pending/1.14
The backport for Cilium 1.14.x for this PR is in progress.
labels
Nov 9, 2023
github-actions
bot
added
backport-done/1.13
The backport for Cilium 1.13.x for this PR is done.
backport-done/1.12
The backport for Cilium 1.12.x for this PR is done.
and removed
backport-pending/1.13
The backport for Cilium 1.13.x for this PR is in progress.
backport-pending/1.12
labels
Nov 9, 2023
This was referenced Nov 12, 2023
Closed
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport-done/1.12
The backport for Cilium 1.12.x for this PR is done.
backport-done/1.13
The backport for Cilium 1.13.x for this PR is done.
backport-done/1.14
The backport for Cilium 1.14.x for this PR is done.
kind/cleanup
This includes no functional changes.
ready-to-merge
This PR has passed all tests and received consensus from code owners to merge.
release-note/misc
This PR makes changes that have no direct user impact.
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.
We have been maintaining and using that fork for a long time and it looks like the custom changes won't make it upstream any time soon.
There are no other vendored dependencies using miekg/dns, so switching to the cilium/dns fork shouldn't have any side effects. The fork's module name was changed to match its import path in cilium/dns#4.
Let's replace the
github.com/miekg/dns
import path bygithub.com/cilium/dns
to get rid of anotherreplace
directive ingo.mod
and thus make life a tiny bit easier for downstream packages importinggithub.com/cilium/cilium
.