Skip to content

Commit

Permalink
Merge the api module back into the main module
Browse files Browse the repository at this point in the history
Go dependencies are handled by package, not by module, and per-package
splits are handled correctly. Having a separate package makes it
easier to track dependencies, but it can cause friction when handling
sub-module updates, and it leads to difficulties with go install (see
<golang/go#44840>).

Signed-off-by: Stephen Kitt <[email protected]>
  • Loading branch information
skitt committed Dec 7, 2021
1 parent 6df8f07 commit 8e6b36a
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 431 deletions.
4 changes: 0 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ require (
github.com/prometheus/client_golang v1.11.0
github.com/submariner-io/admiral v0.12.0-m0
github.com/submariner-io/shipyard v0.12.0-m0
github.com/submariner-io/submariner/pkg/apis v0.0.0-20210816112556-6e4bb78fab88
github.com/uw-labs/lichen v0.1.4
github.com/vishvananda/netlink v1.1.0
golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e // indirect
Expand Down Expand Up @@ -50,6 +49,3 @@ replace (
// CVE-2020-14040
golang.org/x/text => golang.org/x/text v0.3.6
)

// Modules in this project
replace github.com/submariner-io/submariner/pkg/apis => ./pkg/apis
1 change: 0 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,6 @@ github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7J
github.com/onsi/gomega v1.8.1/go.mod h1:Ho0h+IUsWyvy1OpqCwxlQ/21gkhVunqlU8fDGcoTdcA=
github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo=
github.com/onsi/gomega v1.10.2/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo=
github.com/onsi/gomega v1.15.0/go.mod h1:cIuvLEne0aoVhAgh/O6ac0Op8WWw9H6eYCriF+tEHG0=
github.com/onsi/gomega v1.16.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY=
github.com/onsi/gomega v1.17.0 h1:9Luw4uT5HTjHTN8+aNcSThgH1vdXnmdJ8xIfZ4wyTRE=
github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY=
Expand Down
178 changes: 0 additions & 178 deletions pkg/apis/LICENSE

This file was deleted.

11 changes: 0 additions & 11 deletions pkg/apis/go.mod

This file was deleted.

Loading

0 comments on commit 8e6b36a

Please sign in to comment.