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

go.mod, vendor: use github.com/cilium/dns fork directly #27582

Merged
merged 1 commit into from Aug 26, 2023

Conversation

tklauser
Copy link
Member

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.

@tklauser 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
@tklauser tklauser requested review from a team as code owners August 18, 2023 09:53
@tklauser
Copy link
Member Author

/test

@tklauser tklauser force-pushed the pr/tklauser/dns-replace-be-gone branch from 187d417 to db13dd4 Compare August 18, 2023 10:02
@tklauser
Copy link
Member Author

/test

@tklauser tklauser force-pushed the pr/tklauser/dns-replace-be-gone branch from db13dd4 to f6e2744 Compare August 25, 2023 15:34
@tklauser
Copy link
Member Author

/test

@tklauser
Copy link
Member Author

Rebased to resolve merge conflict.

@tklauser tklauser requested review from aanm and borkmann and removed request for nathanjsweet August 25, 2023 15:35
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 tklauser force-pushed the pr/tklauser/dns-replace-be-gone branch from f6e2744 to 1c22d85 Compare August 25, 2023 18:34
@tklauser
Copy link
Member Author

/test

@maintainer-s-little-helper 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
@tklauser tklauser merged commit 95e25bf into main Aug 26, 2023
209 checks passed
@tklauser tklauser deleted the pr/tklauser/dns-replace-be-gone branch August 26, 2023 07:52
@jrajahalme 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 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 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
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants