Skip to content

Commit 39ecde4

Browse files
authored
Release v0.7.0 (#54)
* [FEATURE] Add option to disable Reverse DNS Lookups #48 * [ENHANCEMENT] Add gauges for frequency, skew and update interval #51 * [BUGFIX] Fix swapped HELP text #47 Signed-off-by: SuperQ <[email protected]>
1 parent 6147632 commit 39ecde4

File tree

7 files changed

+23
-12
lines changed

7 files changed

+23
-12
lines changed

.github/workflows/golangci-lint.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,27 @@ on:
1212
- ".golangci.yml"
1313
pull_request:
1414

15+
permissions: # added using https://github.com/step-security/secure-repo
16+
contents: read
17+
1518
jobs:
1619
golangci:
20+
permissions:
21+
contents: read # for actions/checkout to fetch code
22+
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests
1723
name: lint
1824
runs-on: ubuntu-latest
1925
steps:
2026
- name: Checkout repository
21-
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
27+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2228
- name: install Go
2329
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
2430
with:
25-
go-version: 1.20.x
31+
go-version: 1.21.x
2632
- name: Install snmp_exporter/generator dependencies
2733
run: sudo apt-get update && sudo apt-get -y install libsnmp-dev
2834
if: github.repository == 'prometheus/snmp_exporter'
2935
- name: Lint
3036
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
3137
with:
32-
version: v1.54.2
38+
version: v1.55.2

.promu.yml

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ go:
66
repository:
77
path: github.com/superq/chrony_exporter
88
build:
9-
flags: -a -tags 'netgo static_build'
109
ldflags: |
1110
-X github.com/prometheus/common/version.Version={{.Version}}
1211
-X github.com/prometheus/common/version.Revision={{.Revision}}

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
## main / unreleased
22

3+
## 0.7.0 / 2023-12-25
4+
5+
* [FEATURE] Add option to disable Reverse DNS Lookups #48
6+
* [ENHANCEMENT] Add gauges for frequency, skew and update interval #51
7+
* [BUGFIX] Fix swapped HELP text #47
8+
39
## 0.6.1 / 2023-07-16
410

511
* [ENHANCEMENT] Add a command line option to force chmod on the receiving unix socket. #45

Makefile.common

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_
6161
SKIP_GOLANGCI_LINT :=
6262
GOLANGCI_LINT :=
6363
GOLANGCI_LINT_OPTS ?=
64-
GOLANGCI_LINT_VERSION ?= v1.54.2
64+
GOLANGCI_LINT_VERSION ?= v1.55.2
6565
# golangci-lint only supports linux, darwin and windows platforms on i386/amd64.
6666
# windows isn't included here because of the path separator being different.
6767
ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin))

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.6.1
1+
0.7.0

go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.20
44

55
require (
66
github.com/alecthomas/kingpin/v2 v2.4.0
7-
github.com/facebook/time v0.0.0-20230927132939-0065a0b99445
7+
github.com/facebook/time v0.0.0-20231220110940-184fad01f5a0
88
github.com/go-kit/log v0.2.1
99
github.com/prometheus/client_golang v1.17.0
1010
github.com/prometheus/common v0.45.0
@@ -29,7 +29,7 @@ require (
2929
golang.org/x/crypto v0.14.0 // indirect
3030
golang.org/x/net v0.17.0 // indirect
3131
golang.org/x/oauth2 v0.12.0 // indirect
32-
golang.org/x/sync v0.3.0 // indirect
32+
golang.org/x/sync v0.5.0 // indirect
3333
golang.org/x/sys v0.13.0 // indirect
3434
golang.org/x/text v0.13.0 // indirect
3535
google.golang.org/appengine v1.6.7 // indirect

go.sum

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ3
1212
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
1313
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
1414
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
15-
github.com/facebook/time v0.0.0-20230927132939-0065a0b99445 h1:LpExZj5AtCInOOO5rGwpEjOz7V3zqfx64bbEAZn39cU=
16-
github.com/facebook/time v0.0.0-20230927132939-0065a0b99445/go.mod h1:dfouHrgxDA7FxAzPYOFIGHFcrFlG2trLpeLtA5+hs+Q=
15+
github.com/facebook/time v0.0.0-20231220110940-184fad01f5a0 h1:BImi+X5niQeFxGPmqjjYtC5+HVZ6oyImQp4oYPUUI2M=
16+
github.com/facebook/time v0.0.0-20231220110940-184fad01f5a0/go.mod h1:4Sm1/UrTiOhZF3J3KoLU00mDBOna3NF9pcUrEreHZ1c=
1717
github.com/go-kit/log v0.2.1 h1:MRVx0/zhvdseW+Gza6N9rVzU/IVzaeE1SFI4raAhmBU=
1818
github.com/go-kit/log v0.2.1/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0=
1919
github.com/go-logfmt/logfmt v0.5.1 h1:otpy5pqBCBZ1ng9RQ0dPu4PN7ba75Y/aA+UpowDyNVA=
@@ -63,8 +63,8 @@ golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM=
6363
golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE=
6464
golang.org/x/oauth2 v0.12.0 h1:smVPGxink+n1ZI5pkQa8y6fZT0RW0MgCO5bFpepy4B4=
6565
golang.org/x/oauth2 v0.12.0/go.mod h1:A74bZ3aGXgCY0qaIC9Ahg6Lglin4AMAco8cIv9baba4=
66-
golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E=
67-
golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y=
66+
golang.org/x/sync v0.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE=
67+
golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
6868
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
6969
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
7070
golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE=

0 commit comments

Comments
 (0)