Update package name to CloudberryDB
diff --git a/.github/workflows/build_and_unit_test.yml b/.github/workflows/build_and_unit_test.yml
index 291a680..3d37f64 100644
--- a/.github/workflows/build_and_unit_test.yml
+++ b/.github/workflows/build_and_unit_test.yml
@@ -15,7 +15,7 @@
- uses: actions/checkout@v2
with:
fetch-depth: 0
- path: go/src/github.com/greenplum-db/gpbackup
+ path: go/src/github.com/cloudberrydb/gpbackup
- name: Set up Go
uses: actions/setup-go@v2
@@ -29,15 +29,15 @@
- name: Dependencies
run: |
- cd ${GOPATH}/src/github.com/greenplum-db/gpbackup
+ cd ${GOPATH}/src/github.com/cloudberrydb/gpbackup
make depend
- name: Build
run: |
- cd ${GOPATH}/src/github.com/greenplum-db/gpbackup
+ cd ${GOPATH}/src/github.com/cloudberrydb/gpbackup
make build
- name: Unit Test
run: |
- cd ${GOPATH}/src/github.com/greenplum-db/gpbackup
+ cd ${GOPATH}/src/github.com/cloudberrydb/gpbackup
make unit_all_gpdb_versions
diff --git a/backup/backup.go b/backup/backup.go
index b463345..8a292f7 100644
--- a/backup/backup.go
+++ b/backup/backup.go
@@ -11,16 +11,16 @@
"sync"
"time"
- "github.com/greenplum-db/gp-common-go-libs/cluster"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gp-common-go-libs/operating"
- "github.com/greenplum-db/gpbackup/filepath"
- "github.com/greenplum-db/gpbackup/history"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/report"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/cluster"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gp-common-go-libs/operating"
+ "github.com/cloudberrydb/gpbackup/filepath"
+ "github.com/cloudberrydb/gpbackup/history"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/report"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/spf13/cobra"
)
diff --git a/backup/backup_internal_test.go b/backup/backup_internal_test.go
index 959a637..ca2883b 100644
--- a/backup/backup_internal_test.go
+++ b/backup/backup_internal_test.go
@@ -1,7 +1,7 @@
package backup
import (
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/backup/backup_suite_test.go b/backup/backup_suite_test.go
index 74f6cc5..801b90b 100644
--- a/backup/backup_suite_test.go
+++ b/backup/backup_suite_test.go
@@ -9,11 +9,11 @@
"testing"
"github.com/DATA-DOG/go-sqlmock"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/spf13/pflag"
. "github.com/onsi/ginkgo/v2"
diff --git a/backup/data.go b/backup/data.go
index d65086a..4dd0de0 100644
--- a/backup/data.go
+++ b/backup/data.go
@@ -12,10 +12,10 @@
"sync/atomic"
"time"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/jackc/pgconn"
"gopkg.in/cheggaaa/pb.v1"
)
diff --git a/backup/data_test.go b/backup/data_test.go
index 2743d13..f0ecd5b 100644
--- a/backup/data_test.go
+++ b/backup/data_test.go
@@ -5,12 +5,12 @@
"regexp"
"github.com/DATA-DOG/go-sqlmock"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/history"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/report"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/history"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/report"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
"gopkg.in/cheggaaa/pb.v1"
. "github.com/onsi/ginkgo/v2"
diff --git a/backup/dependencies.go b/backup/dependencies.go
index 7fed016..73a0f45 100644
--- a/backup/dependencies.go
+++ b/backup/dependencies.go
@@ -4,10 +4,10 @@
"fmt"
"strings"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/pkg/errors"
)
diff --git a/backup/dependencies_test.go b/backup/dependencies_test.go
index d4da8e4..657a8f2 100644
--- a/backup/dependencies_test.go
+++ b/backup/dependencies_test.go
@@ -4,9 +4,9 @@
"database/sql"
"fmt"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/backup/global_variables.go b/backup/global_variables.go
index 957d169..520e623 100644
--- a/backup/global_variables.go
+++ b/backup/global_variables.go
@@ -3,13 +3,13 @@
import (
"sync"
- "github.com/greenplum-db/gp-common-go-libs/cluster"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gpbackup/filepath"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/report"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/cluster"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gpbackup/filepath"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/report"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/nightlyone/lockfile"
"github.com/spf13/pflag"
)
diff --git a/backup/incremental.go b/backup/incremental.go
index 66d0765..7961bee 100644
--- a/backup/incremental.go
+++ b/backup/incremental.go
@@ -3,12 +3,12 @@
import (
"path"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gp-common-go-libs/iohelper"
- "github.com/greenplum-db/gpbackup/history"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gp-common-go-libs/iohelper"
+ "github.com/cloudberrydb/gpbackup/history"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/pkg/errors"
)
diff --git a/backup/incremental_test.go b/backup/incremental_test.go
index 2a5b118..2998717 100644
--- a/backup/incremental_test.go
+++ b/backup/incremental_test.go
@@ -1,15 +1,15 @@
package backup_test
import (
- "github.com/greenplum-db/gp-common-go-libs/operating"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/filepath"
- "github.com/greenplum-db/gpbackup/history"
- "github.com/greenplum-db/gpbackup/report"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/cloudberrydb/gp-common-go-libs/operating"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/filepath"
+ "github.com/cloudberrydb/gpbackup/history"
+ "github.com/cloudberrydb/gpbackup/report"
+ "github.com/cloudberrydb/gpbackup/testutils"
+ "github.com/cloudberrydb/gpbackup/toc"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/backup/metadata_globals.go b/backup/metadata_globals.go
index 8510673..612b02f 100644
--- a/backup/metadata_globals.go
+++ b/backup/metadata_globals.go
@@ -5,9 +5,9 @@
"strconv"
"strings"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
)
/*
diff --git a/backup/metadata_globals_test.go b/backup/metadata_globals_test.go
index 110fa5e..b8e8518 100644
--- a/backup/metadata_globals_test.go
+++ b/backup/metadata_globals_test.go
@@ -3,9 +3,9 @@
import (
"fmt"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
)
diff --git a/backup/postdata.go b/backup/postdata.go
index b43bb87..559299b 100644
--- a/backup/postdata.go
+++ b/backup/postdata.go
@@ -9,9 +9,9 @@
import (
"strings"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/pkg/errors"
)
diff --git a/backup/postdata_test.go b/backup/postdata_test.go
index e14fabc..3848cb2 100644
--- a/backup/postdata_test.go
+++ b/backup/postdata_test.go
@@ -4,8 +4,8 @@
"database/sql"
"fmt"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
)
diff --git a/backup/predata_acl.go b/backup/predata_acl.go
index 10943fd..da53f53 100644
--- a/backup/predata_acl.go
+++ b/backup/predata_acl.go
@@ -7,8 +7,8 @@
"sort"
"strings"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
)
var ACLRegex = regexp.MustCompile(`^(.*)=([a-zA-Z\*]*)/(.*)$`)
diff --git a/backup/predata_acl_test.go b/backup/predata_acl_test.go
index c70ccc4..d14cb0a 100644
--- a/backup/predata_acl_test.go
+++ b/backup/predata_acl_test.go
@@ -5,10 +5,10 @@
"fmt"
"github.com/DATA-DOG/go-sqlmock"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/backup/predata_externals.go b/backup/predata_externals.go
index 5bf05d0..c4d5a68 100644
--- a/backup/predata_externals.go
+++ b/backup/predata_externals.go
@@ -11,8 +11,8 @@
"fmt"
"strings"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
)
const (
diff --git a/backup/predata_externals_test.go b/backup/predata_externals_test.go
index 92fc1a4..9f91b60 100644
--- a/backup/predata_externals_test.go
+++ b/backup/predata_externals_test.go
@@ -3,9 +3,9 @@
import (
"database/sql"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/backup/predata_functions.go b/backup/predata_functions.go
index e4dd133..61cd31d 100644
--- a/backup/predata_functions.go
+++ b/backup/predata_functions.go
@@ -9,9 +9,9 @@
import (
"fmt"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
)
func PrintCreateFunctionStatement(metadataFile *utils.FileWithByteCount, toc *toc.TOC, funcDef Function, funcMetadata ObjectMetadata) {
diff --git a/backup/predata_functions_test.go b/backup/predata_functions_test.go
index a4304c7..6063779 100644
--- a/backup/predata_functions_test.go
+++ b/backup/predata_functions_test.go
@@ -4,9 +4,9 @@
"database/sql"
"fmt"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/backup/predata_operators.go b/backup/predata_operators.go
index 8c64f0c..208e48e 100644
--- a/backup/predata_operators.go
+++ b/backup/predata_operators.go
@@ -11,8 +11,8 @@
"fmt"
"strings"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
)
func PrintCreateOperatorStatement(metadataFile *utils.FileWithByteCount, toc *toc.TOC, operator Operator, operatorMetadata ObjectMetadata) {
diff --git a/backup/predata_operators_test.go b/backup/predata_operators_test.go
index fd3fd19..51c62dd 100644
--- a/backup/predata_operators_test.go
+++ b/backup/predata_operators_test.go
@@ -3,8 +3,8 @@
import (
"fmt"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
)
diff --git a/backup/predata_relations.go b/backup/predata_relations.go
index 0730010..1e28ce3 100644
--- a/backup/predata_relations.go
+++ b/backup/predata_relations.go
@@ -12,10 +12,10 @@
"github.com/pkg/errors"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
)
/*
diff --git a/backup/predata_relations_other_test.go b/backup/predata_relations_other_test.go
index 41b162e..5649921 100644
--- a/backup/predata_relations_other_test.go
+++ b/backup/predata_relations_other_test.go
@@ -6,11 +6,11 @@
"math"
"sort"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/backup/predata_relations_tables_test.go b/backup/predata_relations_tables_test.go
index f4a7481..9055a06 100644
--- a/backup/predata_relations_tables_test.go
+++ b/backup/predata_relations_tables_test.go
@@ -3,9 +3,9 @@
import (
"database/sql"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
)
diff --git a/backup/predata_shared.go b/backup/predata_shared.go
index 951b182..7058a7e 100644
--- a/backup/predata_shared.go
+++ b/backup/predata_shared.go
@@ -7,9 +7,9 @@
*/
import (
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/pkg/errors"
)
diff --git a/backup/predata_shared_test.go b/backup/predata_shared_test.go
index 91df019..7ab3d38 100644
--- a/backup/predata_shared_test.go
+++ b/backup/predata_shared_test.go
@@ -3,8 +3,8 @@
import (
"database/sql"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
)
diff --git a/backup/predata_textsearch.go b/backup/predata_textsearch.go
index 1fd2501..2f2f5b4 100644
--- a/backup/predata_textsearch.go
+++ b/backup/predata_textsearch.go
@@ -13,8 +13,8 @@
"sort"
"strings"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
)
func PrintCreateTextSearchParserStatement(metadataFile *utils.FileWithByteCount, toc *toc.TOC, parser TextSearchParser, parserMetadata ObjectMetadata) {
diff --git a/backup/predata_textsearch_test.go b/backup/predata_textsearch_test.go
index 6769b20..e0cf054 100644
--- a/backup/predata_textsearch_test.go
+++ b/backup/predata_textsearch_test.go
@@ -1,8 +1,8 @@
package backup_test
import (
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
)
diff --git a/backup/predata_types.go b/backup/predata_types.go
index fc3b671..56feb31 100644
--- a/backup/predata_types.go
+++ b/backup/predata_types.go
@@ -9,9 +9,9 @@
"fmt"
"strings"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/pkg/errors"
)
diff --git a/backup/predata_types_test.go b/backup/predata_types_test.go
index 0556368..db7dde8 100644
--- a/backup/predata_types_test.go
+++ b/backup/predata_types_test.go
@@ -4,8 +4,8 @@
"database/sql"
"fmt"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
)
diff --git a/backup/queries_acl.go b/backup/queries_acl.go
index fb38868..09a21b2 100644
--- a/backup/queries_acl.go
+++ b/backup/queries_acl.go
@@ -10,9 +10,9 @@
"fmt"
"sort"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/toc"
)
/*
diff --git a/backup/queries_acl_test.go b/backup/queries_acl_test.go
index 677c6aa..ebe77bb 100644
--- a/backup/queries_acl_test.go
+++ b/backup/queries_acl_test.go
@@ -6,8 +6,8 @@
"regexp"
"github.com/DATA-DOG/go-sqlmock"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gpbackup/backup"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gpbackup/backup"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/backup/queries_externals.go b/backup/queries_externals.go
index bf20791..c2d76eb 100644
--- a/backup/queries_externals.go
+++ b/backup/queries_externals.go
@@ -6,9 +6,9 @@
*/
import (
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/toc"
)
func GetExternalTableDefinitions(connectionPool *dbconn.DBConn) map[uint32]ExternalTableDefinition {
diff --git a/backup/queries_functions.go b/backup/queries_functions.go
index 54bea39..9ae73e3 100644
--- a/backup/queries_functions.go
+++ b/backup/queries_functions.go
@@ -11,10 +11,10 @@
"regexp"
"strings"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
)
type Function struct {
diff --git a/backup/queries_functions_test.go b/backup/queries_functions_test.go
index d93ef5e..05a997a 100644
--- a/backup/queries_functions_test.go
+++ b/backup/queries_functions_test.go
@@ -5,8 +5,8 @@
"database/sql/driver"
"github.com/DATA-DOG/go-sqlmock"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gpbackup/backup"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gpbackup/backup"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/backup/queries_globals.go b/backup/queries_globals.go
index 4e6346f..2ba770f 100644
--- a/backup/queries_globals.go
+++ b/backup/queries_globals.go
@@ -8,10 +8,10 @@
import (
"fmt"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
)
type SessionGUCs struct {
diff --git a/backup/queries_incremental.go b/backup/queries_incremental.go
index f700f88..1147206 100644
--- a/backup/queries_incremental.go
+++ b/backup/queries_incremental.go
@@ -3,9 +3,9 @@
import (
"fmt"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/toc"
)
func GetAOIncrementalMetadata(connectionPool *dbconn.DBConn) map[string]toc.AOEntry {
diff --git a/backup/queries_operators.go b/backup/queries_operators.go
index a56492f..f1a9273 100644
--- a/backup/queries_operators.go
+++ b/backup/queries_operators.go
@@ -8,10 +8,10 @@
import (
"fmt"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
)
type Operator struct {
diff --git a/backup/queries_postdata.go b/backup/queries_postdata.go
index e92a0ec..2eab3c3 100644
--- a/backup/queries_postdata.go
+++ b/backup/queries_postdata.go
@@ -10,10 +10,10 @@
"fmt"
"strings"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
)
/*
diff --git a/backup/queries_postdata_test.go b/backup/queries_postdata_test.go
index 702d6f9..6e392e5 100644
--- a/backup/queries_postdata_test.go
+++ b/backup/queries_postdata_test.go
@@ -5,8 +5,8 @@
"database/sql/driver"
"github.com/DATA-DOG/go-sqlmock"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gpbackup/backup"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gpbackup/backup"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/backup/queries_relation_test.go b/backup/queries_relation_test.go
index 03786f4..680545f 100644
--- a/backup/queries_relation_test.go
+++ b/backup/queries_relation_test.go
@@ -6,8 +6,8 @@
"fmt"
"github.com/DATA-DOG/go-sqlmock"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gpbackup/backup"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gpbackup/backup"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/backup/queries_relations.go b/backup/queries_relations.go
index bbdac65..6e4224b 100644
--- a/backup/queries_relations.go
+++ b/backup/queries_relations.go
@@ -10,11 +10,11 @@
"fmt"
"strings"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/pkg/errors"
)
diff --git a/backup/queries_shared.go b/backup/queries_shared.go
index 4c2d7dc..6c2ff89 100644
--- a/backup/queries_shared.go
+++ b/backup/queries_shared.go
@@ -10,11 +10,11 @@
"fmt"
"strings"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
)
/*
diff --git a/backup/queries_shared_test.go b/backup/queries_shared_test.go
index 2a4686c..eae2b51 100644
--- a/backup/queries_shared_test.go
+++ b/backup/queries_shared_test.go
@@ -5,9 +5,9 @@
"database/sql/driver"
"github.com/DATA-DOG/go-sqlmock"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/backup/queries_statistics.go b/backup/queries_statistics.go
index 35dbae6..08131e2 100644
--- a/backup/queries_statistics.go
+++ b/backup/queries_statistics.go
@@ -8,9 +8,9 @@
import (
"fmt"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/lib/pq"
)
diff --git a/backup/queries_table_defs.go b/backup/queries_table_defs.go
index d616ca3..0bcbf5d 100644
--- a/backup/queries_table_defs.go
+++ b/backup/queries_table_defs.go
@@ -10,10 +10,10 @@
"fmt"
"strings"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/toc"
)
type Table struct {
diff --git a/backup/queries_textsearch.go b/backup/queries_textsearch.go
index 15eca53..a16e183 100644
--- a/backup/queries_textsearch.go
+++ b/backup/queries_textsearch.go
@@ -11,10 +11,10 @@
import (
"fmt"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
)
type TextSearchParser struct {
diff --git a/backup/queries_types.go b/backup/queries_types.go
index 601f1db..cabb25c 100644
--- a/backup/queries_types.go
+++ b/backup/queries_types.go
@@ -8,10 +8,10 @@
import (
"fmt"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
)
func GetTypeMetadataEntry(schema string, name string) (string, toc.MetadataEntry) {
diff --git a/backup/snapshot.go b/backup/snapshot.go
index 38cfd70..8b53d70 100644
--- a/backup/snapshot.go
+++ b/backup/snapshot.go
@@ -7,8 +7,8 @@
import (
"fmt"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
)
const (
diff --git a/backup/statistics.go b/backup/statistics.go
index 5ea1741..c8cf918 100644
--- a/backup/statistics.go
+++ b/backup/statistics.go
@@ -9,8 +9,8 @@
"fmt"
"strings"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/lib/pq"
)
diff --git a/backup/statistics_test.go b/backup/statistics_test.go
index fb52793..a30b5a2 100644
--- a/backup/statistics_test.go
+++ b/backup/statistics_test.go
@@ -3,8 +3,8 @@
import (
"fmt"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
"github.com/lib/pq"
. "github.com/onsi/ginkgo/v2"
diff --git a/backup/validate.go b/backup/validate.go
index 3e8de8e..067eea6 100644
--- a/backup/validate.go
+++ b/backup/validate.go
@@ -3,12 +3,12 @@
import (
"fmt"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/filepath"
- "github.com/greenplum-db/gpbackup/history"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/filepath"
+ "github.com/cloudberrydb/gpbackup/history"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/pkg/errors"
"github.com/spf13/pflag"
)
diff --git a/backup/validate_test.go b/backup/validate_test.go
index c7a058e..7c463c4 100644
--- a/backup/validate_test.go
+++ b/backup/validate_test.go
@@ -4,9 +4,9 @@
"strings"
"github.com/DATA-DOG/go-sqlmock"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/options"
"github.com/spf13/cobra"
. "github.com/onsi/ginkgo/v2"
diff --git a/backup/wrappers.go b/backup/wrappers.go
index 93ce255..4e7d94f 100644
--- a/backup/wrappers.go
+++ b/backup/wrappers.go
@@ -5,13 +5,13 @@
"path"
"reflect"
- "github.com/greenplum-db/gp-common-go-libs/cluster"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/history"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/report"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/cluster"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/history"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/report"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/nightlyone/lockfile"
"github.com/pkg/errors"
)
diff --git a/ci/gen_pipeline.py b/ci/gen_pipeline.py
index 1920b8e..47018fc 100755
--- a/ci/gen_pipeline.py
+++ b/ci/gen_pipeline.py
@@ -89,7 +89,7 @@
if git_branch == "main":
print "\n[WARNING] You are generating a dev pipeline pointed to the main branch!\n"
cmd = """fly -t dp set-pipeline -p dev:%s_%s \
--c ~/go/src/github.com/greenplum-db/gpbackup/ci/%s-dev-generated.yml \
+-c ~/go/src/github.com/cloudberrydb/gpbackup/ci/%s-dev-generated.yml \
-v gpbackup-git-branch=%s""" % (args.pipeline_name, git_branch, args.pipeline_name, git_branch)
print "To set this pipeline on dev, run: \n%s" % (cmd)
join = raw_input('Would you like to run the pipeline now? [yN]: ')
@@ -104,10 +104,10 @@
if git_branch != "main":
print "\n[WARNING] You are generating a prod pipeline, but are not on the main branch!\n"
cmd1 = "fly -t gpdb-prod set-pipeline -p %s \
--c ~/go/src/github.com/greenplum-db/gpbackup/ci/%s-generated.yml" % (args.pipeline_name, args.pipeline_name)
+-c ~/go/src/github.com/cloudberrydb/gpbackup/ci/%s-generated.yml" % (args.pipeline_name, args.pipeline_name)
args.pipeline_name = "gpbackup"
cmd2 = "fly -t gpdb-prod set-pipeline -p %s \
--c ~/go/src/github.com/greenplum-db/gpbackup/ci/%s-generated.yml" % (args.pipeline_name, args.pipeline_name)
+-c ~/go/src/github.com/cloudberrydb/gpbackup/ci/%s-generated.yml" % (args.pipeline_name, args.pipeline_name)
print "To set these pipelines (gpbackup / gpbackup-release) on prod, run: \n%s\n%s" % (cmd2, cmd1)
def main():
diff --git a/ci/regression/regression_pipeline.yml b/ci/regression/regression_pipeline.yml
index dc78bf6..09f44d8 100644
--- a/ci/regression/regression_pipeline.yml
+++ b/ci/regression/regression_pipeline.yml
@@ -58,7 +58,7 @@
type: git
icon: github-circle
source:
- uri: https://github.com/greenplum-db/gpbackup
+ uri: https://github.com/cloudberrydb/gpbackup
branch: ((gpbackup-git-branch))
- name: diffdb_src
@@ -95,7 +95,7 @@
icon: github-circle
source:
branch: ((dp/dev/gpbackup-s3-plugin-git-branch))
- uri: https://github.com/greenplum-db/gpbackup-s3-plugin
+ uri: https://github.com/cloudberrydb/gpbackup-s3-plugin
- name: gpbackup_ddboost_plugin
type: git
diff --git a/ci/scale/scale_pipeline.yml b/ci/scale/scale_pipeline.yml
index 2e8a358..9fd2eca 100644
--- a/ci/scale/scale_pipeline.yml
+++ b/ci/scale/scale_pipeline.yml
@@ -63,7 +63,7 @@
type: git
icon: github-circle
source:
- uri: https://github.com/greenplum-db/gpbackup
+ uri: https://github.com/cloudberrydb/gpbackup
branch: ((gpbackup-git-branch))
- name: gpdb6_src
@@ -86,7 +86,7 @@
icon: github-circle
source:
branch: ((dp/dev/gpbackup-s3-plugin-git-branch))
- uri: https://github.com/greenplum-db/gpbackup-s3-plugin
+ uri: https://github.com/cloudberrydb/gpbackup-s3-plugin
- name: gpbackup_ddboost_plugin
type: git
diff --git a/ci/scripts/all-tests.bash b/ci/scripts/all-tests.bash
index 506e944..dc4f653 100755
--- a/ci/scripts/all-tests.bash
+++ b/ci/scripts/all-tests.bash
@@ -27,7 +27,7 @@
if [[ -f /opt/gcc_env.sh ]]; then
source /opt/gcc_env.sh
fi
- cd \${GOPATH}/src/github.com/greenplum-db/gpbackup
+ cd \${GOPATH}/src/github.com/cloudberrydb/gpbackup
export OLD_BACKUP_VERSION="${GPBACKUP_VERSION}"
# Set the GPDB version to use for the unit tests
diff --git a/ci/scripts/build-go-binaries.bash b/ci/scripts/build-go-binaries.bash
index 4e9eca2..45e4e28 100755
--- a/ci/scripts/build-go-binaries.bash
+++ b/ci/scripts/build-go-binaries.bash
@@ -6,7 +6,7 @@
export PATH=$PATH:${GOPATH}/bin
# Build gpbackup
-pushd ${GOPATH}/src/github.com/greenplum-db/gpbackup
+pushd ${GOPATH}/src/github.com/cloudberrydb/gpbackup
make depend build unit
version=$(git describe --tags | perl -pe 's/(.*)-([0-9]*)-(g[0-9a-f]*)/\1+dev.\2.\3/')
popd
@@ -19,7 +19,7 @@
fi
# Build s3 plugin
-pushd ${GOPATH}/src/github.com/greenplum-db/gpbackup-s3-plugin
+pushd ${GOPATH}/src/github.com/cloudberrydb/gpbackup-s3-plugin
make depend build unit
s3_plugin_version=$(git describe --tags | perl -pe 's/(.*)-([0-9]*)-(g[0-9a-f]*)/\1+dev.\2.\3/')
popd
diff --git a/ci/scripts/ddboost-plugin-perf.bash b/ci/scripts/ddboost-plugin-perf.bash
index 73c1d34..e19bf9d 100755
--- a/ci/scripts/ddboost-plugin-perf.bash
+++ b/ci/scripts/ddboost-plugin-perf.bash
@@ -51,7 +51,7 @@
gpbackup_ddboost_plugin: 66706c6c6e677a6965796f68343365303133336f6c73366b316868326764
CONFIG
-pushd \${GOPATH}/src/github.com/greenplum-db/gpbackup/plugins
+pushd \${GOPATH}/src/github.com/cloudberrydb/gpbackup/plugins
./plugin_test_scale.sh \${GPHOME}/bin/gpbackup_ddboost_plugin \${HOME}/ddboost_config.yaml
./plugin_test_scale.sh \${GPHOME}/bin/gpbackup_ddboost_plugin \${HOME}/ddboost_config_replication.yaml
popd
diff --git a/ci/scripts/ddboost-plugin-tests.bash b/ci/scripts/ddboost-plugin-tests.bash
index e249d40..e340105 100755
--- a/ci/scripts/ddboost-plugin-tests.bash
+++ b/ci/scripts/ddboost-plugin-tests.bash
@@ -82,14 +82,14 @@
pgport: 5432
CONFIG
-pushd \${GOPATH}/src/github.com/greenplum-db/gpbackup/plugins
+pushd \${GOPATH}/src/github.com/cloudberrydb/gpbackup/plugins
./plugin_test.sh \${GPHOME}/bin/gpbackup_ddboost_plugin \${HOME}/ddboost_config_replication.yaml \${HOME}/ddboost_config_replication_restore.yaml
./plugin_test.sh \${GPHOME}/bin/gpbackup_ddboost_plugin \${HOME}/ddboost_config.yaml \${HOME}/ddboost_config_replication_restore.yaml
# exercise boostfs, which is mounted at /data/gpdata/dd_dir
-pushd \${GOPATH}/src/github.com/greenplum-db/gpbackup
+pushd \${GOPATH}/src/github.com/cloudberrydb/gpbackup
# NOTE: This is a temporary hotfix intended to skip these tests when running on CCP cluster
# because the backup artifact that these tests are using only works on local clusters.
diff --git a/ci/scripts/gpbackup-tests.bash b/ci/scripts/gpbackup-tests.bash
index 3f62e04..9643d1c 100755
--- a/ci/scripts/gpbackup-tests.bash
+++ b/ci/scripts/gpbackup-tests.bash
@@ -14,7 +14,7 @@
sudo mkdir -p /home/gpadmin/go/src/github.com/greenplum-db && \
sudo chown gpadmin:gpadmin -R /home/gpadmin"
-scp -r -q gpbackup cdw:/home/gpadmin/go/src/github.com/greenplum-db/gpbackup
+scp -r -q gpbackup cdw:/home/gpadmin/go/src/github.com/cloudberrydb/gpbackup
if test -f dummy_seclabel/dummy_seclabel*.so; then
scp dummy_seclabel/dummy_seclabel*.so cdw:${GPHOME}/lib/postgresql/dummy_seclabel.so
@@ -54,7 +54,7 @@
gpconfig -s shared_preload_libraries | grep dummy_seclabel
fi
- cd \${GOPATH}/src/github.com/greenplum-db/gpbackup
+ cd \${GOPATH}/src/github.com/cloudberrydb/gpbackup
make depend # Needed to install ginkgo
# NOTE: This is a temporary hotfix intended to skip these tests when running on CCP cluster
diff --git a/ci/scripts/integration-tests-fixed-version.bash b/ci/scripts/integration-tests-fixed-version.bash
index feeeb4c..f1aec89 100755
--- a/ci/scripts/integration-tests-fixed-version.bash
+++ b/ci/scripts/integration-tests-fixed-version.bash
@@ -15,7 +15,7 @@
mkdir -p ${GOPATH}/bin ${GOPATH}/src/github.com/greenplum-db
cp -R $(pwd)/gpbackup ${GOPATH}/src/github.com/greenplum-db
-tar -zxf gpbackup_1.12.1_dependencies/*.tar.gz -C ${GOPATH}/src/github.com/greenplum-db/gpbackup
+tar -zxf gpbackup_1.12.1_dependencies/*.tar.gz -C ${GOPATH}/src/github.com/cloudberrydb/gpbackup
chown -R gpadmin:gpadmin ${GOPATH}
cat<<SCRIPT > /home/gpadmin/.bashrc
@@ -33,7 +33,7 @@
#!/bin/bash
-cd \${GOPATH}/src/github.com/greenplum-db/gpbackup
+cd \${GOPATH}/src/github.com/cloudberrydb/gpbackup
git checkout ${GPBACKUP_VERSION}
diff --git a/ci/scripts/s3-plugin-perf.bash b/ci/scripts/s3-plugin-perf.bash
index d5456da..8b2c5b9 100755
--- a/ci/scripts/s3-plugin-perf.bash
+++ b/ci/scripts/s3-plugin-perf.bash
@@ -38,7 +38,7 @@
# ----------------------------------------------
# Run S3 Plugin scale tests
# ----------------------------------------------
-pushd \${GOPATH}/src/github.com/greenplum-db/gpbackup/plugins
+pushd \${GOPATH}/src/github.com/cloudberrydb/gpbackup/plugins
print_time_exec "./plugin_test_scale.sh \${GPHOME}/bin/gpbackup_s3_plugin ~/s3_config.yaml"
popd
diff --git a/ci/scripts/s3-plugin-tests.bash b/ci/scripts/s3-plugin-tests.bash
index 339d4eb..bfd228b 100755
--- a/ci/scripts/s3-plugin-tests.bash
+++ b/ci/scripts/s3-plugin-tests.bash
@@ -29,7 +29,7 @@
restore_multipart_chunksize: 100MB
CONFIG
- pushd ~/go/src/github.com/greenplum-db/gpbackup/plugins
+ pushd ~/go/src/github.com/cloudberrydb/gpbackup/plugins
./plugin_test.sh \${GPHOME}/bin/gpbackup_s3_plugin \${HOME}/s3_config.yaml
popd
SCRIPT
diff --git a/ci/scripts/setup-centos-env.bash b/ci/scripts/setup-centos-env.bash
index 981d22b..faa9a48 100755
--- a/ci/scripts/setup-centos-env.bash
+++ b/ci/scripts/setup-centos-env.bash
@@ -17,7 +17,7 @@
ssh -t ${default_ami_user}@sdw1 "sudo yum -y install zstd"
-scp -r -q gpbackup cdw:/home/gpadmin/go/src/github.com/greenplum-db/gpbackup
+scp -r -q gpbackup cdw:/home/gpadmin/go/src/github.com/cloudberrydb/gpbackup
if test -f dummy_seclabel/dummy_seclabel*.so; then
scp dummy_seclabel/dummy_seclabel*.so cdw:${GPHOME}/lib/postgresql/dummy_seclabel.so
diff --git a/ci/scripts/test-on-local-cluster.bash b/ci/scripts/test-on-local-cluster.bash
index 23f55ee..6686e6a 100755
--- a/ci/scripts/test-on-local-cluster.bash
+++ b/ci/scripts/test-on-local-cluster.bash
@@ -41,7 +41,7 @@
cp -R $(pwd)/gpbackup \${GOPATH}/src/github.com/greenplum-db/
# Install dependencies before sourcing greenplum path. Using the GPDB curl is causing issues.
-pushd \${GOPATH}/src/github.com/greenplum-db/gpbackup
+pushd \${GOPATH}/src/github.com/cloudberrydb/gpbackup
make depend
popd
@@ -67,7 +67,7 @@
export TEST_GPDB_VERSION=\$(echo \$out | sed -n 's/.*Greenplum Database \([0-9].[0-9]\+.[0-9]\+\).*/\1/p')
# Test gpbackup
-pushd \${GOPATH}/src/github.com/greenplum-db/gpbackup
+pushd \${GOPATH}/src/github.com/cloudberrydb/gpbackup
make unit integration end_to_end
popd
SCRIPT
diff --git a/ci/tasks/build-go-binaries.yml b/ci/tasks/build-go-binaries.yml
index 52123dd..f063f05 100644
--- a/ci/tasks/build-go-binaries.yml
+++ b/ci/tasks/build-go-binaries.yml
@@ -8,9 +8,9 @@
inputs:
- name: gpbackup
- path: go/src/github.com/greenplum-db/gpbackup
+ path: go/src/github.com/cloudberrydb/gpbackup
- name: gpbackup_s3_plugin
- path: go/src/github.com/greenplum-db/gpbackup-s3-plugin
+ path: go/src/github.com/cloudberrydb/gpbackup-s3-plugin
- name: gpbackup_manager_src
path: go/src/github.com/pivotal/gp-backup-manager
@@ -19,4 +19,4 @@
- name: go_components
run:
- path: go/src/github.com/greenplum-db/gpbackup/ci/scripts/build-go-binaries.bash
+ path: go/src/github.com/cloudberrydb/gpbackup/ci/scripts/build-go-binaries.bash
diff --git a/ci/templates/gpbackup-tpl.yml b/ci/templates/gpbackup-tpl.yml
index e722ffb..2743d94 100644
--- a/ci/templates/gpbackup-tpl.yml
+++ b/ci/templates/gpbackup-tpl.yml
@@ -317,7 +317,7 @@
type: git
icon: github-circle
source:
- uri: https://github.com/greenplum-db/gpbackup
+ uri: https://github.com/cloudberrydb/gpbackup
branch: ((gpbackup-git-branch))
{% if "gpbackup-release" == pipeline_name %}
tag_filter: 1.*
@@ -328,7 +328,7 @@
icon: github-circle
source:
branch: ((dp/$$DEV_PROD$$/gpbackup-s3-plugin-git-branch))
- uri: https://github.com/greenplum-db/gpbackup-s3-plugin
+ uri: https://github.com/cloudberrydb/gpbackup-s3-plugin
{% if "gpbackup-release" == pipeline_name %}
tag_filter: 1.*
{% endif %}
diff --git a/end_to_end/end_to_end_suite_test.go b/end_to_end/end_to_end_suite_test.go
index cd17e9a..66b5f52 100644
--- a/end_to_end/end_to_end_suite_test.go
+++ b/end_to_end/end_to_end_suite_test.go
@@ -17,17 +17,17 @@
"time"
"github.com/blang/semver"
- "github.com/greenplum-db/gp-common-go-libs/cluster"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/iohelper"
- "github.com/greenplum-db/gp-common-go-libs/operating"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/filepath"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/cluster"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/iohelper"
+ "github.com/cloudberrydb/gp-common-go-libs/operating"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/filepath"
+ "github.com/cloudberrydb/gpbackup/testutils"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/pkg/errors"
"github.com/spf13/pflag"
@@ -124,13 +124,13 @@
mustRunCommand(command)
command = exec.Command("dep", "ensure")
mustRunCommand(command)
- gpbackupOldPath, err := Build("github.com/greenplum-db/gpbackup",
+ gpbackupOldPath, err := Build("github.com/cloudberrydb/gpbackup",
"-tags", "gpbackup", "-ldflags",
- fmt.Sprintf("-X github.com/greenplum-db/gpbackup/backup.version=%s", version))
+ fmt.Sprintf("-X github.com/cloudberrydb/gpbackup/backup.version=%s", version))
Expect(err).ShouldNot(HaveOccurred())
- gpbackupHelperOldPath, err := Build("github.com/greenplum-db/gpbackup",
+ gpbackupHelperOldPath, err := Build("github.com/cloudberrydb/gpbackup",
"-tags", "gpbackup_helper", "-ldflags",
- fmt.Sprintf("-X github.com/greenplum-db/gpbackup/helper.version=%s", version))
+ fmt.Sprintf("-X github.com/cloudberrydb/gpbackup/helper.version=%s", version))
Expect(err).ShouldNot(HaveOccurred())
command = exec.Command("git", "checkout", "-", "-f")
mustRunCommand(command)
@@ -355,7 +355,7 @@
// This is used to run tests from an older gpbackup version to gprestore latest
useOldBackupVersion = os.Getenv("OLD_BACKUP_VERSION") != ""
pluginConfigPath =
- fmt.Sprintf("%s/src/github.com/greenplum-db/gpbackup/plugins/example_plugin_config.yaml",
+ fmt.Sprintf("%s/src/github.com/cloudberrydb/gpbackup/plugins/example_plugin_config.yaml",
os.Getenv("GOPATH"))
var err error
testhelper.SetupTestLogger()
diff --git a/end_to_end/filtered_test.go b/end_to_end/filtered_test.go
index 46bd39c..c9fd91e 100644
--- a/end_to_end/filtered_test.go
+++ b/end_to_end/filtered_test.go
@@ -3,9 +3,9 @@
import (
"os"
- "github.com/greenplum-db/gp-common-go-libs/iohelper"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/iohelper"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/utils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
diff --git a/end_to_end/incremental_test.go b/end_to_end/incremental_test.go
index b355d25..a5636df 100644
--- a/end_to_end/incremental_test.go
+++ b/end_to_end/incremental_test.go
@@ -6,8 +6,8 @@
"os/exec"
"strconv"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
@@ -411,8 +411,8 @@
assertArtifactsCleaned(restoreConn, incremental2Timestamp)
})
It("Runs backup and restore if plugin location changed", func() {
- Skip("Cloudberry skip src/github.com/greenplum-db/gpbackup/plugins/example_plugin.bash");
- pluginExecutablePath := fmt.Sprintf("%s/src/github.com/greenplum-db/gpbackup/plugins/example_plugin.bash", os.Getenv("GOPATH"))
+ Skip("Cloudberry skip src/github.com/cloudberrydb/gpbackup/plugins/example_plugin.bash");
+ pluginExecutablePath := fmt.Sprintf("%s/src/github.com/cloudberrydb/gpbackup/plugins/example_plugin.bash", os.Getenv("GOPATH"))
fullBackupTimestamp := gpbackup(gpbackupPath, backupHelperPath,
"--leaf-partition-data",
"--plugin-config", pluginConfigPath)
diff --git a/end_to_end/locks_test.go b/end_to_end/locks_test.go
index 443a626..c7d14b6 100644
--- a/end_to_end/locks_test.go
+++ b/end_to_end/locks_test.go
@@ -5,9 +5,9 @@
"os/exec"
"time"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
diff --git a/end_to_end/plugin_test.go b/end_to_end/plugin_test.go
index 68d60d0..24f723a 100644
--- a/end_to_end/plugin_test.go
+++ b/end_to_end/plugin_test.go
@@ -6,13 +6,13 @@
"os/exec"
path "path/filepath"
- "github.com/greenplum-db/gp-common-go-libs/cluster"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/iohelper"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/filepath"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/cluster"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/iohelper"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/filepath"
+ "github.com/cloudberrydb/gpbackup/testutils"
+ "github.com/cloudberrydb/gpbackup/utils"
. "github.com/onsi/ginkgo/v2"
)
@@ -310,7 +310,7 @@
})
It("runs gpbackup and gprestore with plugin, single-data-file, and no-compression", func() {
Skip("Cloudberry skip")
- pluginExecutablePath := fmt.Sprintf("%s/src/github.com/greenplum-db/gpbackup/plugins/example_plugin.bash", os.Getenv("GOPATH"))
+ pluginExecutablePath := fmt.Sprintf("%s/src/github.com/cloudberrydb/gpbackup/plugins/example_plugin.bash", os.Getenv("GOPATH"))
copyPluginToAllHosts(backupConn, pluginExecutablePath)
timestamp := gpbackup(gpbackupPath, backupHelperPath,
@@ -330,7 +330,7 @@
})
It("runs gpbackup and gprestore with plugin, single-data-file, no-compression, and copy-queue-size", func() {
Skip("Cloudberry skip")
- pluginExecutablePath := fmt.Sprintf("%s/src/github.com/greenplum-db/gpbackup/plugins/example_plugin.bash", os.Getenv("GOPATH"))
+ pluginExecutablePath := fmt.Sprintf("%s/src/github.com/cloudberrydb/gpbackup/plugins/example_plugin.bash", os.Getenv("GOPATH"))
copyPluginToAllHosts(backupConn, pluginExecutablePath)
timestamp := gpbackup(gpbackupPath, backupHelperPath,
@@ -352,7 +352,7 @@
})
It("runs gpbackup and gprestore with plugin and single-data-file", func() {
Skip("Cloudberry skip")
- pluginExecutablePath := fmt.Sprintf("%s/src/github.com/greenplum-db/gpbackup/plugins/example_plugin.bash", os.Getenv("GOPATH"))
+ pluginExecutablePath := fmt.Sprintf("%s/src/github.com/cloudberrydb/gpbackup/plugins/example_plugin.bash", os.Getenv("GOPATH"))
copyPluginToAllHosts(backupConn, pluginExecutablePath)
timestamp := gpbackup(gpbackupPath, backupHelperPath,
@@ -371,7 +371,7 @@
})
It("runs gpbackup and gprestore with plugin, single-data-file, and copy-queue-size", func() {
Skip("Cloudberry skip")
- pluginExecutablePath := fmt.Sprintf("%s/src/github.com/greenplum-db/gpbackup/plugins/example_plugin.bash", os.Getenv("GOPATH"))
+ pluginExecutablePath := fmt.Sprintf("%s/src/github.com/cloudberrydb/gpbackup/plugins/example_plugin.bash", os.Getenv("GOPATH"))
copyPluginToAllHosts(backupConn, pluginExecutablePath)
timestamp := gpbackup(gpbackupPath, backupHelperPath,
@@ -392,7 +392,7 @@
})
It("runs gpbackup and gprestore with plugin and metadata-only", func() {
Skip("Cloudberry skip")
- pluginExecutablePath := fmt.Sprintf("%s/src/github.com/greenplum-db/gpbackup/plugins/example_plugin.bash", os.Getenv("GOPATH"))
+ pluginExecutablePath := fmt.Sprintf("%s/src/github.com/cloudberrydb/gpbackup/plugins/example_plugin.bash", os.Getenv("GOPATH"))
copyPluginToAllHosts(backupConn, pluginExecutablePath)
timestamp := gpbackup(gpbackupPath, backupHelperPath,
@@ -418,7 +418,7 @@
if useOldBackupVersion {
Skip("This test is only needed for the most recent backup versions")
}
- pluginExecutablePath := fmt.Sprintf("%s/src/github.com/greenplum-db/gpbackup/plugins/example_plugin.bash", os.Getenv("GOPATH"))
+ pluginExecutablePath := fmt.Sprintf("%s/src/github.com/cloudberrydb/gpbackup/plugins/example_plugin.bash", os.Getenv("GOPATH"))
copyPluginToAllHosts(backupConn, pluginExecutablePath)
timestamp := gpbackup(gpbackupPath, backupHelperPath,
@@ -441,7 +441,7 @@
if useOldBackupVersion {
Skip("This test is only needed for the most recent backup versions")
}
- pluginExecutablePath := fmt.Sprintf("%s/src/github.com/greenplum-db/gpbackup/plugins/example_plugin.bash", os.Getenv("GOPATH"))
+ pluginExecutablePath := fmt.Sprintf("%s/src/github.com/cloudberrydb/gpbackup/plugins/example_plugin.bash", os.Getenv("GOPATH"))
copyPluginToAllHosts(backupConn, pluginExecutablePath)
timestamp := gpbackup(gpbackupPath, backupHelperPath,
@@ -464,7 +464,7 @@
if useOldBackupVersion {
Skip("This test is only needed for the latest backup version")
}
- pluginsDir := fmt.Sprintf("%s/src/github.com/greenplum-db/gpbackup/plugins", os.Getenv("GOPATH"))
+ pluginsDir := fmt.Sprintf("%s/src/github.com/cloudberrydb/gpbackup/plugins", os.Getenv("GOPATH"))
copyPluginToAllHosts(backupConn, fmt.Sprintf("%s/example_plugin.bash", pluginsDir))
command := exec.Command("bash", "-c", fmt.Sprintf("%s/plugin_test.sh %s/example_plugin.bash %s/example_plugin_config.yaml", pluginsDir, pluginsDir, pluginsDir))
mustRunCommand(command)
diff --git a/end_to_end/signal_handler_test.go b/end_to_end/signal_handler_test.go
index 2361283..1545aa6 100644
--- a/end_to_end/signal_handler_test.go
+++ b/end_to_end/signal_handler_test.go
@@ -5,7 +5,7 @@
"os/exec"
"time"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"golang.org/x/sys/unix"
diff --git a/end_to_end/special_characters_test.go b/end_to_end/special_characters_test.go
index 0135225..270204b 100644
--- a/end_to_end/special_characters_test.go
+++ b/end_to_end/special_characters_test.go
@@ -4,7 +4,7 @@
"fmt"
"os/exec"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
diff --git a/filepath/filepath.go b/filepath/filepath.go
index 3222430..1f4d818 100644
--- a/filepath/filepath.go
+++ b/filepath/filepath.go
@@ -14,10 +14,10 @@
"strconv"
"strings"
- "github.com/greenplum-db/gp-common-go-libs/cluster"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gp-common-go-libs/operating"
+ "github.com/cloudberrydb/gp-common-go-libs/cluster"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gp-common-go-libs/operating"
)
type FilePathInfo struct {
diff --git a/filepath/filepath_test.go b/filepath/filepath_test.go
index 7a3debe..c61fdd1 100644
--- a/filepath/filepath_test.go
+++ b/filepath/filepath_test.go
@@ -5,11 +5,11 @@
path "path/filepath"
"testing"
- "github.com/greenplum-db/gp-common-go-libs/cluster"
- "github.com/greenplum-db/gp-common-go-libs/operating"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gp-common-go-libs/cluster"
+ "github.com/cloudberrydb/gp-common-go-libs/operating"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
- . "github.com/greenplum-db/gpbackup/filepath"
+ . "github.com/cloudberrydb/gpbackup/filepath"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
diff --git a/go.mod b/go.mod
index 2bf8568..c5c97e2 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/greenplum-db/gpbackup
+module github.com/cloudberrydb/gpbackup
go 1.17
@@ -6,7 +6,7 @@
github.com/DATA-DOG/go-sqlmock v1.5.0
github.com/blang/semver v3.5.1+incompatible
github.com/blang/vfs v1.0.0
- github.com/greenplum-db/gp-common-go-libs v1.0.10
+ github.com/cloudberrydb/gp-common-go-libs v1.0.10
github.com/jackc/pgconn v1.10.1
github.com/jmoiron/sqlx v1.3.4
github.com/klauspost/compress v1.14.1
diff --git a/go.sum b/go.sum
index bde3df3..17fe390 100644
--- a/go.sum
+++ b/go.sum
@@ -217,12 +217,12 @@
github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk=
github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0=
github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0eJc8R6ouapiM=
-github.com/greenplum-db/gp-common-go-libs v1.0.8 h1:7pPox3lmEvTnBap1uBearzVomfOCbHm7vGl/VQJ/u4Y=
-github.com/greenplum-db/gp-common-go-libs v1.0.8/go.mod h1:k7xhcIQdBtMzUDDHcLBnCDw/oRhH4rKHVTA0g5BloHM=
-github.com/greenplum-db/gp-common-go-libs v1.0.10-0.20221220172805-2f8ba1047dc0 h1:8clcucGWXtfprzeWx2brZgc+Rg0sMaa/btBji08WDIo=
-github.com/greenplum-db/gp-common-go-libs v1.0.10-0.20221220172805-2f8ba1047dc0/go.mod h1:k7xhcIQdBtMzUDDHcLBnCDw/oRhH4rKHVTA0g5BloHM=
-github.com/greenplum-db/gp-common-go-libs v1.0.10 h1:OSaYFXldIp8vkWC8qXFbOx/RbLv7j6VH2I0ylqQLrn0=
-github.com/greenplum-db/gp-common-go-libs v1.0.10/go.mod h1:k7xhcIQdBtMzUDDHcLBnCDw/oRhH4rKHVTA0g5BloHM=
+github.com/cloudberrydb/gp-common-go-libs v1.0.8 h1:7pPox3lmEvTnBap1uBearzVomfOCbHm7vGl/VQJ/u4Y=
+github.com/cloudberrydb/gp-common-go-libs v1.0.8/go.mod h1:k7xhcIQdBtMzUDDHcLBnCDw/oRhH4rKHVTA0g5BloHM=
+github.com/cloudberrydb/gp-common-go-libs v1.0.10-0.20221220172805-2f8ba1047dc0 h1:8clcucGWXtfprzeWx2brZgc+Rg0sMaa/btBji08WDIo=
+github.com/cloudberrydb/gp-common-go-libs v1.0.10-0.20221220172805-2f8ba1047dc0/go.mod h1:k7xhcIQdBtMzUDDHcLBnCDw/oRhH4rKHVTA0g5BloHM=
+github.com/cloudberrydb/gp-common-go-libs v1.0.10 h1:OSaYFXldIp8vkWC8qXFbOx/RbLv7j6VH2I0ylqQLrn0=
+github.com/cloudberrydb/gp-common-go-libs v1.0.10/go.mod h1:k7xhcIQdBtMzUDDHcLBnCDw/oRhH4rKHVTA0g5BloHM=
github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
github.com/hashicorp/consul/api v1.11.0/go.mod h1:XjsvQN+RJGWI2TWy1/kqaE16HrR2J/FWgkYjdZQsX9M=
github.com/hashicorp/consul/sdk v0.8.0/go.mod h1:GBvyrGALthsZObzUGsfgHZQDXjg4lOjagTIwIR1vPms=
diff --git a/gpbackup.go b/gpbackup.go
index e04a2f4..aa58975 100644
--- a/gpbackup.go
+++ b/gpbackup.go
@@ -5,15 +5,15 @@
import (
"os"
- . "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
+ . "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/options"
"github.com/spf13/cobra"
)
func main() {
var rootCmd = &cobra.Command{
Use: "gpbackup",
- Short: "gpbackup is the parallel backup utility for Greenplum",
+ Short: "gpbackup is the parallel backup utility for CloudberryDB",
Args: cobra.NoArgs,
Version: GetVersion(),
Run: func(cmd *cobra.Command, args []string) {
diff --git a/gpbackup_helper.go b/gpbackup_helper.go
index 3fd8bb6..eec9168 100644
--- a/gpbackup_helper.go
+++ b/gpbackup_helper.go
@@ -3,7 +3,7 @@
package main
import (
- . "github.com/greenplum-db/gpbackup/helper"
+ . "github.com/cloudberrydb/gpbackup/helper"
)
func main() {
diff --git a/gppkg/gpbackup_control.in b/gppkg/gpbackup_control.in
index 1702213..436d2a6 100644
--- a/gppkg/gpbackup_control.in
+++ b/gppkg/gpbackup_control.in
@@ -1,8 +1,8 @@
-Package: GreenplumBackupTools
+Package: BackupTools
Priority: extra
-Maintainer: gpdb-dp@pivotal.io
+Maintainer: CloudberryDB team
Architecture: ${ARCH}
Version: ${GPBACKUP_TOOLS_VERSION}
Provides: gpbackup_tools
-Description: gpbackup and gprestore are Go utilities for performing Greenplum Database backups.
-Homepage: https://github.com/greenplum-db/gpbackup
+Description: gpbackup and gprestore are Go utilities for performing Cloudberry Database backups.
+Homepage: https://github.com/cloudberrydb/gpbackup
\ No newline at end of file
diff --git a/gprestore.go b/gprestore.go
index 727f160..6f5e008 100644
--- a/gprestore.go
+++ b/gprestore.go
@@ -5,15 +5,15 @@
import (
"os"
- "github.com/greenplum-db/gpbackup/options"
- . "github.com/greenplum-db/gpbackup/restore"
+ "github.com/cloudberrydb/gpbackup/options"
+ . "github.com/cloudberrydb/gpbackup/restore"
"github.com/spf13/cobra"
)
func main() {
var rootCmd = &cobra.Command{
Use: "gprestore",
- Short: "gprestore is the parallel restore utility for Greenplum",
+ Short: "gprestore is the parallel restore utility for CloudberryDB",
Args: cobra.NoArgs,
Version: GetVersion(),
Run: func(cmd *cobra.Command, args []string) {
diff --git a/helper/backup_helper.go b/helper/backup_helper.go
index c7d3ce2..d788c08 100644
--- a/helper/backup_helper.go
+++ b/helper/backup_helper.go
@@ -8,8 +8,8 @@
"os/exec"
"strings"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/pkg/errors"
)
diff --git a/helper/helper.go b/helper/helper.go
index 1efedef..c061eac 100644
--- a/helper/helper.go
+++ b/helper/helper.go
@@ -15,9 +15,9 @@
"golang.org/x/sys/unix"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gp-common-go-libs/operating"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gp-common-go-libs/operating"
+ "github.com/cloudberrydb/gpbackup/utils"
)
/*
diff --git a/helper/restore_helper.go b/helper/restore_helper.go
index 43ea559..bc8e6cf 100644
--- a/helper/restore_helper.go
+++ b/helper/restore_helper.go
@@ -13,8 +13,8 @@
"strings"
"time"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/klauspost/compress/zstd"
"github.com/pkg/errors"
"golang.org/x/sys/unix"
diff --git a/history/history.go b/history/history.go
index 90f9588..40cd0eb 100644
--- a/history/history.go
+++ b/history/history.go
@@ -9,9 +9,9 @@
"sort"
"time"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gp-common-go-libs/operating"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gp-common-go-libs/operating"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/nightlyone/lockfile"
"gopkg.in/yaml.v2"
)
diff --git a/history/history_test.go b/history/history_test.go
index 6b4e0e1..583fe16 100644
--- a/history/history_test.go
+++ b/history/history_test.go
@@ -7,14 +7,14 @@
"testing"
"time"
- "github.com/greenplum-db/gp-common-go-libs/operating"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/filepath"
- "github.com/greenplum-db/gpbackup/history"
- "github.com/greenplum-db/gpbackup/report"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/operating"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/filepath"
+ "github.com/cloudberrydb/gpbackup/history"
+ "github.com/cloudberrydb/gpbackup/report"
+ "github.com/cloudberrydb/gpbackup/utils"
"gopkg.in/yaml.v2"
. "github.com/onsi/ginkgo/v2"
diff --git a/integration/agent_remote_test.go b/integration/agent_remote_test.go
index c3774b6..79eba9f 100644
--- a/integration/agent_remote_test.go
+++ b/integration/agent_remote_test.go
@@ -3,9 +3,9 @@
import (
"fmt"
- "github.com/greenplum-db/gp-common-go-libs/cluster"
- "github.com/greenplum-db/gpbackup/filepath"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/cluster"
+ "github.com/cloudberrydb/gpbackup/filepath"
+ "github.com/cloudberrydb/gpbackup/utils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/dependency_queries_test.go b/integration/dependency_queries_test.go
index 784c139..259869f 100644
--- a/integration/dependency_queries_test.go
+++ b/integration/dependency_queries_test.go
@@ -1,9 +1,9 @@
package integration
import (
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/gpexpand_not_running_test.go b/integration/gpexpand_not_running_test.go
index db3d164..1d4c341 100644
--- a/integration/gpexpand_not_running_test.go
+++ b/integration/gpexpand_not_running_test.go
@@ -5,13 +5,13 @@
"os"
"path/filepath"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/iohelper"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/restore"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/iohelper"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/restore"
+ "github.com/cloudberrydb/gpbackup/testutils"
+ "github.com/cloudberrydb/gpbackup/utils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/helper_test.go b/integration/helper_test.go
index 0e7e27e..f1a2afb 100644
--- a/integration/helper_test.go
+++ b/integration/helper_test.go
@@ -12,7 +12,7 @@
"strings"
"time"
- "github.com/greenplum-db/gp-common-go-libs/operating"
+ "github.com/cloudberrydb/gp-common-go-libs/operating"
"github.com/klauspost/compress/zstd"
"golang.org/x/sys/unix"
@@ -29,7 +29,7 @@
dataFileFullPath = filepath.Join(testDir, "test_data")
pluginBackupPath = filepath.Join(pluginDir, "test_data")
errorFile = fmt.Sprintf("%s_error", pipeFile)
- pluginConfigPath = fmt.Sprintf("%s/src/github.com/greenplum-db/gpbackup/plugins/example_plugin_config.yaml", os.Getenv("GOPATH"))
+ pluginConfigPath = fmt.Sprintf("%s/src/github.com/cloudberrydb/gpbackup/plugins/example_plugin_config.yaml", os.Getenv("GOPATH"))
)
const (
diff --git a/integration/incremental_queries_test.go b/integration/incremental_queries_test.go
index c8070b5..e98ec4e 100644
--- a/integration/incremental_queries_test.go
+++ b/integration/incremental_queries_test.go
@@ -3,10 +3,10 @@
import (
"fmt"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/toc"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/inheritance_test.go b/integration/inheritance_test.go
index 575894c..1fc392c 100644
--- a/integration/inheritance_test.go
+++ b/integration/inheritance_test.go
@@ -3,8 +3,8 @@
import (
"fmt"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/integration_suite_test.go b/integration/integration_suite_test.go
index 5f49621..a796842 100644
--- a/integration/integration_suite_test.go
+++ b/integration/integration_suite_test.go
@@ -7,14 +7,14 @@
"os/exec"
"testing"
- "github.com/greenplum-db/gp-common-go-libs/cluster"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/restore"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/cluster"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/restore"
+ "github.com/cloudberrydb/gpbackup/testutils"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/spf13/pflag"
. "github.com/onsi/ginkgo/v2"
diff --git a/integration/metadata_globals_create_test.go b/integration/metadata_globals_create_test.go
index 20b99a9..2bd6cee 100644
--- a/integration/metadata_globals_create_test.go
+++ b/integration/metadata_globals_create_test.go
@@ -4,10 +4,10 @@
"fmt"
"regexp"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/metadata_globals_queries_test.go b/integration/metadata_globals_queries_test.go
index b37c80c..42d7af4 100644
--- a/integration/metadata_globals_queries_test.go
+++ b/integration/metadata_globals_queries_test.go
@@ -3,10 +3,10 @@
import (
"fmt"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/options_integration_test.go b/integration/options_integration_test.go
index cccf9bb..4fe4351 100644
--- a/integration/options_integration_test.go
+++ b/integration/options_integration_test.go
@@ -3,9 +3,9 @@
import (
"sort"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/options"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/parallel_queries_test.go b/integration/parallel_queries_test.go
index 5e76d7a..5bf8159 100644
--- a/integration/parallel_queries_test.go
+++ b/integration/parallel_queries_test.go
@@ -5,12 +5,12 @@
"regexp"
"strings"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/restore"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/restore"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/postdata_create_test.go b/integration/postdata_create_test.go
index bb76467..380a56b 100644
--- a/integration/postdata_create_test.go
+++ b/integration/postdata_create_test.go
@@ -4,10 +4,10 @@
"database/sql"
"strings"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/postdata_queries_test.go b/integration/postdata_queries_test.go
index 633ce68..8a699bf 100644
--- a/integration/postdata_queries_test.go
+++ b/integration/postdata_queries_test.go
@@ -4,11 +4,11 @@
"database/sql"
"fmt"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/predata_acl_create_test.go b/integration/predata_acl_create_test.go
index b1e0dc4..ba53d9b 100644
--- a/integration/predata_acl_create_test.go
+++ b/integration/predata_acl_create_test.go
@@ -1,10 +1,10 @@
package integration
import (
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/predata_acl_queries_test.go b/integration/predata_acl_queries_test.go
index ec43c8b..f0b73a4 100644
--- a/integration/predata_acl_queries_test.go
+++ b/integration/predata_acl_queries_test.go
@@ -3,11 +3,11 @@
import (
"fmt"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/predata_externals_create_test.go b/integration/predata_externals_create_test.go
index 65e073f..6559a5d 100644
--- a/integration/predata_externals_create_test.go
+++ b/integration/predata_externals_create_test.go
@@ -4,10 +4,10 @@
"database/sql"
"os"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/predata_externals_queries_test.go b/integration/predata_externals_queries_test.go
index 76e1abf..5ace4a6 100644
--- a/integration/predata_externals_queries_test.go
+++ b/integration/predata_externals_queries_test.go
@@ -3,10 +3,10 @@
import (
"database/sql"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/predata_functions_create_test.go b/integration/predata_functions_create_test.go
index d42653e..3af6bc0 100644
--- a/integration/predata_functions_create_test.go
+++ b/integration/predata_functions_create_test.go
@@ -4,10 +4,10 @@
"database/sql"
"fmt"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/predata_functions_queries_test.go b/integration/predata_functions_queries_test.go
index b71c607..fce1dfe 100644
--- a/integration/predata_functions_queries_test.go
+++ b/integration/predata_functions_queries_test.go
@@ -4,11 +4,11 @@
"database/sql"
"fmt"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/predata_operators_create_test.go b/integration/predata_operators_create_test.go
index e7785de..8a17cc6 100644
--- a/integration/predata_operators_create_test.go
+++ b/integration/predata_operators_create_test.go
@@ -1,10 +1,10 @@
package integration
import (
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/predata_operators_queries_test.go b/integration/predata_operators_queries_test.go
index acbf2c0..d200cfe 100644
--- a/integration/predata_operators_queries_test.go
+++ b/integration/predata_operators_queries_test.go
@@ -1,11 +1,11 @@
package integration
import (
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/predata_relations_create_test.go b/integration/predata_relations_create_test.go
index d8a6844..038987d 100644
--- a/integration/predata_relations_create_test.go
+++ b/integration/predata_relations_create_test.go
@@ -5,10 +5,10 @@
"fmt"
"math"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/predata_relations_queries_test.go b/integration/predata_relations_queries_test.go
index 46a8f89..c04e397 100644
--- a/integration/predata_relations_queries_test.go
+++ b/integration/predata_relations_queries_test.go
@@ -5,11 +5,11 @@
"math"
"sort"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/predata_shared_create_test.go b/integration/predata_shared_create_test.go
index 5bb0b29..e1d5fc6 100644
--- a/integration/predata_shared_create_test.go
+++ b/integration/predata_shared_create_test.go
@@ -3,10 +3,10 @@
import (
"database/sql"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/predata_shared_queries_test.go b/integration/predata_shared_queries_test.go
index 19bcdac..11c397b 100644
--- a/integration/predata_shared_queries_test.go
+++ b/integration/predata_shared_queries_test.go
@@ -3,11 +3,11 @@
import (
"database/sql"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/predata_table_defs_queries_test.go b/integration/predata_table_defs_queries_test.go
index 719ced6..bada79f 100644
--- a/integration/predata_table_defs_queries_test.go
+++ b/integration/predata_table_defs_queries_test.go
@@ -4,11 +4,11 @@
"database/sql"
"fmt"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/predata_textsearch_create_test.go b/integration/predata_textsearch_create_test.go
index 91affe1..aedaf5b 100644
--- a/integration/predata_textsearch_create_test.go
+++ b/integration/predata_textsearch_create_test.go
@@ -1,10 +1,10 @@
package integration
import (
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/predata_textsearch_queries_test.go b/integration/predata_textsearch_queries_test.go
index 807fe09..2d592de 100644
--- a/integration/predata_textsearch_queries_test.go
+++ b/integration/predata_textsearch_queries_test.go
@@ -1,11 +1,11 @@
package integration
import (
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/predata_types_create_test.go b/integration/predata_types_create_test.go
index 8b0f35d..e5e9af3 100644
--- a/integration/predata_types_create_test.go
+++ b/integration/predata_types_create_test.go
@@ -1,10 +1,10 @@
package integration
import (
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/predata_types_queries_test.go b/integration/predata_types_queries_test.go
index 7f192bc..22d5d9d 100644
--- a/integration/predata_types_queries_test.go
+++ b/integration/predata_types_queries_test.go
@@ -1,11 +1,11 @@
package integration
import (
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/snapshot_test.go b/integration/snapshot_test.go
index 0162585..634c4a6 100644
--- a/integration/snapshot_test.go
+++ b/integration/snapshot_test.go
@@ -3,8 +3,8 @@
import (
"fmt"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/statistics_create_test.go b/integration/statistics_create_test.go
index 9dc74fa..23c9c72 100644
--- a/integration/statistics_create_test.go
+++ b/integration/statistics_create_test.go
@@ -1,10 +1,10 @@
package integration
import (
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/statistics_queries_test.go b/integration/statistics_queries_test.go
index 947c3ba..937778a 100644
--- a/integration/statistics_queries_test.go
+++ b/integration/statistics_queries_test.go
@@ -3,10 +3,10 @@
import (
"sort"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/utils_test.go b/integration/utils_test.go
index 48960eb..4330409 100644
--- a/integration/utils_test.go
+++ b/integration/utils_test.go
@@ -7,11 +7,11 @@
"path/filepath"
"time"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- fp "github.com/greenplum-db/gpbackup/filepath"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ fp "github.com/cloudberrydb/gpbackup/filepath"
+ "github.com/cloudberrydb/gpbackup/testutils"
+ "github.com/cloudberrydb/gpbackup/utils"
"golang.org/x/sys/unix"
diff --git a/integration/wrappers_test.go b/integration/wrappers_test.go
index db3a08e..435fa3a 100644
--- a/integration/wrappers_test.go
+++ b/integration/wrappers_test.go
@@ -1,10 +1,10 @@
package integration
import (
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/options"
"github.com/spf13/cobra"
. "github.com/onsi/ginkgo/v2"
diff --git a/options/flag.go b/options/flag.go
index 5ad1c47..cb67051 100644
--- a/options/flag.go
+++ b/options/flag.go
@@ -8,7 +8,7 @@
"regexp"
"strings"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
"github.com/pkg/errors"
"github.com/spf13/pflag"
)
diff --git a/options/flag_test.go b/options/flag_test.go
index 088d66b..86c7b0d 100644
--- a/options/flag_test.go
+++ b/options/flag_test.go
@@ -3,8 +3,8 @@
import (
"flag"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/options"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/options"
"github.com/spf13/pflag"
. "github.com/onsi/ginkgo/v2"
diff --git a/options/options.go b/options/options.go
index 188544c..006a837 100644
--- a/options/options.go
+++ b/options/options.go
@@ -4,10 +4,10 @@
"fmt"
"strings"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gp-common-go-libs/iohelper"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gp-common-go-libs/iohelper"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/pkg/errors"
"github.com/spf13/pflag"
)
diff --git a/options/options_suite_test.go b/options/options_suite_test.go
index 093c04e..c09df76 100644
--- a/options/options_suite_test.go
+++ b/options/options_suite_test.go
@@ -3,7 +3,7 @@
import (
"testing"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/options/options_test.go b/options/options_test.go
index 89e451d..e05601d 100644
--- a/options/options_test.go
+++ b/options/options_test.go
@@ -5,9 +5,9 @@
"os"
"github.com/DATA-DOG/go-sqlmock"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/options"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/options"
"github.com/spf13/pflag"
. "github.com/onsi/ginkgo/v2"
diff --git a/plugins/README.md b/plugins/README.md
index ca3657d..64a4c1a 100644
--- a/plugins/README.md
+++ b/plugins/README.md
@@ -353,7 +353,7 @@

### Restore Plugin Flow
-
+
## Custom yaml file
Parameters specific to a plugin can be specified through the plugin configuration yaml file. The _executablepath_ key is required and used by gpbackup and gprestore. Additional arguments should be specified under the _options_ keyword. A path to this file is passed as the first argument to every API command. Options and valid arguments should be documented by the plugin.
@@ -371,7 +371,7 @@
## Verification using the gpbackup plugin API test bench
-We provide tests to ensure your plugin will work with gpbackup and gprestore. If the tests succesfully run your plugin, you can be confident that your plugin will work with the utilities. The tests are located [here](https://github.com/greenplum-db/gpbackup/blob/coordinator/plugins/plugin_test.sh).
+We provide tests to ensure your plugin will work with gpbackup and gprestore. If the tests succesfully run your plugin, you can be confident that your plugin will work with the utilities. The tests are located [here](https://github.com/cloudberrydb/gpbackup/blob/coordinator/plugins/plugin_test.sh).
Run the test bench script using:
diff --git a/plugins/example_plugin_config.yaml b/plugins/example_plugin_config.yaml
index 89deab6..9179509 100644
--- a/plugins/example_plugin_config.yaml
+++ b/plugins/example_plugin_config.yaml
@@ -1,3 +1,3 @@
-executablepath: $GOPATH/src/github.com/greenplum-db/gpbackup/plugins/example_plugin.bash
+executablepath: $GOPATH/src/github.com/cloudberrydb/gpbackup/plugins/example_plugin.bash
options:
password: unknown
diff --git a/report/report.go b/report/report.go
index c90a7ca..8a9d17e 100644
--- a/report/report.go
+++ b/report/report.go
@@ -10,13 +10,13 @@
"time"
"github.com/blang/semver"
- "github.com/greenplum-db/gp-common-go-libs/cluster"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gp-common-go-libs/iohelper"
- "github.com/greenplum-db/gp-common-go-libs/operating"
- "github.com/greenplum-db/gpbackup/history"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/cluster"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gp-common-go-libs/iohelper"
+ "github.com/cloudberrydb/gp-common-go-libs/operating"
+ "github.com/cloudberrydb/gpbackup/history"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/pkg/errors"
"gopkg.in/yaml.v2"
)
diff --git a/report/report_test.go b/report/report_test.go
index d238e7a..74d9ba6 100644
--- a/report/report_test.go
+++ b/report/report_test.go
@@ -10,23 +10,23 @@
"time"
"github.com/blang/semver"
- "github.com/greenplum-db/gp-common-go-libs/cluster"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gp-common-go-libs/operating"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/filepath"
- "github.com/greenplum-db/gpbackup/history"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/cluster"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gp-common-go-libs/operating"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/filepath"
+ "github.com/cloudberrydb/gpbackup/history"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/testutils"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/pkg/errors"
"github.com/spf13/pflag"
"gopkg.in/yaml.v2"
- "github.com/greenplum-db/gpbackup/report"
+ "github.com/cloudberrydb/gpbackup/report"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
. "github.com/onsi/gomega/gbytes"
diff --git a/restore/data.go b/restore/data.go
index 2ed1dc3..61f903f 100644
--- a/restore/data.go
+++ b/restore/data.go
@@ -9,13 +9,13 @@
"sync"
"sync/atomic"
- "github.com/greenplum-db/gp-common-go-libs/cluster"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/filepath"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/cluster"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/filepath"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/jackc/pgconn"
"github.com/pkg/errors"
"gopkg.in/cheggaaa/pb.v1"
diff --git a/restore/data_test.go b/restore/data_test.go
index 2323d83..9ad57a5 100644
--- a/restore/data_test.go
+++ b/restore/data_test.go
@@ -7,12 +7,12 @@
"strings"
"github.com/DATA-DOG/go-sqlmock"
- "github.com/greenplum-db/gp-common-go-libs/cluster"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/history"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/restore"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/cluster"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/history"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/restore"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/jackc/pgconn"
. "github.com/onsi/ginkgo/v2"
diff --git a/restore/global_variables.go b/restore/global_variables.go
index 3fa66df..7238a52 100644
--- a/restore/global_variables.go
+++ b/restore/global_variables.go
@@ -3,13 +3,13 @@
import (
"sync"
- "github.com/greenplum-db/gp-common-go-libs/cluster"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gpbackup/filepath"
- "github.com/greenplum-db/gpbackup/history"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/cluster"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gpbackup/filepath"
+ "github.com/cloudberrydb/gpbackup/history"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/spf13/pflag"
)
diff --git a/restore/parallel.go b/restore/parallel.go
index 1f990a6..c3f227b 100644
--- a/restore/parallel.go
+++ b/restore/parallel.go
@@ -10,10 +10,10 @@
"sync"
"sync/atomic"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
)
var (
diff --git a/restore/parallel_test.go b/restore/parallel_test.go
index 31aeea5..b1ffc52 100644
--- a/restore/parallel_test.go
+++ b/restore/parallel_test.go
@@ -1,8 +1,8 @@
package restore_test
import (
- "github.com/greenplum-db/gpbackup/restore"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/restore"
+ "github.com/cloudberrydb/gpbackup/toc"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/restore/remote.go b/restore/remote.go
index 903094a..fde4105 100644
--- a/restore/remote.go
+++ b/restore/remote.go
@@ -5,10 +5,10 @@
"strconv"
"strings"
- "github.com/greenplum-db/gp-common-go-libs/cluster"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gp-common-go-libs/iohelper"
- "github.com/greenplum-db/gpbackup/options"
+ "github.com/cloudberrydb/gp-common-go-libs/cluster"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gp-common-go-libs/iohelper"
+ "github.com/cloudberrydb/gpbackup/options"
"github.com/pkg/errors"
)
diff --git a/restore/remote_test.go b/restore/remote_test.go
index 786aa62..1ee0359 100644
--- a/restore/remote_test.go
+++ b/restore/remote_test.go
@@ -3,14 +3,14 @@
import (
"os/user"
- "github.com/greenplum-db/gp-common-go-libs/cluster"
- "github.com/greenplum-db/gp-common-go-libs/operating"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/filepath"
- "github.com/greenplum-db/gpbackup/history"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/restore"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/cloudberrydb/gp-common-go-libs/cluster"
+ "github.com/cloudberrydb/gp-common-go-libs/operating"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/filepath"
+ "github.com/cloudberrydb/gpbackup/history"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/restore"
+ "github.com/cloudberrydb/gpbackup/toc"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/restore/restore.go b/restore/restore.go
index 355d40d..6ee0f3c 100644
--- a/restore/restore.go
+++ b/restore/restore.go
@@ -9,14 +9,14 @@
"strings"
"sync"
- "github.com/greenplum-db/gp-common-go-libs/cluster"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/filepath"
- "github.com/greenplum-db/gpbackup/history"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/report"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/cluster"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/filepath"
+ "github.com/cloudberrydb/gpbackup/history"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/report"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/pkg/errors"
"github.com/spf13/cobra"
diff --git a/restore/restore_internal_test.go b/restore/restore_internal_test.go
index beb61b5..39a660a 100644
--- a/restore/restore_internal_test.go
+++ b/restore/restore_internal_test.go
@@ -1,7 +1,7 @@
package restore
import (
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/toc"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/restore/restore_suite_test.go b/restore/restore_suite_test.go
index 6378126..19323d0 100644
--- a/restore/restore_suite_test.go
+++ b/restore/restore_suite_test.go
@@ -9,9 +9,9 @@
"testing"
"github.com/DATA-DOG/go-sqlmock"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gpbackup/restore"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gpbackup/restore"
+ "github.com/cloudberrydb/gpbackup/testutils"
"github.com/spf13/pflag"
. "github.com/onsi/ginkgo/v2"
diff --git a/restore/validate.go b/restore/validate.go
index c23d865..d3693fc 100644
--- a/restore/validate.go
+++ b/restore/validate.go
@@ -5,10 +5,10 @@
"strconv"
"strings"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/pkg/errors"
"github.com/spf13/pflag"
)
diff --git a/restore/validate_test.go b/restore/validate_test.go
index 06f79b9..2c7568d 100644
--- a/restore/validate_test.go
+++ b/restore/validate_test.go
@@ -4,13 +4,13 @@
"strings"
"github.com/DATA-DOG/go-sqlmock"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/history"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/restore"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/history"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/restore"
+ "github.com/cloudberrydb/gpbackup/testutils"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/spf13/cobra"
. "github.com/onsi/ginkgo/v2"
diff --git a/restore/wrappers.go b/restore/wrappers.go
index 2ea8e13..2501e8e 100644
--- a/restore/wrappers.go
+++ b/restore/wrappers.go
@@ -6,15 +6,15 @@
"strconv"
"strings"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gp-common-go-libs/iohelper"
- "github.com/greenplum-db/gpbackup/filepath"
- "github.com/greenplum-db/gpbackup/history"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/report"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gp-common-go-libs/iohelper"
+ "github.com/cloudberrydb/gpbackup/filepath"
+ "github.com/cloudberrydb/gpbackup/history"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/report"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
)
/*
diff --git a/restore/wrappers_test.go b/restore/wrappers_test.go
index cc9f35d..c497c68 100644
--- a/restore/wrappers_test.go
+++ b/restore/wrappers_test.go
@@ -6,14 +6,14 @@
"path/filepath"
"github.com/DATA-DOG/go-sqlmock"
- "github.com/greenplum-db/gp-common-go-libs/cluster"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/history"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/restore"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/cluster"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/history"
+ "github.com/cloudberrydb/gpbackup/options"
+ "github.com/cloudberrydb/gpbackup/restore"
+ "github.com/cloudberrydb/gpbackup/testutils"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/pkg/errors"
. "github.com/onsi/ginkgo/v2"
diff --git a/show_coverage.sh b/show_coverage.sh
index 5a2d3e5..5269192 100755
--- a/show_coverage.sh
+++ b/show_coverage.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-DIR="github.com/greenplum-db/gpbackup"
+DIR="github.com/cloudberrydb/gpbackup"
RESULTS="/tmp/results.out"
go test -coverpkg $DIR/backup $DIR/integration -coverprofile=/tmp/coverage.out 2> /dev/null | awk '{print $2 " test " $4 "\t" $5}' | awk -F"/" '{print $4}' > $RESULTS
for PACKAGE in "backup" "restore" "utils"; do
diff --git a/testutils/functions.go b/testutils/functions.go
index 1819d59..254f6ea 100644
--- a/testutils/functions.go
+++ b/testutils/functions.go
@@ -7,21 +7,21 @@
"os/exec"
"strings"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gp-common-go-libs/operating"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gp-common-go-libs/operating"
"github.com/jmoiron/sqlx"
"github.com/pkg/errors"
"github.com/DATA-DOG/go-sqlmock"
- "github.com/greenplum-db/gp-common-go-libs/cluster"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/filepath"
- "github.com/greenplum-db/gpbackup/restore"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/cluster"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/backup"
+ "github.com/cloudberrydb/gpbackup/filepath"
+ "github.com/cloudberrydb/gpbackup/restore"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/sergi/go-diff/diffmatchpatch"
. "github.com/onsi/ginkgo/v2"
diff --git a/testutils/functions_test.go b/testutils/functions_test.go
index 7871227..065a178 100644
--- a/testutils/functions_test.go
+++ b/testutils/functions_test.go
@@ -3,9 +3,9 @@
import (
"testing"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gpbackup/testutils"
+ "github.com/cloudberrydb/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/utils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/toc/toc.go b/toc/toc.go
index 76d128f..94ba00f 100644
--- a/toc/toc.go
+++ b/toc/toc.go
@@ -7,8 +7,8 @@
"regexp"
"strings"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gpbackup/utils"
"gopkg.in/yaml.v2"
)
diff --git a/toc/toc_test.go b/toc/toc_test.go
index 2f7f05f..403848c 100644
--- a/toc/toc_test.go
+++ b/toc/toc_test.go
@@ -4,8 +4,8 @@
"bytes"
"testing"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/cloudberrydb/gpbackup/testutils"
+ "github.com/cloudberrydb/gpbackup/toc"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/utils/agent_remote.go b/utils/agent_remote.go
index 3e78d42..cfcad76 100644
--- a/utils/agent_remote.go
+++ b/utils/agent_remote.go
@@ -7,11 +7,11 @@
"strings"
"sync"
- "github.com/greenplum-db/gp-common-go-libs/cluster"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gp-common-go-libs/iohelper"
- "github.com/greenplum-db/gp-common-go-libs/operating"
- "github.com/greenplum-db/gpbackup/filepath"
+ "github.com/cloudberrydb/gp-common-go-libs/cluster"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gp-common-go-libs/iohelper"
+ "github.com/cloudberrydb/gp-common-go-libs/operating"
+ "github.com/cloudberrydb/gpbackup/filepath"
"github.com/pkg/errors"
)
diff --git a/utils/agent_remote_test.go b/utils/agent_remote_test.go
index 8e0e0d9..1a8c64c 100644
--- a/utils/agent_remote_test.go
+++ b/utils/agent_remote_test.go
@@ -5,11 +5,11 @@
"io"
"os"
- "github.com/greenplum-db/gp-common-go-libs/cluster"
- "github.com/greenplum-db/gp-common-go-libs/operating"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/filepath"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/cluster"
+ "github.com/cloudberrydb/gp-common-go-libs/operating"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/filepath"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/pkg/errors"
. "github.com/onsi/ginkgo/v2"
diff --git a/utils/compression_test.go b/utils/compression_test.go
index 7451b2e..18170eb 100644
--- a/utils/compression_test.go
+++ b/utils/compression_test.go
@@ -3,11 +3,11 @@
import (
"os/user"
- "github.com/greenplum-db/gp-common-go-libs/cluster"
- "github.com/greenplum-db/gp-common-go-libs/operating"
- "github.com/greenplum-db/gp-common-go-libs/structmatcher"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/cluster"
+ "github.com/cloudberrydb/gp-common-go-libs/operating"
+ "github.com/cloudberrydb/gp-common-go-libs/structmatcher"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/utils"
. "github.com/onsi/ginkgo/v2"
)
diff --git a/utils/gpexpand_sensor.go b/utils/gpexpand_sensor.go
index f2ec20a..dd10dfb 100644
--- a/utils/gpexpand_sensor.go
+++ b/utils/gpexpand_sensor.go
@@ -6,8 +6,8 @@
"path/filepath"
"github.com/blang/vfs"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
"github.com/pkg/errors"
)
diff --git a/utils/gpexpand_sensor_test.go b/utils/gpexpand_sensor_test.go
index 11b9200..0f70656 100644
--- a/utils/gpexpand_sensor_test.go
+++ b/utils/gpexpand_sensor_test.go
@@ -7,8 +7,8 @@
"github.com/DATA-DOG/go-sqlmock"
"github.com/blang/vfs"
"github.com/blang/vfs/memfs"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/pkg/errors"
. "github.com/onsi/ginkgo/v2"
diff --git a/utils/io.go b/utils/io.go
index 4097099..040c000 100644
--- a/utils/io.go
+++ b/utils/io.go
@@ -11,7 +11,7 @@
"io/ioutil"
"os"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
)
/*
diff --git a/utils/io_test.go b/utils/io_test.go
index 9c19f4b..cc2b8c5 100644
--- a/utils/io_test.go
+++ b/utils/io_test.go
@@ -4,9 +4,9 @@
"io/ioutil"
"os"
- "github.com/greenplum-db/gp-common-go-libs/operating"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/operating"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/utils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/utils/plugin.go b/utils/plugin.go
index 49a65e2..3bc28b5 100644
--- a/utils/plugin.go
+++ b/utils/plugin.go
@@ -10,11 +10,11 @@
"time"
"github.com/blang/semver"
- "github.com/greenplum-db/gp-common-go-libs/cluster"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gp-common-go-libs/iohelper"
- "github.com/greenplum-db/gp-common-go-libs/operating"
- "github.com/greenplum-db/gpbackup/filepath"
+ "github.com/cloudberrydb/gp-common-go-libs/cluster"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gp-common-go-libs/iohelper"
+ "github.com/cloudberrydb/gp-common-go-libs/operating"
+ "github.com/cloudberrydb/gpbackup/filepath"
"github.com/pkg/errors"
"gopkg.in/yaml.v2"
)
diff --git a/utils/plugin_test.go b/utils/plugin_test.go
index 753e953..95ee6d6 100644
--- a/utils/plugin_test.go
+++ b/utils/plugin_test.go
@@ -10,12 +10,12 @@
"strings"
"github.com/blang/semver"
- "github.com/greenplum-db/gp-common-go-libs/cluster"
- "github.com/greenplum-db/gp-common-go-libs/iohelper"
- "github.com/greenplum-db/gp-common-go-libs/operating"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/cluster"
+ "github.com/cloudberrydb/gp-common-go-libs/iohelper"
+ "github.com/cloudberrydb/gp-common-go-libs/operating"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/testutils"
+ "github.com/cloudberrydb/gpbackup/utils"
"github.com/pkg/errors"
. "github.com/onsi/ginkgo/v2"
diff --git a/utils/progress_bar.go b/utils/progress_bar.go
index 6dbdcbd..8ba4190 100644
--- a/utils/progress_bar.go
+++ b/utils/progress_bar.go
@@ -7,7 +7,7 @@
import (
"time"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
"gopkg.in/cheggaaa/pb.v1"
)
diff --git a/utils/progress_bar_test.go b/utils/progress_bar_test.go
index 04cebd1..dc9a167 100644
--- a/utils/progress_bar_test.go
+++ b/utils/progress_bar_test.go
@@ -6,10 +6,10 @@
"os/user"
"time"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gp-common-go-libs/operating"
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gp-common-go-libs/operating"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/utils"
"gopkg.in/cheggaaa/pb.v1"
. "github.com/onsi/ginkgo/v2"
diff --git a/utils/set_test.go b/utils/set_test.go
index bd8dc24..c12f90b 100644
--- a/utils/set_test.go
+++ b/utils/set_test.go
@@ -1,7 +1,7 @@
package utils_test
import (
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gpbackup/utils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/utils/util.go b/utils/util.go
index 299f182..a274cae 100644
--- a/utils/util.go
+++ b/utils/util.go
@@ -16,10 +16,10 @@
"strings"
"time"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gp-common-go-libs/gplog"
- "github.com/greenplum-db/gp-common-go-libs/operating"
- "github.com/greenplum-db/gpbackup/filepath"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gp-common-go-libs/gplog"
+ "github.com/cloudberrydb/gp-common-go-libs/operating"
+ "github.com/cloudberrydb/gpbackup/filepath"
"github.com/pkg/errors"
"golang.org/x/sys/unix"
)
diff --git a/utils/util_test.go b/utils/util_test.go
index d2a6184..2fd41d7 100644
--- a/utils/util_test.go
+++ b/utils/util_test.go
@@ -1,8 +1,8 @@
package utils_test
import (
- "github.com/greenplum-db/gp-common-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/cloudberrydb/gp-common-go-libs/testhelper"
+ "github.com/cloudberrydb/gpbackup/utils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/utils/utils_suite_test.go b/utils/utils_suite_test.go
index 07d6d40..21a2d66 100644
--- a/utils/utils_suite_test.go
+++ b/utils/utils_suite_test.go
@@ -4,8 +4,8 @@
"testing"
"github.com/DATA-DOG/go-sqlmock"
- "github.com/greenplum-db/gp-common-go-libs/dbconn"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/cloudberrydb/gp-common-go-libs/dbconn"
+ "github.com/cloudberrydb/gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"