Commit Graph

370 Commits (4afc731c198b1a7d97b02a69efe1b10fc65c89f2)
 

Author SHA1 Message Date
Jeremy Rand 4afc731c19
Re-order imports
Reported by gofmt.
2 years ago
Jeremy Rand 39b9f2042c
gofmt -s util 2 years ago
Jeremy Rand e34e684cb6
Merge namecoin/ncdns#164: Cirrus: Disable nosnakecase linter
d217639620 Cirrus: Disable nosnakecase linter (Jeremy Rand)

Pull request description:

Top commit has no ACKs.

Tree-SHA512: 9c7cd2a13698c188dc5b671de2b89d3d1ee52ef52ee9f58ebd48dede5626fae8a152aa2c8f9d44cbdc38d85a3dd17c698b4fcae8537d107cfa5b76fbc22f039c
2 years ago
Jeremy Rand d217639620
Cirrus: Disable nosnakecase linter 2 years ago
Jeremy Rand c89411628e
Merge namecoin/ncdns#163: Switch to upstream btcd
f3549bd01c Cirrus: Require "Modules Off" tasks to succeed (Jeremy Rand)
328ccabc66 Switch to upstream btcd (Jeremy Rand)

Pull request description:

  The last outstanding patch was merged upstream.

  Fixes https://github.com/namecoin/ncdns/issues/162

Top commit has no ACKs.

Tree-SHA512: 1ba3af16b81602e7bb3aba64feef16842555f4daa827023cb41b39258a5e28844fb9905c5758492a7f1477b4ac9e4da7c3566dc999b1725acf412630ae035a65
2 years ago
Jeremy Rand f3549bd01c
Cirrus: Require "Modules Off" tasks to succeed
The btcd issue that made them non-mandatory is resolved.
2 years ago
Jeremy Rand 328ccabc66
Switch to upstream btcd
The last outstanding patch was merged upstream.
2 years ago
Jeremy Rand b60af12ffc
Merge namecoin/ncdns#159: Cirrus: Fix certinject modules
bed8e5b343 Cirrus: Fix certinject modules (Jeremy Rand)

Pull request description:

  certinject no longer bundles `go.mod` in Git.

Top commit has no ACKs.

Tree-SHA512: b945947ea6e3b863a95daae3baac802596219db28d32fddde49780418449a883c7c683fd65a7a7e475febb6fb07a84d0f6853497baafadb606db9f895780a83d
2 years ago
Jeremy Rand bed8e5b343
Cirrus: Fix certinject modules
certinject no longer bundles go.mod in Git.
2 years ago
Jeremy Rand bed8c7d921
Merge namecoin/ncdns#158: Disable some unwanted Cirrus checks
37d7d99c50 Make "Modules Off" tasks non-mandatory until btcd is upgraded (Jeremy Rand)
9c7589d64f Suppress errchkjson false positive (Jeremy Rand)
7e46b7d256 Disable execinquery linter (Jeremy Rand)
1696838438 Mark nonamedreturns linter as non-mandatory (Jeremy Rand)
2c54918935 Disable exhaustruct linter (Jeremy Rand)

Pull request description:

Top commit has no ACKs.

Tree-SHA512: b6435bd770864f2db51ca6ca391d327b2bfa12cf632bc61efa80fda8dfa78c8fd2e9ecdbc8357ac05a77e542b7a6c7fa3a229b318da6e24d4bf41173f0dcc543
2 years ago
Jeremy Rand 37d7d99c50
Make "Modules Off" tasks non-mandatory until btcd is upgraded 2 years ago
Jeremy Rand 9c7589d64f
Suppress errchkjson false positive 2 years ago
Jeremy Rand 7e46b7d256
Disable execinquery linter 2 years ago
Jeremy Rand 1696838438
Mark nonamedreturns linter as non-mandatory 2 years ago
Jeremy Rand 2c54918935
Disable exhaustruct linter 2 years ago
Jeremy Rand 7a7a25ddf1
Merge namecoin/ncdns#157: Fix installing gox when Go modules enabled
7b0a02aa21 Fix installing gox when Go modules enabled (Jeremy Rand)

Pull request description:

Top commit has no ACKs.

Tree-SHA512: f8ab08c0cc050405ad786accc3b4de8d133bf815a7fd17f58f60c634937de9033f8382375746e2cb9f8b15e798d2c70402d3d1242bd9f11ea65e4cbab0bf14b3
2 years ago
Jeremy Rand 7b0a02aa21
Fix installing gox when Go modules enabled 2 years ago
Jeremy Rand 4a96c3d4bb
Merge #152: Cirrus: Mark errcheck linter as mandatory
7f7467ae1f Log HTTP server errors (Jeremy Rand)
30b48de356 Explicitly suppress error returned by DomainValueHookTLS (Jeremy Rand)
04193f251e Explicitly suppress error returned by parseImport (Jeremy Rand)
d4e1513d3d Cirrus: Mark errcheck linter as mandatory (Jeremy Rand)

