Skip to content

Commit 383de44

Browse files
committed
chore: upgrade the DLE module version to v3
1 parent 13716b7 commit 383de44

File tree

105 files changed

+384
-384
lines changed

Some content is hidden

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

105 files changed

+384
-384
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ BUILD_DIR=${GOPATH}/${SERVER_BINARY}
1414

1515
# Setup the -ldflags option for go build here, interpolate the variable values
1616
LDFLAGS = -ldflags "-s -w \
17-
-X gitlab.com/postgres-ai/database-lab/v2/version.version=${VERSION} \
18-
-X gitlab.com/postgres-ai/database-lab/v2/version.buildTime=${BUILD_TIME}"
17+
-X gitlab.com/postgres-ai/database-lab/v3/version.version=${VERSION} \
18+
-X gitlab.com/postgres-ai/database-lab/v3/version.buildTime=${BUILD_TIME}"
1919

2020
# Go tooling command aliases
2121
GOBUILD = GO111MODULE=on GOARCH=${GOARCH} go build ${LDFLAGS}

cmd/cli/commands/client.go

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

1111
"github.com/urfave/cli/v2"
1212

13-
"gitlab.com/postgres-ai/database-lab/v2/pkg/client/dblabapi"
13+
"gitlab.com/postgres-ai/database-lab/v3/pkg/client/dblabapi"
1414
)
1515

1616
// CLI configuration keys.

cmd/cli/commands/clone/actions.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ import (
1818
"github.com/pkg/errors"
1919
"github.com/urfave/cli/v2"
2020

21-
"gitlab.com/postgres-ai/database-lab/v2/cmd/cli/commands"
22-
"gitlab.com/postgres-ai/database-lab/v2/internal/observer"
23-
"gitlab.com/postgres-ai/database-lab/v2/pkg/client/dblabapi/types"
24-
"gitlab.com/postgres-ai/database-lab/v2/pkg/log"
25-
"gitlab.com/postgres-ai/database-lab/v2/pkg/models"
21+
"gitlab.com/postgres-ai/database-lab/v3/cmd/cli/commands"
22+
"gitlab.com/postgres-ai/database-lab/v3/internal/observer"
23+
"gitlab.com/postgres-ai/database-lab/v3/pkg/client/dblabapi/types"
24+
"gitlab.com/postgres-ai/database-lab/v3/pkg/log"
25+
"gitlab.com/postgres-ai/database-lab/v3/pkg/models"
2626
)
2727

2828
// list runs a request to list clones of an instance.

cmd/cli/commands/clone/command_list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ package clone
77
import (
88
"github.com/urfave/cli/v2"
99

10-
"gitlab.com/postgres-ai/database-lab/v2/cmd/cli/commands"
10+
"gitlab.com/postgres-ai/database-lab/v3/cmd/cli/commands"
1111
)
1212

1313
const (

cmd/cli/commands/config/actions.go

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

1414
"github.com/urfave/cli/v2"
1515

16-
"gitlab.com/postgres-ai/database-lab/v2/cmd/cli/commands"
16+
"gitlab.com/postgres-ai/database-lab/v3/cmd/cli/commands"
1717
)
1818

1919
// headers of a config list.

cmd/cli/commands/config/environment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"github.com/pkg/errors"
99
"github.com/urfave/cli/v2"
1010

11-
"gitlab.com/postgres-ai/database-lab/v2/cmd/cli/commands"
11+
"gitlab.com/postgres-ai/database-lab/v3/cmd/cli/commands"
1212
)
1313

1414
// CLIConfig defines a format of CLI configuration.

cmd/cli/commands/global/actions.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ import (
1313
"github.com/pkg/errors"
1414
"github.com/urfave/cli/v2"
1515

16-
"gitlab.com/postgres-ai/database-lab/v2/cmd/cli/commands"
17-
"gitlab.com/postgres-ai/database-lab/v2/cmd/cli/commands/config"
18-
"gitlab.com/postgres-ai/database-lab/v2/pkg/log"
16+
"gitlab.com/postgres-ai/database-lab/v3/cmd/cli/commands"
17+
"gitlab.com/postgres-ai/database-lab/v3/cmd/cli/commands/config"
18+
"gitlab.com/postgres-ai/database-lab/v3/pkg/log"
1919
)
2020

2121
func initCLI(c *cli.Context) error {

cmd/cli/commands/global/command_list.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ package global
77
import (
88
"github.com/urfave/cli/v2"
99

10-
"gitlab.com/postgres-ai/database-lab/v2/cmd/cli/commands"
11-
"gitlab.com/postgres-ai/database-lab/v2/cmd/cli/templates"
10+
"gitlab.com/postgres-ai/database-lab/v3/cmd/cli/commands"
11+
"gitlab.com/postgres-ai/database-lab/v3/cmd/cli/templates"
1212
)
1313

1414
// List provides commands for getting started.

cmd/cli/commands/instance/actions.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111

1212
"github.com/urfave/cli/v2"
1313

14-
"gitlab.com/postgres-ai/database-lab/v2/cmd/cli/commands"
15-
"gitlab.com/postgres-ai/database-lab/v2/pkg/models"
14+
"gitlab.com/postgres-ai/database-lab/v3/cmd/cli/commands"
15+
"gitlab.com/postgres-ai/database-lab/v3/pkg/models"
1616
)
1717

1818
// status runs a request to get status of the instance.

cmd/cli/commands/port_forwarding.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"github.com/urfave/cli/v2"
1515
"golang.org/x/crypto/ssh"
1616

17-
"gitlab.com/postgres-ai/database-lab/v2/internal/portfwd"
17+
"gitlab.com/postgres-ai/database-lab/v3/internal/portfwd"
1818
)
1919

2020
// BuildTunnel creates a new instance of SSH tunnel.

0 commit comments

Comments
 (0)