forked from coredns/coredns
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from bcrochet/rebase-to-upstream-1.6.6
Rebase to upstream 1.6.6
- Loading branch information
Showing
2,049 changed files
with
161,938 additions
and
111,422 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
features: | ||
- aliases | ||
- exec | ||
|
||
aliases: | ||
- | | ||
/plugin (.*) -> /label plugin/$1 | ||
- | | ||
/wai -> /label works as intended | ||
- | | ||
/release (.*) -> /exec /opt/bin/release-coredns $1 |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
# Contributing to CoreDNS | ||
|
||
Welcome! Our community focuses on helping others and making CoreDNS the best it can be. We gladly | ||
accept contributions and encourage you to get involved! | ||
|
||
## Bug Reports | ||
|
||
First, please [search this | ||
repository](https://github.com/coredns/coredns/search?q=&type=Issues&utf8=%E2%9C%93) with a variety | ||
of keywords to ensure your bug is not already reported. | ||
|
||
If not, [open an issue](https://github.com/coredns/coredns/issues) and answer the questions so we | ||
can understand and reproduce the problematic behavior. | ||
|
||
The burden is on you to convince us that it is actually a bug in CoreDNS. This is easiest to do when | ||
you write clear, concise instructions so we can reproduce the behavior (even if it seems obvious). | ||
The more detailed and specific you are, the faster we will be able to help you. Check out [How to | ||
Report Bugs Effectively](https://www.chiark.greenend.org.uk/~sgtatham/bugs.html). | ||
|
||
Please be kind. :smile: Remember that CoreDNS comes at no cost to you, and you're getting free help. | ||
|
||
## Minor Improvements and New Tests | ||
|
||
Submit [pull requests](https://github.com/coredns/coredns/pulls) at any time. Make sure to write | ||
tests to assert your change is working properly and is thoroughly covered. | ||
|
||
## New Features | ||
|
||
First, please [search](https://github.com/coredns/coredns/search?q=&type=Issues&utf8=%E2%9C%93) with | ||
a variety of keywords to ensure your suggestion/proposal is new. | ||
|
||
Please also check for existing pull requests to see if someone is already working on this. We want | ||
to avoid duplication of effort. | ||
|
||
If the proposal is new and no one has opened pull request yet, you may open either an issue or a | ||
pull request for discussion and feedback. | ||
|
||
If you are going to spend significant time implementing code for a pull request, best to open an | ||
issue first and "claim" it and get feedback before you invest a lot of time. | ||
|
||
**If someone already opened a pull request, but you think the pull request has stalled and you would | ||
like to open another pull request for the same or similar feature, get some of the maintainers (see | ||
[CODEOWNERS](CODEOWNERS)) involved to resolve the situation and move things forward.** | ||
|
||
If possible make a pull request as small as possible, or submit multiple pull request to complete a | ||
feature. Smaller means: easier to understand and review. This in turn means things can be merged | ||
faster. | ||
|
||
## New Plugins | ||
|
||
A new plugin is (usually) about 1000 lines of Go. This includes tests and some plugin boiler plate. | ||
This is a considerable amount of code and will take time to review. To prevent too much back and | ||
forth it is advisable to start with the plugin's `README.md`; This will be its main documentation | ||
and will help nail down the correct name of the plugin and its various config options. | ||
|
||
From there it can work its way through the rest (`setup.go`, the `ServeDNS` handler function, etc.). | ||
Doing this will help the reviewers, as each chunk of code is relatively small. | ||
|
||
Also read [plugin.md](https://raw.githubusercontent.com/coredns/coredns/master/plugin.md) for | ||
advice on how to write a plugin. | ||
|
||
## Updating Dependencies | ||
|
||
We use [Go Modules](https://github.com/golang/go/wiki/Modules) as the tool to manage vendor dependencies. | ||
|
||
Use the following to update the version of all dependencies | ||
```sh | ||
$ go get -u | ||
``` | ||
|
||
After the dependencies have been updated or added, you might run the following to | ||
cleanup the go module files: | ||
```sh | ||
$ go mod tidy | ||
``` | ||
|
||
Please refer to [Go Modules](https://github.com/golang/go/wiki/Modules) for more details. | ||
|
||
# Thank You | ||
|
||
Thanks for your help! CoreDNS would not be what it is today without your contributions. |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
name: Bug Report | ||
about: Report a bug encountered while using CoreDNS | ||
labels: bug | ||
|
||
--- | ||
|
||
<!-- Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks! | ||
If the matter is security related, please disclose it privately via [email protected] | ||
--> | ||
|
||
**What happened**: | ||
|
||
**What you expected to happen**: | ||
|
||
**How to reproduce it (as minimally and precisely as possible)**: | ||
|
||
**Anything else we need to know?**: | ||
|
||
**Environment**: | ||
|
||
- the version of CoreDNS: | ||
- Corefile: | ||
- logs, if applicable: | ||
- OS (e.g: `cat /etc/os-release`): | ||
- Others: |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
name: Enhancement Request | ||
about: Suggest an enhancement to the CoreDNS project | ||
labels: enhancement | ||
|
||
--- | ||
<!-- Please only use this template for submitting enhancement requests --> | ||
|
||
**What would you like to be added**: | ||
|
||
**Why is this needed**: |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: go tidy | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
paths: | ||
- '.github/workflows/go.tidy.yml' | ||
- 'go.mod' | ||
- 'go.sum' | ||
|
||
jobs: | ||
fix: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Checkout | ||
uses: actions/checkout@v1 | ||
- | ||
# https://github.com/actions/checkout/issues/6 | ||
name: Fix detached HEAD | ||
run: git checkout ${GITHUB_REF#refs/heads/} | ||
- | ||
name: Tidy | ||
run: | | ||
rm -f go.sum | ||
go mod tidy | ||
- | ||
name: Set up Git | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
git config user.name "coredns-auto-go-mod-tidy[bot]" | ||
git config user.email "coredns-auto-go-mod-tidy[bot]@users.noreply.github.com" | ||
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git | ||
- | ||
name: Commit and push changes | ||
run: | | ||
git add . | ||
if output=$(git status --porcelain) && [ ! -z "$output" ]; then | ||
git commit -m 'auto go mod tidy' | ||
git push | ||
fi |
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
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
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
Validating CODEOWNERS rules …
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# @miekg, [email protected], project lead: 11/11/2020 | ||
|
||
* @bradbeam @chrisohaver @dilyevsky @fastest963 @greenpau @grobie @isolus @johnbelamaric @miekg @pmoroney @rajansandeep @stp-ip @superq @yongtang | ||
|
||
/plugin/pkg/ @miekg @chrisohaver @johnbelamaric @yongtang @stp-ip | ||
/coremain/ @miekg @chrisohaver @johnbelamaric @yongtang @stp-ip | ||
/core/ @miekg @chrisohaver @johnbelamaric @yongtang @stp-ip | ||
/request/ @miekg @chrisohaver @johnbelamaric @yongtang @stp-ip | ||
/plugin/* @miekg @chrisohaver @johnbelamaric @yongtang @stp-ip | ||
go.sum @miekg @chrisohaver @johnbelamaric @yongtang @stp-ip | ||
go.mod @miekg @chrisohaver @johnbelamaric @yongtang @stp-ip | ||
|
||
/plugin/acl/ @miekg @ihac | ||
/plugin/any/ @miekg | ||
/plugin/auto/ @miekg @stp-ip | ||
/plugin/autopath/ @chrisohaver @miekg | ||
/plugin/azure/ @miekg @yongtang @darshanime | ||
/plugin/bind/ @miekg | ||
/plugin/bufsize/ @ykhr53 | ||
/plugin/cache/ @grobie @miekg | ||
/plugin/cancel/ @miekg | ||
/plugin/chaos/ @miekg | ||
/plugin/clouddns/ @miekg @yongtang | ||
/plugin/dnssec/ @isolus @miekg | ||
/plugin/dnstap/ @varyoo @yongtang | ||
/plugin/erratic/ @miekg | ||
/plugin/errors/ @miekg | ||
/plugin/etcd/ @miekg @nitisht | ||
/plugin/file/ @miekg @yongtang @stp-ip | ||
/plugin/forward/ @grobie @johnbelamaric @miekg @rdrozhdzh | ||
/plugin/grpc/ @inigohu @miekg | ||
/plugin/health/ @fastest963 @miekg | ||
/plugin/hosts/ @johnbelamaric @pmoroney | ||
/plugin/k8s_external/ @miekg | ||
/plugin/kubernetes/ @bradbeam @chrisohaver @johnbelamaric @miekg @rajansandeep @yongtang | ||
/plugin/loadbalance/ @miekg | ||
/plugin/log/ @miekg @nchrisdk | ||
/plugin/loop/ @miekg @chrisohaver | ||
/plugin/metadata/ @ekleiner @miekg | ||
/plugin/metrics/ @fastest963 @miekg @superq @greenpau | ||
/plugin/nsid/ @yongtang | ||
/plugin/pprof/ @miekg | ||
/plugin/reload/ @johnbelamaric | ||
/plugin/rewrite/ @greenpau @johnbelamaric | ||
/plugin/root/ @miekg | ||
/plugin/route53/ @yongtang @dilyevsky | ||
/plugin/secondary/ @bradbeam @miekg | ||
/plugin/template/ @rtreffer | ||
/plugin/tls/ @johnbelamaric | ||
/plugin/trace/ @johnbelamaric | ||
/plugin/transfer/ @miekg @chrisohaver | ||
/plugin/whoami/ @miekg @chrisohaver |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.github/CODE_OF_CONDUCT.md |
Oops, something went wrong.