Pull request description:

  Also fix all warnings reported by that linter.

Top commit has no ACKs.

Tree-SHA512: cd4e507b70468d14f317e9a41404c2d267baf8ac75b851f305e558f3c03645aa50699311964fe39999bf923ebb511e0de4dcfd078d599f2e023900d5b47f8e2d
2 years ago
Jeremy Rand 7f7467ae1f
Log HTTP server errors 2 years ago
Jeremy Rand 30b48de356
Explicitly suppress error returned by DomainValueHookTLS
This error is already logged, so suppresing it is not a bug.  Making the
suppression explicit fixes a static analysis warning.
2 years ago
Jeremy Rand 04193f251e
Explicitly suppress error returned by parseImport
This error is already logged by parseImportImpl, so suppresing it is not
a bug.  Making the suppression explicit fixes a static analysis warning.
2 years ago
Jeremy Rand d4e1513d3d
Cirrus: Mark errcheck linter as mandatory 2 years ago
Jeremy Rand f7e011b256
Merge #151: Cirrus: Fix varnamelen linter warnings
f6d956b5ec Cirrus: Mark varnamelen as non-mandatory. (Jeremy Rand)
f4fcb01220 Fix varnamelen warning in SplitDomainByFloatingAnchor (Jeremy Rand)
0eb6f7c761 Fix comment typo (Jeremy Rand)
524d5ba93b Cirrus: Whitelist type assertions in varnamelen linter (Jeremy Rand)

Pull request description:

  Also disable `varnamelen` linter pending an upstream fix so that the Cirrus build stops failing.

Top commit has no ACKs.

Tree-SHA512: f01135d543d3af4616e0a4adda88ed7bf94853a7314960fdc53f03810880fecda1a96ff6372854053ce2915ef07c98d11db8541262544969d38d97046ff6eadb
2 years ago
Jeremy Rand f6d956b5ec
Cirrus: Mark varnamelen as non-mandatory.
It can be re-enabled after golangci-lint v1.44 is released, which
includes a fix for https://github.com/blizzy78/varnamelen/issues/1 .
2 years ago
Jeremy Rand f4fcb01220
Fix varnamelen warning in SplitDomainByFloatingAnchor 2 years ago
Jeremy Rand 0eb6f7c761
Fix comment typo 2 years ago
Jeremy Rand 524d5ba93b
Cirrus: Whitelist type assertions in varnamelen linter 2 years ago
Jeremy Rand 1739b886ab
Merge #149: Use new certinject package
9c865846be Use new certinject package (Jeremy Rand)

Pull request description:

  The following defaults have unfortunately changed as a result, and will need to be set in ncdns.conf:

  * `capi.physical-store`
  * `capi.set-magic-name`
  * `capi.expirable-magic-name`

Top commit has no ACKs.

Tree-SHA512: 70155a9311c0348781d7ec3b2fc5265deacaec64d3e29ebd856a850f6d3b5560572773dc7dedcab871d53db53719dac24ba7adcb40350499ddef1d00ffbace03
2 years ago
Jeremy Rand 9c865846be
Use new certinject package
The following defaults have unfortunately changed as a result, and will
need to be set in ncdns.conf:

capi.physical-store
capi.set-magic-name
capi.expirable-magic-name
2 years ago
Jeremy Rand 275374c1c2
Merge #150: Add Go 1.17-style build constraints
3080d1c892 Add Go 1.17-style build constraints (Jeremy Rand)

Pull request description:

  Fixes some gofmt warnings.

Top commit has no ACKs.

Tree-SHA512: 764f4be61b5c07d590998df932df7f4928a509cd7b4146292a4ca3daac3e80114c306abd6d8dd79d1930be31918ce6540f8582122749a1a1b052a3bb302cbbeb
2 years ago
Jeremy Rand 3080d1c892
Add Go 1.17-style build constraints
Fixes some gofmt warnings.
2 years ago
Jeremy Rand 2a486311b0
Merge #142: readme: specify module path in go mod init command
352b173e13 Cirrus: Specify module path in "go mod init" (Jeremy Rand)
db018882ed readme: specify module path in go mod init command (Jeremy Rand)

Pull request description:

  Fixes error:

  	go: cannot determine module path for source directory
  	/home/redfish/foo/ncdns (outside GOPATH, module path must be
  	specified)

  Fixes #141

Top commit has no ACKs.

Tree-SHA512: 06368a0a936efdea2aa0fe44847459d3b5f61fc440dc977f7fbd302fc9fa14c3555ffbdc7cd41eeb570748032f3a2e9db0e563315658d42685c2b4429599c6ad
3 years ago
Jeremy Rand 352b173e13
Cirrus: Specify module path in "go mod init"
This makes Cirrus match the README.
3 years ago
Jeremy Rand db018882ed
readme: specify module path in go mod init command
Fixes error:

	go: cannot determine module path for source directory
	/home/redfish/foo/ncdns (outside GOPATH, module path must be
	specified)

