Skip to content

Commit fde6d08

Browse files
authored
enable semantic import versioning for go mod compat (#233)
1 parent c97f9dd commit fde6d08

File tree

10 files changed

+68
-103
lines changed

10 files changed

+68
-103
lines changed

cmd/release.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"github.com/spf13/cobra"
99
"k8s.io/helm/pkg/helm"
1010

11-
"github.com/databus23/helm-diff/diff"
12-
"github.com/databus23/helm-diff/manifest"
11+
"github.com/databus23/helm-diff/v3/diff"
12+
"github.com/databus23/helm-diff/v3/manifest"
1313
)
1414

1515
type release struct {

cmd/revision.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"github.com/spf13/cobra"
1010
"k8s.io/helm/pkg/helm"
1111

12-
"github.com/databus23/helm-diff/diff"
13-
"github.com/databus23/helm-diff/manifest"
12+
"github.com/databus23/helm-diff/v3/diff"
13+
"github.com/databus23/helm-diff/v3/manifest"
1414
)
1515

1616
type revision struct {

cmd/rollback.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"github.com/spf13/cobra"
1010
"k8s.io/helm/pkg/helm"
1111

12-
"github.com/databus23/helm-diff/diff"
13-
"github.com/databus23/helm-diff/manifest"
12+
"github.com/databus23/helm-diff/v3/diff"
13+
"github.com/databus23/helm-diff/v3/manifest"
1414
)
1515

1616
type rollback struct {

cmd/upgrade.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"github.com/spf13/cobra"
1010
"k8s.io/helm/pkg/helm"
1111

12-
"github.com/databus23/helm-diff/diff"
13-
"github.com/databus23/helm-diff/manifest"
12+
"github.com/databus23/helm-diff/v3/diff"
13+
"github.com/databus23/helm-diff/v3/manifest"
1414
)
1515

1616
type diffCmd struct {

diff/diff.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"k8s.io/apimachinery/pkg/util/yaml"
1616
"k8s.io/client-go/kubernetes/scheme"
1717

18-
"github.com/databus23/helm-diff/manifest"
18+
"github.com/databus23/helm-diff/v3/manifest"
1919
)
2020

2121
// Manifests diff on manifests

diff/diff_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"github.com/mgutz/ansi"
99
"github.com/stretchr/testify/require"
1010

11-
"github.com/databus23/helm-diff/manifest"
11+
"github.com/databus23/helm-diff/v3/manifest"
1212
)
1313

1414
var text1 = "" +

go.mod

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/databus23/helm-diff
1+
module github.com/databus23/helm-diff/v3
22

33
go 1.14
44

@@ -10,14 +10,8 @@ require (
1010
github.com/cyphar/filepath-securejoin v0.2.2 // indirect
1111
github.com/ghodss/yaml v1.0.0
1212
github.com/gobwas/glob v0.2.3 // indirect
13-
github.com/gogo/protobuf v1.3.1 // indirect
14-
github.com/golang/protobuf v1.4.2 // indirect
15-
github.com/google/gofuzz v1.1.0 // indirect
16-
github.com/google/uuid v1.1.1 // indirect
1713
github.com/huandu/xstrings v1.3.2 // indirect
1814
github.com/imdario/mergo v0.3.10 // indirect
19-
github.com/inconshreveable/mousetrap v1.0.0 // indirect
20-
github.com/json-iterator/go v1.1.10 // indirect
2115
github.com/mattn/go-colorable v0.1.7 // indirect
2216
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d
2317
github.com/mitchellh/copystructure v1.0.0 // indirect
@@ -26,17 +20,10 @@ require (
2620
github.com/spf13/cobra v1.0.0
2721
github.com/spf13/pflag v1.0.5
2822
github.com/stretchr/testify v1.5.1
29-
golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899 // indirect
30-
golang.org/x/net v0.0.0-20200707034311-ab3426394381 // indirect
31-
golang.org/x/sys v0.0.0-20200724161237-0e2f3a69832c // indirect
32-
golang.org/x/text v0.3.3 // indirect
33-
google.golang.org/genproto v0.0.0-20200726014623-da3ae01ef02d // indirect
3423
google.golang.org/grpc v1.30.0
35-
google.golang.org/protobuf v1.25.0 // indirect
36-
gopkg.in/inf.v0 v0.9.1 // indirect
3724
gopkg.in/yaml.v2 v2.3.0
3825
k8s.io/api v0.18.6
3926
k8s.io/apimachinery v0.18.6
40-
k8s.io/client-go v11.0.0+incompatible
27+
k8s.io/client-go v0.18.6
4128
k8s.io/helm v2.16.9+incompatible
4229
)

go.sum

Lines changed: 54 additions & 76 deletions
Large diffs are not rendered by default.

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"os"
55

6-
"github.com/databus23/helm-diff/cmd"
6+
"github.com/databus23/helm-diff/v3/cmd"
77
)
88

99
func main() {

manifest/parse_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/stretchr/testify/require"
99

10-
. "github.com/databus23/helm-diff/manifest"
10+
. "github.com/databus23/helm-diff/v3/manifest"
1111
)
1212

1313
func foundObjects(result map[string]*MappingResult) []string {

0 commit comments

Comments
 (0)