88 Commits

Author SHA1 Message Date
Yong Tang
8ee4c1fa2f Bump version to 1.7.0 (#3782)
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2020-06-15 07:23:25 -07:00
Miek Gieben
1766568398 Bump to version 1.6.9 (#3773)
See #3727 for the details. Copying release notes
verbatim to coredns-1.6.9.md and fix the release script (because
Makefile are stupid). Up version to 1.6.9 here as well.

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-03-24 16:26:01 +01:00
Miek Gieben
187d0f3c71 release: up the version to 1.6.8 (#3772)
Signed-off-by: Miek Gieben <miek@miek.nl>
2020-03-24 15:51:29 +01:00
Dominic Yin
65218e8fb3 Bump version to 1.6.7 (#3594)
Signed-off-by: Dominic Yin <yindongchao@inspur.com>
2020-01-18 12:27:07 -08:00
Yong Tang
5c5f18c50c Bump version to 1.6.6 (#3520)
For release tracking 3519

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-12-11 06:05:44 -08:00
Miek Gieben
c2fd1b2467 dump version to 1.6.5 (#3425)
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-11-05 13:46:54 +00:00
Anshul Sharma
c187d8fa01 Issue-3374 (#3383)
- Remove logo

Signed-off-by: Anshul Sharma <sharmaanshul2102@gmail.com>
2019-10-17 15:36:35 +01:00
Miek Gieben
dbd1c047cb Run gostaticheck (#3325)
* Run gostaticheck

Run gostaticcheck on the codebase and fix almost all flagged items.

Only keep

* coremain/run.go:192:2: var appVersion is unused (U1000)
* plugin/chaos/setup.go:54:3: the surrounding loop is unconditionally terminated (SA4004)
* plugin/etcd/setup.go:103:3: the surrounding loop is unconditionally terminated (SA4004)
* plugin/pkg/replacer/replacer.go:274:13: argument should be pointer-like to avoid allocations (SA6002)
* plugin/route53/setup.go:124:28: session.New is deprecated: Use NewSession functions to create sessions instead. NewSession has the same functionality as New except an error can be returned when the func is called instead of waiting to receive an error until a request is made.  (SA1019)
* test/grpc_test.go:25:69: grpc.WithTimeout is deprecated: use DialContext and context.WithTimeout instead.  Will be supported throughout 1.x.  (SA1019)

The first one isn't true, as this is set via ldflags. The rest is
minor. The deprecation should be fixed at some point; I'll file some
issues.

Signed-off-by: Miek Gieben <miek@miek.nl>

* Make sure to plug in the plugins

import the plugins, that file that did this was removed, put it in the
reload test as this requires an almost complete coredns server.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-10-01 07:41:29 +01:00
Miek Gieben
b139ba34f3 Set version to 1.6.4 (#3317)
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-09-27 14:36:14 +01:00
li mengyang
50bac4d3c3 fix: delete unused var and const (#3294)
Signed-off-by: hwdef <hwdef97@gmail.com>
2019-09-24 07:06:37 +01:00
Miek Gieben
37b9550d62 Up version to 1.6.3 (#3233)
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-31 10:08:22 +01:00
Miek Gieben
c466003a94 startup: add logo (#3230)
* startup: add logo

As discussed in #3225, lets add a little logo. This PR incorperates this
in the startup text. It also removes the logging output as this outputs
identical lines of text, but for no clear reason. This means --quiet now
means "no output on startup at all".

Currently it looks like this:

~~~
.:1053
   ______                ____  _   _______
  / ____/___  ________  / __ \/ | / / ___/	CoreDNS-1.6.2
 / /   / __ \/ ___/ _ \/ / / /  |/ /\__ \ 	linux/amd64, go1.12.9,
/ /___/ /_/ / /  /  __/ /_/ / /|  /___/ /
\____/\____/_/   \___/_____/_/ |_//____/
~~~

We have 2 lines extra on the right if we need to print more (no ideas
come to mind currently).

Signed-off-by: Miek Gieben <miek@miek.nl>

* Add distinct marker for grep and cut purposes

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-30 15:12:17 +01:00
Miek Gieben
795a3ebb64 up version to 1.6.2 (#3129)
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-14 08:22:30 +00:00
Miek Gieben
1fda5703fc Release 1.6.1 (#3081)
... and another one

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-08-01 09:50:28 -04:00
Miek Gieben
0a218d3cf4 Tag v1.6.0 (#3059)
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-07-28 20:00:28 +00:00
Miek Gieben
f5fe98395e Remove -cpu flag (#2793)
The -cpu flag is a weird one (and copied originally from Caddy), it
basically sets GOMAXPROCS which can be *easily* done by just setting
that environment variable. Also with systemd and containerized env you
set this externally *anyway*, so there is little use to do this again in
the binary.

Also the option's help was confusing (i.e. percentage of what?). Remove
the option and supporting files.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-07-03 20:12:51 +01:00
Miek Gieben
d933f635af Bump version to 1.5.2 (#2969)
Run through the motions; create manual pages. Run go generate for good
measure. Fix typo in Makefile.release while at it.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-07-03 19:47:38 +01:00
Yong Tang
f8bba51f84 Update Caddy to 1.0.1, and update import path (#2961)
* Update Caddy to 1.0.1, and update import path

This fix updates caddy to 1.0.1 and also
updates the import path to github.com/caddyserver/caddy

This fix fixes 2959

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Also update plugin.cfg

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Update and bump zplugin.go

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-07-03 09:04:47 +08:00
Miek Gieben
6c33397d29 Tag 1.5.1 (#2927)
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-06-26 12:46:34 +01:00
Miek Gieben
58c703f5ef Run gofmt -w -s on codebase (#2773)
This formats and simplifies all code by running gofmt -w -s on all Go
files.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-04-08 11:13:46 +01:00
Miek Gieben
0e2467d3ed Bump version to 1.5.0 (#2765)
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-04-06 14:11:03 +01:00
Francois Tur
97e2a53a65 - remove caddy event, It is now triggered directly by Caddy in the Start function of the Instance (#2656) 2019-03-07 20:05:19 +00:00
Miek Gieben
8dcc7fccd7 up the version to 1.4.0 (#2642)
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-03-03 10:41:41 +00:00
Miek Gieben
6b56a9c921 Tag version 1.3.1 (#2458)
Tag the 1.3.1 version.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-01-13 14:18:46 +00:00
Miek Gieben
c8f0e94026 Release 1.3.0 (#2399)
Signed-off-by: Miek Gieben <miek@miek.nl>
2018-12-15 15:49:37 +00:00
Miek Gieben
9abbf4a4a0 map bool -> map struct{} (#2386)
This clear out the remaining map[x]bool usage and moves the bool to an
empty struct.

Two note worthy other changes:

* EnableChaos in the server is now also exported to make it show up in
  the documentation.
* The auto plugin is left as is, because there the boolean is
  explicitaly set to false to signal 'to-be-deleted' and the key is left
  as-is.

Signed-off-by: Miek Gieben <miek@miek.nl>
2018-12-10 02:17:15 -08:00
Miek Gieben
756749c5ca Bump version to 1.2.6 (#2271)
Signed-off-by: Miek Gieben <miek@miek.nl>
2018-11-04 18:06:20 +00:00
Miek Gieben
2456416444 logging: unify pkg/log and plugin/log (#2245)
Default to using pkg/log for all logging and use a fixed time prefix
which is RFC3339Millli (doesn't exist in time, so we just extended
RFC3339), i.e. Nano might be pushing it.

Logs go from:

2018/10/30 19:14:55 [INFO] CoreDNS-1.2.5
2018/10/30 19:14:55 [INFO] linux/amd64, go1.11,

to:

2018-10-30T19:10:07.547Z [INFO] CoreDNS-1.2.5
2018-10-30T19:10:07.547Z [INFO] linux/amd64, go1.11,

Which includes the timezone - which oddly the std log package doesn't
natively do.

Signed-off-by: Miek Gieben <miek@miek.nl>
2018-10-31 21:32:23 +00:00
Miek Gieben
204537b324 Bump version 1.2.5 (#2235)
Signed-off-by: Miek Gieben <miek@miek.nl>
2018-10-24 20:54:37 +01:00
Miek Gieben
7343c7012f Release: bump version to 1.2.4 (#2211)
Signed-off-by: Miek Gieben <miek@miek.nl>
2018-10-17 22:53:01 +01:00
Miek Gieben
8cc8afa96a Bump version to 1.2.3 (#2200)
Signed-off-by: Miek Gieben <miek@miek.nl>
2018-10-16 07:36:40 +01:00
Miek Gieben
eb51e8bac9 Bump version to 1.2.2 (#2067)
* Bump version to 1.2.2

Release 1.2.2

Signed-off-by: Miek Gieben <miek@miek.nl>

* Fix filename to what we upload

With ls dir/* the pathname returned are diff. then we with ls dir, fix
how curl is called.

Signed-off-by: Miek Gieben <miek@miek.nl>
2018-08-29 07:51:45 +01:00
Miek Gieben
554da015e7 release: up version to 1.2.1 (#2057)
up the version and add the man-pages.

Signed-off-by: Miek Gieben <miek@miek.nl>
2018-08-27 19:54:10 +01:00
Karsten Weiss
6d8a078704 Typo fixes (#2031) 2018-08-14 08:55:55 -07:00
Miek Gieben
2306721c23 Up release to 1.2.0 (#1958)
Automatically submitted.
2018-07-10 11:28:29 +00:00
Miek Gieben
41c724780f remove deprecated code (#1888)
This removes:
* reverse plugin from plugin.cfg
* https_google option from proxy
* the -log flag
2018-06-20 11:35:07 +01:00
Miek Gieben
f78f30231d Release 1.1.4 2018-06-19 17:57:35 +01:00
Miek Gieben
2758a756dd Implement deprecation notice for 1.1.4 (#1833)
* Implement deprecation notice for 1.1.4

This still allows all the config to be parsed, but noops it:

* -log; always set the log to stdout; no matter what.
* https_google; removed from the proxy implementation.
* reverse plugin: set to deprecated.

* Whole of reverse can go

* Remove test for deprecated plugin
2018-05-24 14:30:01 +01:00
Miek Gieben
b0fd575c65 Release 1.1.3 2018-05-24 08:00:16 +01:00
Silver
59dbcd32ea Signal handling breaks parent code (#1763) (#1764) 2018-05-03 08:57:38 +02:00
Miek Gieben
82d3195f2f pkg/log usage in coremain as well (#1751) 2018-04-27 21:50:24 +01:00
Miek Gieben
582f91f3f3 Release 1.1.2 2018-04-23 13:44:33 +01:00
Miek Gieben
231c2c0ef3 Release 1.1.1 2018-03-25 17:22:09 +01:00
Miek Gieben
c8d9150079 Release 1.1.0 2018-03-13 14:46:16 +00:00
Miek Gieben
455040c143 doc: some function/vars/const/package level updates (#1558)
* doc: some function/vars/const/package level updates

Various update that stood out while reading godoc.org for CoreDNS.

* Fix some misspellings as well
2018-02-23 15:02:05 +00:00
Miek Gieben
83b5eadb4e Release 1.0.6 2018-02-22 09:07:59 +00:00
Miek Gieben
b89480b33f Golint: make golint happy (#1433)
CoreVersion needs to be documented for golint, but we can't use too much
text because we grep this file for the coredns version.
2018-01-25 21:58:46 +00:00
Miek Gieben
aeacbf6e24 move flag blacklisting to main (#1431)
* move flag blacklisting to main

Doing it in init() is the wrong place or something else changed. Doing
it in main() makes it easy to see *when* this happens.

* keep trapsignals
2018-01-25 21:40:40 +00:00
Miek Gieben
ea95a2003a Release 1.0.5 2018-01-25 19:45:35 +00:00
Miek Gieben
482f9c4f14 Release is 1.0.5 2018-01-25 19:37:15 +00:00