Fixes #141
3 years ago
Jeremy Rand 86ccd0cbbc
Merge #148: Cirrus: Also run unit tests on Fedora
5e6b643ad6 Fix go-systemd import with Go modules (Jeremy Rand)
468f40c70e Cirrus: Fix nctestsuite when GOPATH not set (Jeremy Rand)
bb369d083c Cirrus: Fix error when GOPATH is unset (Jeremy Rand)
3db1ee0c33 Cirrus: Add Fedora Unit Tests task (Jeremy Rand)
a0eb8a7034 Cirrus: Factor out container image for Unit Test task (Jeremy Rand)

Pull request description:

  Requested by Stuart Gathman for Fedora packaging.

Top commit has no ACKs.

Tree-SHA512: c09b0d7505821abd721c768cf9a13da48566004937087e0ff0eef7ab78ecf337dbc4935b7e64f3a9783a8991e23432813ac543b3578e2b4f9c34f7b7e65991e0
3 years ago
Jeremy Rand 5e6b643ad6
Fix go-systemd import with Go modules
See https://github.com/coreos/go-systemd/issues/321
3 years ago
Jeremy Rand 468f40c70e
Cirrus: Fix nctestsuite when GOPATH not set 3 years ago
Jeremy Rand bb369d083c
Cirrus: Fix error when GOPATH is unset 3 years ago
Jeremy Rand 3db1ee0c33
Cirrus: Add Fedora Unit Tests task 3 years ago
Jeremy Rand a0eb8a7034
Cirrus: Factor out container image for Unit Test task 3 years ago
Jeremy Rand 134ab11e4c
Merge #147: Web server: use short if syntax
5f9cf7f18f Web server: use short if syntax (Jeremy Rand)

Pull request description:

  Fixes warning from `ifshort` linter.

Top commit has no ACKs.

Tree-SHA512: 9ae71546ffc6bb56fd5032d1b393a173f86b3e609b8226838ac4d91f736a6acfa85dd57cb5b40ef592ba5bd9c23420dc8c4d9d083f4b6d64878cfaab8887fd58
3 years ago
Jeremy Rand 5f9cf7f18f
Web server: use short if syntax
Fixes warning from "ifshort" linter
3 years ago
Jeremy Rand c3b9475c86
Merge #146: Repo split: remove tlsrestrictchromium
431d2571bf Repo split: remove tlsrestrictchromium (Jeremy Rand)

Pull request description:

Top commit has no ACKs.

Tree-SHA512: 9f9d20441bfcef8c6f49dfa78820ddacce71ee1d98d2d0700f3d4aa4e24994325aaf987cd2627f229483a0f474e1cf521dc970dca3a8de17674427f1a3aa59d8
3 years ago
Jeremy Rand 431d2571bf
Repo split: remove tlsrestrictchromium 3 years ago
Jeremy Rand 1086a5b4c6
Merge #145: Cirrus: Disable some unrecommended linters
8c782e83bb Cirrus: Simplify Unit Test and Cross Compile task names (Jeremy Rand)
0ebd3588d1 Cirrus: Simplify Lint task names (Jeremy Rand)
7c7265054b Cirrus: Disable gomoddirectives linter if Go modules are disabled (Jeremy Rand)
348ddfd191 Cirrus: Disable gomodguard linter if Go modules are disabled (Jeremy Rand)
47f7861075 Cirrus: Disable interfacer linter (Jeremy Rand)

Pull request description:

Top commit has no ACKs.

Tree-SHA512: 8b7c60a34d6d93e805209089cef367cc0b0c7e960613a7089c579205cef88645d670227c5ffc16f68d9a1cc203b6a2f364208b84cd38be39dd117f275a7a13b1
3 years ago
Jeremy Rand 8c782e83bb
Cirrus: Simplify Unit Test and Cross Compile task names 3 years ago
Jeremy Rand 0ebd3588d1
Cirrus: Simplify Lint task names 3 years ago
Jeremy Rand 95064452ee
Merge #144: Add COPYING file (GPLv3)
6ac5d44c59 Add COPYING file (GPLv3) (Jeremy Rand)

Pull request description:

  Requested by Stuart Gathman for Fedora packaging.

Top commit has no ACKs.

Tree-SHA512: 338b2ca831301dcb5afde817366f3b9e00df5951ead5cd53fc9291ab3f69a318b87b6b73228bd399c03728bb9fcb657856454d6622c8a919b9d863376f120677
3 years ago
Jeremy Rand 7c7265054b
Cirrus: Disable gomoddirectives linter if Go modules are disabled
This linter can't run without Go modules.
3 years ago
Jeremy Rand 348ddfd191
Cirrus: Disable gomodguard linter if Go modules are disabled
This linter can't run without Go modules.
3 years ago