2
0
mirror of https://github.com/namecoin/ncdns synced 2024-11-16 00:13:01 +00:00
Commit Graph

361 Commits

Author SHA1 Message Date
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
2022-05-11 07:57:39 +00:00
Jeremy Rand
37d7d99c50
Make "Modules Off" tasks non-mandatory until btcd is upgraded 2022-05-11 07:40:36 +00:00
Jeremy Rand
9c7589d64f
Suppress errchkjson false positive 2022-05-11 07:27:39 +00:00
Jeremy Rand
7e46b7d256
Disable execinquery linter 2022-05-11 07:10:34 +00:00
Jeremy Rand
1696838438
Mark nonamedreturns linter as non-mandatory 2022-05-11 07:06:27 +00:00
Jeremy Rand
2c54918935
Disable exhaustruct linter 2022-05-11 06:49:09 +00:00
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
2022-05-11 05:29:29 +00:00
Jeremy Rand
7b0a02aa21
Fix installing gox when Go modules enabled 2022-05-11 05:12:09 +00:00
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
2021-12-24 04:15:51 +00:00
Jeremy Rand
7f7467ae1f
Log HTTP server errors 2021-12-24 02:40:16 +00:00
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.
2021-12-24 02:30:07 +00:00
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.
2021-12-24 02:22:53 +00:00
Jeremy Rand
d4e1513d3d
Cirrus: Mark errcheck linter as mandatory 2021-12-24 02:10:35 +00:00
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
2021-12-24 02:02:15 +00:00
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 .
2021-12-24 01:40:03 +00:00
Jeremy Rand
f4fcb01220
Fix varnamelen warning in SplitDomainByFloatingAnchor 2021-12-24 01:34:54 +00:00
Jeremy Rand
0eb6f7c761
Fix comment typo 2021-12-24 01:05:13 +00:00
Jeremy Rand
524d5ba93b
Cirrus: Whitelist type assertions in varnamelen linter 2021-12-24 00:57:32 +00:00
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
2021-12-24 00:00:34 +00:00
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
2021-12-15 16:28:59 +00:00
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
2021-12-15 14:26:50 +00:00
Jeremy Rand
3080d1c892
Add Go 1.17-style build constraints
Fixes some gofmt warnings.
2021-12-15 13:12:17 +00:00
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
2021-06-18 00:36:13 +00:00
Jeremy Rand
352b173e13
Cirrus: Specify module path in "go mod init"
This makes Cirrus match the README.
2021-06-18 00:12:36 +00:00
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
2021-06-18 00:07:10 +00:00
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
2021-06-17 07:40:16 +00:00
Jeremy Rand
5e6b643ad6
Fix go-systemd import with Go modules
See https://github.com/coreos/go-systemd/issues/321
2021-06-17 07:14:19 +00:00
Jeremy Rand
468f40c70e
Cirrus: Fix nctestsuite when GOPATH not set 2021-06-17 05:32:21 +00:00
Jeremy Rand
bb369d083c
Cirrus: Fix error when GOPATH is unset 2021-06-17 04:41:08 +00:00
Jeremy Rand
3db1ee0c33
Cirrus: Add Fedora Unit Tests task 2021-06-17 04:37:54 +00:00
Jeremy Rand
a0eb8a7034
Cirrus: Factor out container image for Unit Test task 2021-06-17 04:06:38 +00:00
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
2021-06-17 03:52:29 +00:00
Jeremy Rand
5f9cf7f18f
Web server: use short if syntax
Fixes warning from "ifshort" linter
2021-06-17 03:35:12 +00:00
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
2021-06-17 02:28:23 +00:00
Jeremy Rand
431d2571bf
Repo split: remove tlsrestrictchromium 2021-06-17 01:19:51 +00:00
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
2021-06-17 00:31:54 +00:00
Jeremy Rand
8c782e83bb
Cirrus: Simplify Unit Test and Cross Compile task names 2021-06-17 00:16:07 +00:00
Jeremy Rand
0ebd3588d1
Cirrus: Simplify Lint task names 2021-06-17 00:07:02 +00:00
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
2021-06-16 23:52:36 +00:00
Jeremy Rand
7c7265054b
Cirrus: Disable gomoddirectives linter if Go modules are disabled
This linter can't run without Go modules.
2021-06-16 23:42:52 +00:00
Jeremy Rand
348ddfd191
Cirrus: Disable gomodguard linter if Go modules are disabled
This linter can't run without Go modules.
2021-06-16 23:40:25 +00:00
Jeremy Rand
47f7861075
Cirrus: Disable interfacer linter
Deprecated by golangci-linter since v1.38.0.
2021-06-16 23:34:02 +00:00
Jeremy Rand
8cc2c19bdb
Merge #143: CI: Whitelist go.mod replace x509-compressed
4b128a4904 CI: Whitelist go.mod replace x509-compressed (Jeremy Rand)

Pull request description:

  Fixes a warning from gomoddirectives linter.

Top commit has no ACKs.

Tree-SHA512: dd0e4c4bbfc9693cab8c21cbbf92540f4fcb72e1a77c96f91873b82ae46847bdd5e77f02718c28a9acef0a3c1fa3118092c8ea8501861a0a8b293b600002ddf4
2021-06-16 23:18:55 +00:00
Jeremy Rand
6ac5d44c59
Add COPYING file (GPLv3)
Requested by Stuart Gathman for Fedora packaging.
2021-06-16 22:49:43 +00:00
Jeremy Rand
4b128a4904
CI: Whitelist go.mod replace x509-compressed
Fixes a warning from gomoddirectives linter.
2021-06-01 14:37:08 +00:00
Jeremy Rand
f8e40887fb
Merge #140: Remove generate_nmc_cert
8fade28964 Cirrus: Mark forcetypeassert,govet,nilerr,wastedassign linters as non-mandatory (Jeremy Rand)
bd4a53b2ec Mark nolintlint linter as mandatory (Jeremy Rand)
ae538623c3 Mark gofmt linter as mandatory (Jeremy Rand)
e56fdfedb5 Remove generate_nmc_cert (Jeremy Rand)

Pull request description:

  It has been moved to its own repo.

Top commit has no ACKs.

Tree-SHA512: 3c9571bc571f7c0ffecfe26feb59cf2c1daece1106a37263ead8578efb471286e3d8030b6479bcea12ffdf2c2fcffa0f5a3266cad96903efa9368b86c3382aa4
2021-03-14 07:42:57 +00:00
Jeremy Rand
8fade28964
Cirrus: Mark forcetypeassert,govet,nilerr,wastedassign linters as non-mandatory 2021-03-14 07:30:04 +00:00
Jeremy Rand
bd4a53b2ec
Mark nolintlint linter as mandatory 2021-03-14 07:20:17 +00:00
Jeremy Rand
ae538623c3
Mark gofmt linter as mandatory 2021-03-14 07:18:42 +00:00
Jeremy Rand
e56fdfedb5
Remove generate_nmc_cert
It has been moved to its own repo.
2021-03-14 07:12:50 +00:00