Skip to content

Commit 72f1617

Browse files
committed
Bump Go module to v5
Moving from Go module v4 to v5 prepares us for public releases. Move done using gomove [1] as with the v3 and v4 moves. [1] https://github.com/KSubedi/gomove Signed-off-by: Matt Heon <[email protected]>
1 parent 4fc52ed commit 72f1617

File tree

902 files changed

+2431
-2431
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

902 files changed

+2431
-2431
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,14 @@ ifdef SOURCE_DATE_EPOCH
109109
else
110110
BUILD_INFO ?= $(shell date "+$(DATE_FMT)")
111111
endif
112-
LIBPOD := ${PROJECT}/v4/libpod
112+
LIBPOD := ${PROJECT}/v5/libpod
113113
GOFLAGS ?= -trimpath
114114
LDFLAGS_PODMAN ?= \
115115
$(if $(GIT_COMMIT),-X $(LIBPOD)/define.gitCommit=$(GIT_COMMIT),) \
116116
$(if $(BUILD_INFO),-X $(LIBPOD)/define.buildInfo=$(BUILD_INFO),) \
117117
-X $(LIBPOD)/config._installPrefix=$(PREFIX) \
118118
-X $(LIBPOD)/config._etcDir=$(ETCDIR) \
119-
-X $(PROJECT)/v4/pkg/systemd/quadlet._binDir=$(BINDIR) \
119+
-X $(PROJECT)/v5/pkg/systemd/quadlet._binDir=$(BINDIR) \
120120
-X github.com/containers/common/pkg/config.additionalHelperBinariesDir=$(HELPER_BINARIES_DIR)\
121121
$(EXTRA_LDFLAGS)
122122
LDFLAGS_PODMAN_STATIC ?= \

cmd/podman-wslkerninst/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"time"
1111
"unsafe"
1212

13-
"github.com/containers/podman/v4/pkg/machine/wsl/wutil"
13+
"github.com/containers/podman/v5/pkg/machine/wsl/wutil"
1414
"github.com/sirupsen/logrus"
1515
"golang.org/x/sys/windows/svc/eventlog"
1616
)

cmd/podman/auto-update.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import (
99
"github.com/containers/common/pkg/completion"
1010
"github.com/containers/common/pkg/report"
1111
"github.com/containers/image/v5/types"
12-
"github.com/containers/podman/v4/cmd/podman/common"
13-
"github.com/containers/podman/v4/cmd/podman/registry"
14-
"github.com/containers/podman/v4/pkg/domain/entities"
15-
"github.com/containers/podman/v4/pkg/errorhandling"
12+
"github.com/containers/podman/v5/cmd/podman/common"
13+
"github.com/containers/podman/v5/cmd/podman/registry"
14+
"github.com/containers/podman/v5/pkg/domain/entities"
15+
"github.com/containers/podman/v5/pkg/errorhandling"
1616
"github.com/spf13/cobra"
1717
)
1818

cmd/podman/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package main
22

3-
import "github.com/containers/podman/v4/libpod/define"
3+
import "github.com/containers/podman/v5/libpod/define"
44

55
type clientInfo struct {
66
OSArch string `json:"OS"`

cmd/podman/client_supported.go

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

55
import (
6-
"github.com/containers/podman/v4/pkg/machine/provider"
6+
"github.com/containers/podman/v5/pkg/machine/provider"
77
)
88

99
func getProvider() (string, error) {

cmd/podman/common/build.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ import (
2121
"github.com/containers/image/v5/types"
2222
encconfig "github.com/containers/ocicrypt/config"
2323
enchelpers "github.com/containers/ocicrypt/helpers"
24-
"github.com/containers/podman/v4/cmd/podman/registry"
25-
"github.com/containers/podman/v4/cmd/podman/utils"
26-
"github.com/containers/podman/v4/pkg/domain/entities"
27-
"github.com/containers/podman/v4/pkg/env"
24+
"github.com/containers/podman/v5/cmd/podman/registry"
25+
"github.com/containers/podman/v5/cmd/podman/utils"
26+
"github.com/containers/podman/v5/pkg/domain/entities"
27+
"github.com/containers/podman/v5/pkg/env"
2828
"github.com/sirupsen/logrus"
2929
"github.com/spf13/cobra"
3030
)

cmd/podman/common/completion.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ import (
1616
"github.com/containers/common/pkg/config"
1717
"github.com/containers/common/pkg/ssh"
1818
"github.com/containers/image/v5/pkg/sysregistriesv2"
19-
"github.com/containers/podman/v4/cmd/podman/registry"
20-
"github.com/containers/podman/v4/libpod/define"
21-
"github.com/containers/podman/v4/libpod/events"
22-
"github.com/containers/podman/v4/pkg/domain/entities"
23-
"github.com/containers/podman/v4/pkg/inspect"
24-
"github.com/containers/podman/v4/pkg/signal"
25-
systemdDefine "github.com/containers/podman/v4/pkg/systemd/define"
26-
"github.com/containers/podman/v4/pkg/util"
19+
"github.com/containers/podman/v5/cmd/podman/registry"
20+
"github.com/containers/podman/v5/libpod/define"
21+
"github.com/containers/podman/v5/libpod/events"
22+
"github.com/containers/podman/v5/pkg/domain/entities"
23+
"github.com/containers/podman/v5/pkg/inspect"
24+
"github.com/containers/podman/v5/pkg/signal"
25+
systemdDefine "github.com/containers/podman/v5/pkg/systemd/define"
26+
"github.com/containers/podman/v5/pkg/util"
2727
securejoin "github.com/cyphar/filepath-securejoin"
2828
"github.com/spf13/cobra"
2929
)

cmd/podman/common/completion_test.go

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

6-
"github.com/containers/podman/v4/cmd/podman/common"
6+
"github.com/containers/podman/v5/cmd/podman/common"
77
"github.com/spf13/cobra"
88
"github.com/stretchr/testify/assert"
99
)

cmd/podman/common/create.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
"github.com/containers/common/pkg/auth"
77
"github.com/containers/common/pkg/completion"
88
commonFlag "github.com/containers/common/pkg/flag"
9-
"github.com/containers/podman/v4/cmd/podman/registry"
10-
"github.com/containers/podman/v4/libpod/define"
11-
"github.com/containers/podman/v4/pkg/domain/entities"
9+
"github.com/containers/podman/v5/cmd/podman/registry"
10+
"github.com/containers/podman/v5/libpod/define"
11+
"github.com/containers/podman/v5/pkg/domain/entities"
1212
"github.com/spf13/cobra"
1313
)
1414

cmd/podman/common/create_opts.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package common
22

33
import (
4-
"github.com/containers/podman/v4/cmd/podman/registry"
5-
"github.com/containers/podman/v4/libpod/define"
6-
"github.com/containers/podman/v4/pkg/domain/entities"
4+
"github.com/containers/podman/v5/cmd/podman/registry"
5+
"github.com/containers/podman/v5/libpod/define"
6+
"github.com/containers/podman/v5/pkg/domain/entities"
77
)
88

99
func ulimits() []string {

0 commit comments

Comments
 (0)