Compare commits

...

7 Commits

Author SHA1 Message Date
Jeremy Rand 5adda8d472
Merge namecoin/ncdns#171: Cirrus: Disable gci for New task
093d77f527 Cirrus: Disable gci for New task (Jeremy Rand)
cdfc933805 GolangCI: Add gci config (Jeremy Rand)

Pull request description:

  gci seems to crash while processing this repo, for reasons I don't understand.

Top commit has no ACKs.

Tree-SHA512: 4421d3a47b5b394416cb7b5ef8428e558d713a8827a7a4587ac67fa0375c5334f191bf2f9b576b7cbc589964cf47583191e66edd38e7c2555791c5d8144071e3
2 years ago
Jeremy Rand 093d77f527
Cirrus: Disable gci for New task 2 years ago
Jeremy Rand cdfc933805
GolangCI: Add gci config 2 years ago
Jeremy Rand 3a239526ff
Merge namecoin/ncdns#170: Fix go-systemd version in certinject
807e70c94f Fix go-systemd version in certinject (Jeremy Rand)

Pull request description:

  Fixes the unit tests on Fedora.

Top commit has no ACKs.

Tree-SHA512: c13b92bd0ec183ae9861aed69adf844617d761c56c7fe8f08558d8e8dad7e66e975be43c88489d8c098b8b51b69d0ba3bf8ac70cada5e73012abcfeed2900433
2 years ago
Jeremy Rand 661c387352
Merge namecoin/ncdns#169: cmd/ncdumpzone: Sort imports
a15c87b5d9 cmd/ncdumpzone: Sort imports (Jeremy Rand)

Pull request description:

  Reported by gofmt.

Top commit has no ACKs.

Tree-SHA512: f0bd813ccddcbe618c7160b76b4d0cfc626ad2519e40ef7b09bd8d0a17439a5e72e09d4831e33e26de587437fb9945d4efea2d40e59fa14c51f0b12833bacf02
2 years ago
Jeremy Rand 807e70c94f
Fix go-systemd version in certinject
Fixes the unit tests on Fedora.
2 years ago
Jeremy Rand a15c87b5d9
cmd/ncdumpzone: Sort imports
Reported by gofmt.
2 years ago

@ -31,6 +31,7 @@ task:
- git clone https://github.com/namecoin/certinject.git
- cd certinject
- go mod init github.com/namecoin/certinject
- go mod edit -replace github.com/coreos/go-systemd=github.com/coreos/go-systemd/v22@latest
- go mod tidy
- go generate ./...
- go mod tidy
@ -57,7 +58,8 @@ task:
matrix:
- name: "Go Lint $GOOS New$MODULES_NAME"
env:
GOLANGCI_ARGS: "--new-from-rev=HEAD~"
# gci seems to be buggy with --new-from-rev=
GOLANGCI_ARGS: "--new-from-rev=HEAD~ --disable=gci"
- name: "Go Lint $GOOS Mandatory$MODULES_NAME"
env:
# TODO: Re-enable dupword after ncdns issue #166 is fixed.
@ -125,6 +127,7 @@ task:
- git clone https://github.com/namecoin/certinject.git
- cd certinject
- go mod init github.com/namecoin/certinject
- go mod edit -replace github.com/coreos/go-systemd=github.com/coreos/go-systemd/v22@latest
- go mod tidy
- go generate ./...
- go mod tidy
@ -195,6 +198,7 @@ task:
- git clone https://github.com/namecoin/certinject.git
- cd certinject
- go mod init github.com/namecoin/certinject
- go mod edit -replace github.com/coreos/go-systemd=github.com/coreos/go-systemd/v22@latest
- go mod tidy
- go generate ./...
- go mod tidy

@ -1,4 +1,9 @@
linters-settings:
gci:
sections:
- standard
- default
- prefix(github.com/namecoin)
goimports:
local-prefixes: "github.com/namecoin"
gomoddirectives:

@ -3,8 +3,8 @@ package main
import (
"os"
"github.com/hlandau/xlog"
"github.com/btcsuite/btcd/rpcclient"
"github.com/hlandau/xlog"
"gopkg.in/hlandau/easyconfig.v1"
"gopkg.in/hlandau/easyconfig.v1/cflag"

Loading…
Cancel
Save