This is an automated email from the ASF dual-hosted git repository.
djwang pushed a commit to branch sync-with-upstream
in repository https://gitbox.apache.org/repos/asf/cloudberry-gpbackup.git
The following commit(s) were added to refs/heads/sync-with-upstream by this
push:
new e8cc9147 refactor: Rename module from greenplum-db/gpbackup to
apache/cloudberry-gpbackup
e8cc9147 is described below
commit e8cc91473d068f94b52b135a08618fac4049ce71
Author: Robert Mu <[email protected]>
AuthorDate: Thu Sep 11 09:25:15 2025 +0800
refactor: Rename module from greenplum-db/gpbackup to
apache/cloudberry-gpbackup
---
.github/workflows/build_and_unit_test.yml | 8 ++++----
CONTRIBUTING.md | 4 ++--
Makefile | 6 +++---
README.md | 8 ++++----
backup/backup.go | 12 ++++++------
backup/backup_suite_test.go | 8 ++++----
backup/data.go | 4 ++--
backup/data_test.go | 12 ++++++------
backup/dependencies.go | 4 ++--
backup/dependencies_test.go | 4 ++--
backup/global_variables.go | 10 +++++-----
backup/incremental.go | 8 ++++----
backup/incremental_test.go | 12 ++++++------
backup/metadata_globals.go | 4 ++--
backup/metadata_globals_test.go | 6 +++---
backup/postdata.go | 4 ++--
backup/postdata_test.go | 6 +++---
backup/predata_acl.go | 4 ++--
backup/predata_acl_test.go | 6 +++---
backup/predata_externals.go | 4 ++--
backup/predata_externals_test.go | 6 +++---
backup/predata_functions.go | 4 ++--
backup/predata_functions_test.go | 6 +++---
backup/predata_operators.go | 4 ++--
backup/predata_operators_test.go | 6 +++---
backup/predata_relations.go | 6 +++---
backup/predata_relations_other_test.go | 8 ++++----
backup/predata_relations_tables_test.go | 6 +++---
backup/predata_shared.go | 4 ++--
backup/predata_shared_test.go | 6 +++---
backup/predata_textsearch.go | 4 ++--
backup/predata_textsearch_test.go | 6 +++---
backup/predata_types.go | 4 ++--
backup/predata_types_test.go | 6 +++---
backup/queries_acl.go | 2 +-
backup/queries_acl_test.go | 4 ++--
backup/queries_externals.go | 2 +-
backup/queries_functions.go | 4 ++--
backup/queries_functions_test.go | 2 +-
backup/queries_globals.go | 4 ++--
backup/queries_incremental.go | 2 +-
backup/queries_operators.go | 4 ++--
backup/queries_postdata.go | 4 ++--
backup/queries_postdata_test.go | 2 +-
backup/queries_relation_test.go | 2 +-
backup/queries_relations.go | 6 +++---
backup/queries_shared.go | 6 +++---
backup/queries_shared_test.go | 4 ++--
backup/queries_statistics.go | 2 +-
backup/queries_table_defs.go | 4 ++--
backup/queries_textsearch.go | 4 ++--
backup/queries_types.go | 4 ++--
backup/statistics.go | 4 ++--
backup/statistics_test.go | 6 +++---
backup/validate.go | 8 ++++----
backup/validate_test.go | 4 ++--
backup/wrappers.go | 10 +++++-----
ci/cleanup/plugin-cleanup.yml | 2 +-
ci/gpbackup-generated.yml | 4 ++--
ci/gpbackup-release-generated.yml | 4 ++--
ci/regression/regression_pipeline.yml | 4 ++--
ci/scale/scale_pipeline.yml | 2 +-
ci/scripts/all-tests.bash | 2 +-
ci/scripts/build-go-binaries.bash | 4 ++--
ci/scripts/ddboost-plugin-perf.bash | 2 +-
ci/scripts/ddboost-plugin-tests.bash | 4 ++--
ci/scripts/icw-migr-backup.bash | 2 +-
ci/scripts/icw-migr-restore.bash | 2 +-
ci/scripts/s3-plugin-perf.bash | 2 +-
ci/scripts/s3-plugin-tests.bash | 4 ++--
ci/scripts/setup-cluster-env.bash | 2 +-
ci/scripts/test-gpbackup-manager.bash | 2 +-
ci/scripts/test-on-local-cluster.bash | 4 ++--
ci/tasks/build-go-binaries.yml | 6 +++---
ci/templates/gpbackup-tpl.yml | 4 ++--
end_to_end/end_to_end_suite_test.go | 18 +++++++++---------
end_to_end/filtered_test.go | 2 +-
end_to_end/incremental_test.go | 2 +-
end_to_end/locks_test.go | 4 ++--
end_to_end/plugin_test.go | 6 +++---
filepath/filepath_test.go | 2 +-
go.mod | 2 +-
gpbackup.go | 5 +++--
gpbackup_helper.go | 3 ++-
gppkg/gpbackup_control.in | 2 +-
gprestore.go | 5 +++--
helper/backup_helper.go | 4 ++--
helper/helper.go | 2 +-
helper/restore_helper.go | 4 ++--
history/history.go | 2 +-
history/history_test.go | 2 +-
integration/agent_remote_test.go | 4 ++--
integration/data_backup_test.go | 8 ++++----
integration/dependency_queries_test.go | 4 ++--
integration/gpexpand_not_running_test.go | 8 ++++----
integration/incremental_queries_test.go | 6 +++---
integration/integration_suite_test.go | 10 +++++-----
integration/metadata_globals_create_test.go | 6 +++---
integration/metadata_globals_queries_test.go | 4 ++--
integration/options_integration_test.go | 4 ++--
integration/parallel_queries_test.go | 6 +++---
integration/postdata_create_test.go | 6 +++---
integration/postdata_queries_test.go | 6 +++---
integration/predata_acl_create_test.go | 6 +++---
integration/predata_acl_queries_test.go | 8 ++++----
integration/predata_externals_create_test.go | 4 ++--
integration/predata_externals_queries_test.go | 4 ++--
integration/predata_functions_create_test.go | 6 +++---
integration/predata_functions_queries_test.go | 6 +++---
integration/predata_operators_create_test.go | 6 +++---
integration/predata_operators_queries_test.go | 6 +++---
integration/predata_relations_create_test.go | 6 +++---
integration/predata_relations_queries_test.go | 6 +++---
integration/predata_shared_create_test.go | 6 +++---
integration/predata_shared_queries_test.go | 6 +++---
integration/predata_table_defs_queries_test.go | 6 +++---
integration/predata_textsearch_create_test.go | 6 +++---
integration/predata_textsearch_queries_test.go | 4 ++--
integration/predata_types_create_test.go | 6 +++---
integration/predata_types_queries_test.go | 6 +++---
integration/snapshot_test.go | 4 ++--
integration/statistics_create_test.go | 4 ++--
integration/statistics_queries_test.go | 4 ++--
integration/utils_test.go | 6 +++---
integration/wrappers_test.go | 4 ++--
options/flag_test.go | 2 +-
options/options.go | 2 +-
options/options_test.go | 2 +-
plugins/README.md | 6 +++---
plugins/example_plugin_config.yaml | 2 +-
report/report.go | 4 ++--
report/report_test.go | 14 +++++++-------
restore/data.go | 8 ++++----
restore/data_test.go | 10 +++++-----
restore/global_variables.go | 10 +++++-----
restore/parallel.go | 6 +++---
restore/parallel_test.go | 4 ++--
restore/remote.go | 2 +-
restore/remote_test.go | 10 +++++-----
restore/restore.go | 12 ++++++------
restore/restore_internal_test.go | 2 +-
restore/restore_suite_test.go | 4 ++--
restore/validate.go | 6 +++---
restore/validate_test.go | 12 ++++++------
restore/wrappers.go | 12 ++++++------
restore/wrappers_test.go | 12 ++++++------
testutils/functions.go | 10 +++++-----
testutils/functions_test.go | 6 +++---
toc/toc.go | 2 +-
toc/toc_test.go | 4 ++--
utils/agent_remote.go | 2 +-
utils/agent_remote_test.go | 4 ++--
utils/compression_test.go | 2 +-
utils/gpexpand_sensor_test.go | 2 +-
utils/io_test.go | 2 +-
utils/plugin.go | 2 +-
utils/plugin_test.go | 2 +-
utils/progress_bar_test.go | 2 +-
utils/set_test.go | 2 +-
utils/util.go | 2 +-
utils/util_test.go | 2 +-
utils/utils_suite_test.go | 2 +-
162 files changed, 405 insertions(+), 402 deletions(-)
diff --git a/.github/workflows/build_and_unit_test.yml
b/.github/workflows/build_and_unit_test.yml
index 291a680b..e2929ff2 100644
--- a/.github/workflows/build_and_unit_test.yml
+++ b/.github/workflows/build_and_unit_test.yml
@@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- path: go/src/github.com/greenplum-db/gpbackup
+ path: go/src/github.com/apache/cloudberry-gpbackup
- name: Set up Go
uses: actions/setup-go@v2
@@ -29,15 +29,15 @@ jobs:
- name: Dependencies
run: |
- cd ${GOPATH}/src/github.com/greenplum-db/gpbackup
+ cd ${GOPATH}/src/github.com/apache/cloudberry-gpbackup
make depend
- name: Build
run: |
- cd ${GOPATH}/src/github.com/greenplum-db/gpbackup
+ cd ${GOPATH}/src/github.com/apache/cloudberry-gpbackup
make build
- name: Unit Test
run: |
- cd ${GOPATH}/src/github.com/greenplum-db/gpbackup
+ cd ${GOPATH}/src/github.com/apache/cloudberry-gpbackup
make unit_all_gpdb_versions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index aebfa4c8..5f0cae00 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -2,7 +2,7 @@
We warmly welcome and greatly appreciate contributions from the
community. By participating you agree to the [code of
-conduct](https://github.com/greenplum-db/gpbackup/blob/main/CODE-OF-CONDUCT.md).
+conduct](https://github.com/apache/cloudberry-gpbackup/blob/main/CODE-OF-CONDUCT.md).
Overall, we follow GPDB's comprehensive contribution policy. Please
refer to it [here](https://github.com/greenplum-db/gpdb#contributing)
for details.
@@ -11,7 +11,7 @@ for details.
* Sign our [Contributor License
Agreement](https://cla.vmware.com/cla/1/preview)
* Fork the gpbackup repository on GitHub
-* Run `go get github.com/greenplum-db/gpbackup/...` and add your fork as a
remote
+* Run `go get github.com/apache/cloudberry-gpbackup/...` and add your fork as
a remote
* Run `make depend` to install required dependencies
* Follow the README to set up your environment and run the tests
diff --git a/Makefile b/Makefile
index b741bd6f..3d5a9d5a 100644
--- a/Makefile
+++ b/Makefile
@@ -11,9 +11,9 @@ HELPER=gpbackup_helper
BIN_DIR=$(shell echo $${GOPATH:-~/go} | awk -F':' '{ print $$1 "/bin"}')
GINKGO_FLAGS := -r --keep-going --randomize-suites --randomize-all --no-color
GIT_VERSION := $(shell git describe --tags | perl -pe
's/(.*)-([0-9]*)-(g[0-9a-f]*)/\1+dev.\2.\3/')
-BACKUP_VERSION_STR=github.com/greenplum-db/gpbackup/backup.version=$(GIT_VERSION)
-RESTORE_VERSION_STR=github.com/greenplum-db/gpbackup/restore.version=$(GIT_VERSION)
-HELPER_VERSION_STR=github.com/greenplum-db/gpbackup/helper.version=$(GIT_VERSION)
+BACKUP_VERSION_STR=github.com/apache/cloudberry-gpbackup/backup.version=$(GIT_VERSION)
+RESTORE_VERSION_STR=github.com/apache/cloudberry-gpbackup/restore.version=$(GIT_VERSION)
+HELPER_VERSION_STR=github.com/apache/cloudberry-gpbackup/helper.version=$(GIT_VERSION)
# note that /testutils is not a production directory, but has unit tests to
validate testing tools
SUBDIRS_HAS_UNIT=backup/ filepath/ history/ helper/ options/ report/ restore/
toc/ utils/ testutils/
diff --git a/README.md b/README.md
index fef6cce4..6c26c1d4 100644
--- a/README.md
+++ b/README.md
@@ -10,10 +10,10 @@ The project also has a dependency on `sqlite3`. This is
installed by default on
## Downloading
```bash
-go get github.com/greenplum-db/gpbackup/...
+go get github.com/apache/cloudberry-gpbackup/...
```
-This will place the code in `$GOPATH/github.com/greenplum-db/gpbackup`.
+This will place the code in `$GOPATH/github.com/apache/cloudberry-gpbackup`.
## Building and installing binaries
@@ -118,11 +118,11 @@ make clean
# More Information
-The Greenplum Backup [wiki](https://github.com/greenplum-db/gpbackup/wiki) for
this project has several articles providing a more in-depth explanation of
certain aspects of gpbackup and gprestore.
+The Greenplum Backup
[wiki](https://github.com/apache/cloudberry-gpbackup/wiki) for this project has
several articles providing a more in-depth explanation of certain aspects of
gpbackup and gprestore.
# How to Contribute
-See [CONTRIBUTING.md
file](https://github.com/greenplum-db/gpbackup/blob/master/CONTRIBUTING.md).
+See [CONTRIBUTING.md
file](https://github.com/apache/cloudberry-gpbackup/blob/master/CONTRIBUTING.md).
# Code Formatting
diff --git a/backup/backup.go b/backup/backup.go
index 6595f3c3..448b8c5d 100644
--- a/backup/backup.go
+++ b/backup/backup.go
@@ -15,12 +15,12 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/gplog"
"github.com/apache/cloudberry-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/apache/cloudberry-gpbackup/filepath"
+ "github.com/apache/cloudberry-gpbackup/history"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/report"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/spf13/cobra"
)
diff --git a/backup/backup_suite_test.go b/backup/backup_suite_test.go
index f7a54b1b..9dadfb57 100644
--- a/backup/backup_suite_test.go
+++ b/backup/backup_suite_test.go
@@ -10,10 +10,10 @@ import (
"github.com/DATA-DOG/go-sqlmock"
"github.com/apache/cloudberry-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/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/spf13/pflag"
. "github.com/onsi/ginkgo/v2"
diff --git a/backup/data.go b/backup/data.go
index c4b3d315..e93a332b 100644
--- a/backup/data.go
+++ b/backup/data.go
@@ -14,8 +14,8 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/jackc/pgconn"
"gopkg.in/cheggaaa/pb.v1"
)
diff --git a/backup/data_test.go b/backup/data_test.go
index 2743d132..19975e60 100644
--- a/backup/data_test.go
+++ b/backup/data_test.go
@@ -5,12 +5,12 @@ import (
"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/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/history"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/report"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
"gopkg.in/cheggaaa/pb.v1"
. "github.com/onsi/ginkgo/v2"
diff --git a/backup/dependencies.go b/backup/dependencies.go
index 4c0bb135..18ad5071 100644
--- a/backup/dependencies.go
+++ b/backup/dependencies.go
@@ -7,8 +7,8 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/pkg/errors"
)
diff --git a/backup/dependencies_test.go b/backup/dependencies_test.go
index 85288b6c..16387f4b 100644
--- a/backup/dependencies_test.go
+++ b/backup/dependencies_test.go
@@ -5,8 +5,8 @@ import (
"fmt"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/backup/global_variables.go b/backup/global_variables.go
index f4107221..e9bafa0f 100644
--- a/backup/global_variables.go
+++ b/backup/global_variables.go
@@ -5,11 +5,11 @@ import (
"github.com/apache/cloudberry-go-libs/cluster"
"github.com/apache/cloudberry-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/apache/cloudberry-gpbackup/filepath"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/report"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/nightlyone/lockfile"
"github.com/spf13/pflag"
)
diff --git a/backup/incremental.go b/backup/incremental.go
index 0a925ab2..c05ab7de 100644
--- a/backup/incremental.go
+++ b/backup/incremental.go
@@ -6,10 +6,10 @@ import (
"github.com/apache/cloudberry-go-libs/gplog"
"github.com/apache/cloudberry-go-libs/operating"
- "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/apache/cloudberry-gpbackup/history"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/pkg/errors"
)
diff --git a/backup/incremental_test.go b/backup/incremental_test.go
index 6bd28f35..dc792636 100644
--- a/backup/incremental_test.go
+++ b/backup/incremental_test.go
@@ -6,12 +6,12 @@ import (
"github.com/apache/cloudberry-go-libs/operating"
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-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/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/filepath"
+ "github.com/apache/cloudberry-gpbackup/history"
+ "github.com/apache/cloudberry-gpbackup/report"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/backup/metadata_globals.go b/backup/metadata_globals.go
index d9f1a90d..62951bab 100644
--- a/backup/metadata_globals.go
+++ b/backup/metadata_globals.go
@@ -7,8 +7,8 @@ import (
"strings"
"github.com/apache/cloudberry-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
)
/*
diff --git a/backup/metadata_globals_test.go b/backup/metadata_globals_test.go
index 43d55a09..a8343e16 100644
--- a/backup/metadata_globals_test.go
+++ b/backup/metadata_globals_test.go
@@ -4,9 +4,9 @@ import (
"fmt"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "github.com/onsi/ginkgo/v2"
)
diff --git a/backup/postdata.go b/backup/postdata.go
index 52492ef6..b2df8ef2 100644
--- a/backup/postdata.go
+++ b/backup/postdata.go
@@ -10,8 +10,8 @@ import (
"strings"
"github.com/apache/cloudberry-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/pkg/errors"
)
diff --git a/backup/postdata_test.go b/backup/postdata_test.go
index ebd2f585..5b341799 100644
--- a/backup/postdata_test.go
+++ b/backup/postdata_test.go
@@ -4,9 +4,9 @@ import (
"database/sql"
"fmt"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "github.com/onsi/ginkgo/v2"
)
diff --git a/backup/predata_acl.go b/backup/predata_acl.go
index bb12362e..e123550f 100644
--- a/backup/predata_acl.go
+++ b/backup/predata_acl.go
@@ -7,8 +7,8 @@ import (
"sort"
"strings"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
)
var ACLRegex = regexp.MustCompile(`^(.*)=([a-zA-Z\*]*)/(.*)$`)
diff --git a/backup/predata_acl_test.go b/backup/predata_acl_test.go
index 9248f0ec..fe798323 100644
--- a/backup/predata_acl_test.go
+++ b/backup/predata_acl_test.go
@@ -7,9 +7,9 @@ import (
"github.com/DATA-DOG/go-sqlmock"
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/backup/predata_externals.go b/backup/predata_externals.go
index f463dc8e..f2fa906e 100644
--- a/backup/predata_externals.go
+++ b/backup/predata_externals.go
@@ -11,8 +11,8 @@ import (
"fmt"
"strings"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
)
const (
diff --git a/backup/predata_externals_test.go b/backup/predata_externals_test.go
index ea4cf03e..e067eec6 100644
--- a/backup/predata_externals_test.go
+++ b/backup/predata_externals_test.go
@@ -4,9 +4,9 @@ import (
"database/sql"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/backup/predata_functions.go b/backup/predata_functions.go
index 517b77f7..174b9433 100644
--- a/backup/predata_functions.go
+++ b/backup/predata_functions.go
@@ -10,8 +10,8 @@ import (
"fmt"
"github.com/apache/cloudberry-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
)
func PrintCreateFunctionStatement(metadataFile *utils.FileWithByteCount,
objToc *toc.TOC, funcDef Function, funcMetadata ObjectMetadata) {
diff --git a/backup/predata_functions_test.go b/backup/predata_functions_test.go
index dc3fbbc4..9a9231be 100644
--- a/backup/predata_functions_test.go
+++ b/backup/predata_functions_test.go
@@ -5,9 +5,9 @@ import (
"fmt"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/backup/predata_operators.go b/backup/predata_operators.go
index 3d94c34a..7ffd6aa1 100644
--- a/backup/predata_operators.go
+++ b/backup/predata_operators.go
@@ -11,8 +11,8 @@ import (
"fmt"
"strings"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
)
func PrintCreateOperatorStatement(metadataFile *utils.FileWithByteCount,
objToc *toc.TOC, operator Operator, operatorMetadata ObjectMetadata) {
diff --git a/backup/predata_operators_test.go b/backup/predata_operators_test.go
index 62c63bf7..ce2ccd55 100644
--- a/backup/predata_operators_test.go
+++ b/backup/predata_operators_test.go
@@ -3,9 +3,9 @@ package backup_test
import (
"fmt"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "github.com/onsi/ginkgo/v2"
)
diff --git a/backup/predata_relations.go b/backup/predata_relations.go
index 7e3b97ae..604e9b70 100644
--- a/backup/predata_relations.go
+++ b/backup/predata_relations.go
@@ -15,9 +15,9 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/spf13/pflag"
)
diff --git a/backup/predata_relations_other_test.go
b/backup/predata_relations_other_test.go
index f25636b3..aa646c9b 100644
--- a/backup/predata_relations_other_test.go
+++ b/backup/predata_relations_other_test.go
@@ -8,10 +8,10 @@ import (
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "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 6ce28658..c300dc5b 100644
--- a/backup/predata_relations_tables_test.go
+++ b/backup/predata_relations_tables_test.go
@@ -4,9 +4,9 @@ import (
"database/sql"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "github.com/onsi/ginkgo/v2"
)
diff --git a/backup/predata_shared.go b/backup/predata_shared.go
index 8e3d96ea..000d7811 100644
--- a/backup/predata_shared.go
+++ b/backup/predata_shared.go
@@ -8,8 +8,8 @@ package backup
import (
"github.com/apache/cloudberry-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/pkg/errors"
)
diff --git a/backup/predata_shared_test.go b/backup/predata_shared_test.go
index 6e494e7b..70803cdb 100644
--- a/backup/predata_shared_test.go
+++ b/backup/predata_shared_test.go
@@ -3,9 +3,9 @@ package backup_test
import (
"database/sql"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "github.com/onsi/ginkgo/v2"
)
diff --git a/backup/predata_textsearch.go b/backup/predata_textsearch.go
index d8b1b111..1739c3b8 100644
--- a/backup/predata_textsearch.go
+++ b/backup/predata_textsearch.go
@@ -10,8 +10,8 @@ import (
"sort"
"strings"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
)
func PrintCreateTextSearchParserStatement(metadataFile
*utils.FileWithByteCount, objToc *toc.TOC, parser TextSearchParser,
parserMetadata ObjectMetadata) {
diff --git a/backup/predata_textsearch_test.go
b/backup/predata_textsearch_test.go
index a4699f2b..ac756071 100644
--- a/backup/predata_textsearch_test.go
+++ b/backup/predata_textsearch_test.go
@@ -1,9 +1,9 @@
package backup_test
import (
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "github.com/onsi/ginkgo/v2"
)
diff --git a/backup/predata_types.go b/backup/predata_types.go
index 7eacd757..411874d4 100644
--- a/backup/predata_types.go
+++ b/backup/predata_types.go
@@ -10,8 +10,8 @@ import (
"strings"
"github.com/apache/cloudberry-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/pkg/errors"
)
diff --git a/backup/predata_types_test.go b/backup/predata_types_test.go
index 12645ce0..9ed9d56d 100644
--- a/backup/predata_types_test.go
+++ b/backup/predata_types_test.go
@@ -4,9 +4,9 @@ import (
"database/sql"
"fmt"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "github.com/onsi/ginkgo/v2"
)
diff --git a/backup/queries_acl.go b/backup/queries_acl.go
index d1506fbb..ed95a4dc 100644
--- a/backup/queries_acl.go
+++ b/backup/queries_acl.go
@@ -12,7 +12,7 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/toc"
)
/*
diff --git a/backup/queries_acl_test.go b/backup/queries_acl_test.go
index 4fea7fad..bca09a27 100644
--- a/backup/queries_acl_test.go
+++ b/backup/queries_acl_test.go
@@ -7,8 +7,8 @@ import (
"github.com/DATA-DOG/go-sqlmock"
"github.com/apache/cloudberry-go-libs/structmatcher"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/backup/queries_externals.go b/backup/queries_externals.go
index 34370670..a8c86080 100644
--- a/backup/queries_externals.go
+++ b/backup/queries_externals.go
@@ -8,7 +8,7 @@ package backup
import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/toc"
)
func GetExternalTableDefinitions(connectionPool *dbconn.DBConn)
map[uint32]ExternalTableDefinition {
diff --git a/backup/queries_functions.go b/backup/queries_functions.go
index 3b125089..15882ccd 100644
--- a/backup/queries_functions.go
+++ b/backup/queries_functions.go
@@ -13,8 +13,8 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
)
type Function struct {
diff --git a/backup/queries_functions_test.go b/backup/queries_functions_test.go
index bde4b9dc..3be744de 100644
--- a/backup/queries_functions_test.go
+++ b/backup/queries_functions_test.go
@@ -6,7 +6,7 @@ import (
"github.com/DATA-DOG/go-sqlmock"
"github.com/apache/cloudberry-go-libs/structmatcher"
- "github.com/greenplum-db/gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/backup"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/backup/queries_globals.go b/backup/queries_globals.go
index 092d7d27..d1118505 100644
--- a/backup/queries_globals.go
+++ b/backup/queries_globals.go
@@ -10,8 +10,8 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
)
type SessionGUCs struct {
diff --git a/backup/queries_incremental.go b/backup/queries_incremental.go
index a1f0a8c4..83fa96f6 100644
--- a/backup/queries_incremental.go
+++ b/backup/queries_incremental.go
@@ -5,7 +5,7 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/toc"
)
func GetAOIncrementalMetadata(connectionPool *dbconn.DBConn)
map[string]toc.AOEntry {
diff --git a/backup/queries_operators.go b/backup/queries_operators.go
index 6e6d487e..a567d6ed 100644
--- a/backup/queries_operators.go
+++ b/backup/queries_operators.go
@@ -10,8 +10,8 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
)
type Operator struct {
diff --git a/backup/queries_postdata.go b/backup/queries_postdata.go
index 11e99de1..ab0bc5d4 100644
--- a/backup/queries_postdata.go
+++ b/backup/queries_postdata.go
@@ -12,8 +12,8 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
)
/*
diff --git a/backup/queries_postdata_test.go b/backup/queries_postdata_test.go
index d3fcfa58..6eba8d04 100644
--- a/backup/queries_postdata_test.go
+++ b/backup/queries_postdata_test.go
@@ -6,7 +6,7 @@ import (
"github.com/DATA-DOG/go-sqlmock"
"github.com/apache/cloudberry-go-libs/structmatcher"
- "github.com/greenplum-db/gpbackup/backup"
+ "github.com/apache/cloudberry-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 93e8d2b1..b82be0b0 100644
--- a/backup/queries_relation_test.go
+++ b/backup/queries_relation_test.go
@@ -7,7 +7,7 @@ import (
"github.com/DATA-DOG/go-sqlmock"
"github.com/apache/cloudberry-go-libs/structmatcher"
- "github.com/greenplum-db/gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/backup"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/backup/queries_relations.go b/backup/queries_relations.go
index 74642d01..541869fa 100644
--- a/backup/queries_relations.go
+++ b/backup/queries_relations.go
@@ -13,9 +13,9 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/pkg/errors"
)
diff --git a/backup/queries_shared.go b/backup/queries_shared.go
index 538ab061..97dc2359 100644
--- a/backup/queries_shared.go
+++ b/backup/queries_shared.go
@@ -12,9 +12,9 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
)
/*
diff --git a/backup/queries_shared_test.go b/backup/queries_shared_test.go
index 8ccadfce..42f2c064 100644
--- a/backup/queries_shared_test.go
+++ b/backup/queries_shared_test.go
@@ -6,8 +6,8 @@ import (
"github.com/DATA-DOG/go-sqlmock"
"github.com/apache/cloudberry-go-libs/structmatcher"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/backup/queries_statistics.go b/backup/queries_statistics.go
index 854f68e0..5ae88cd9 100644
--- a/backup/queries_statistics.go
+++ b/backup/queries_statistics.go
@@ -10,7 +10,7 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/lib/pq"
)
diff --git a/backup/queries_table_defs.go b/backup/queries_table_defs.go
index 6f5ad9a1..7f6bb6f1 100644
--- a/backup/queries_table_defs.go
+++ b/backup/queries_table_defs.go
@@ -13,8 +13,8 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/toc"
)
type Table struct {
diff --git a/backup/queries_textsearch.go b/backup/queries_textsearch.go
index 8018cded..98df97b9 100644
--- a/backup/queries_textsearch.go
+++ b/backup/queries_textsearch.go
@@ -10,8 +10,8 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
)
type TextSearchParser struct {
diff --git a/backup/queries_types.go b/backup/queries_types.go
index cc6b663a..a8f7e265 100644
--- a/backup/queries_types.go
+++ b/backup/queries_types.go
@@ -10,8 +10,8 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
)
func GetTypeMetadataEntry(schema string, name string) (string,
toc.MetadataEntry) {
diff --git a/backup/statistics.go b/backup/statistics.go
index c84c0a57..0b5a47ca 100644
--- a/backup/statistics.go
+++ b/backup/statistics.go
@@ -9,8 +9,8 @@ import (
"fmt"
"strings"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/lib/pq"
)
diff --git a/backup/statistics_test.go b/backup/statistics_test.go
index ca4eda08..207d606c 100644
--- a/backup/statistics_test.go
+++ b/backup/statistics_test.go
@@ -3,9 +3,9 @@ package backup_test
import (
"fmt"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
"github.com/lib/pq"
. "github.com/onsi/ginkgo/v2"
diff --git a/backup/validate.go b/backup/validate.go
index a3bc2886..6a1b302a 100644
--- a/backup/validate.go
+++ b/backup/validate.go
@@ -5,10 +5,10 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-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/apache/cloudberry-gpbackup/filepath"
+ "github.com/apache/cloudberry-gpbackup/history"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/pkg/errors"
"github.com/spf13/pflag"
)
diff --git a/backup/validate_test.go b/backup/validate_test.go
index 37d953ec..4ee2922a 100644
--- a/backup/validate_test.go
+++ b/backup/validate_test.go
@@ -5,8 +5,8 @@ import (
"github.com/DATA-DOG/go-sqlmock"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/options"
"github.com/spf13/cobra"
. "github.com/onsi/ginkgo/v2"
diff --git a/backup/wrappers.go b/backup/wrappers.go
index 4fc5e925..50593597 100644
--- a/backup/wrappers.go
+++ b/backup/wrappers.go
@@ -9,11 +9,11 @@ import (
"github.com/apache/cloudberry-go-libs/cluster"
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-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/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/history"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/report"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/nightlyone/lockfile"
"github.com/pkg/errors"
)
diff --git a/ci/cleanup/plugin-cleanup.yml b/ci/cleanup/plugin-cleanup.yml
index 9b4cf497..7cae5833 100644
--- a/ci/cleanup/plugin-cleanup.yml
+++ b/ci/cleanup/plugin-cleanup.yml
@@ -36,7 +36,7 @@ resources:
type: git
icon: github-circle
source:
- uri: https://github.com/greenplum-db/gpbackup
+ uri: https://github.com/apache/cloudberry-gpbackup
branch: ((gpbackup-git-branch))
##############################################
diff --git a/ci/gpbackup-generated.yml b/ci/gpbackup-generated.yml
index 8c99c3cf..3e83b6c9 100644
--- a/ci/gpbackup-generated.yml
+++ b/ci/gpbackup-generated.yml
@@ -260,7 +260,7 @@ resources:
type: git
icon: github-circle
source:
- uri: https://github.com/greenplum-db/gpbackup
+ uri: https://github.com/apache/cloudberry-gpbackup
branch: ((gpbackup-git-branch))
- name: gpbackup_s3_plugin
@@ -268,7 +268,7 @@ resources:
icon: github-circle
source:
branch: main
- uri: https://github.com/greenplum-db/gpbackup-s3-plugin
+ uri: https://github.com/apache/cloudberry-gpbackup-s3-plugin
- name: gpbackup_ddboost_plugin
type: git
diff --git a/ci/gpbackup-release-generated.yml
b/ci/gpbackup-release-generated.yml
index 71c28825..fb391f8c 100644
--- a/ci/gpbackup-release-generated.yml
+++ b/ci/gpbackup-release-generated.yml
@@ -251,7 +251,7 @@ resources:
type: git
icon: github-circle
source:
- uri: https://github.com/greenplum-db/gpbackup
+ uri: https://github.com/apache/cloudberry-gpbackup
branch: ((gpbackup-git-branch))
tag_filter: 1.*
@@ -260,7 +260,7 @@ resources:
icon: github-circle
source:
branch: main
- uri: https://github.com/greenplum-db/gpbackup-s3-plugin
+ uri: https://github.com/apache/cloudberry-gpbackup-s3-plugin
tag_filter: 1.*
- name: gpbackup_ddboost_plugin
diff --git a/ci/regression/regression_pipeline.yml
b/ci/regression/regression_pipeline.yml
index 30cc37e9..9d640f70 100644
--- a/ci/regression/regression_pipeline.yml
+++ b/ci/regression/regression_pipeline.yml
@@ -72,7 +72,7 @@ resources:
type: git
icon: github-circle
source:
- uri: https://github.com/greenplum-db/gpbackup
+ uri: https://github.com/apache/cloudberry-gpbackup
branch: ((gpbackup-git-branch))
- name: gpbackup_s3_plugin
@@ -80,7 +80,7 @@ resources:
icon: github-circle
source:
branch: ((dp/prod/gpbackup-s3-plugin-git-branch))
- uri: https://github.com/greenplum-db/gpbackup-s3-plugin
+ uri: https://github.com/apache/cloudberry-gpbackup-s3-plugin
- name: gpbackup_ddboost_plugin
type: git
diff --git a/ci/scale/scale_pipeline.yml b/ci/scale/scale_pipeline.yml
index 58a68713..516ea495 100644
--- a/ci/scale/scale_pipeline.yml
+++ b/ci/scale/scale_pipeline.yml
@@ -50,7 +50,7 @@ resources:
type: git
icon: github-circle
source:
- uri: https://github.com/greenplum-db/gpbackup
+ uri: https://github.com/apache/cloudberry-gpbackup
branch: ((gpbackup-git-branch))
- name: gpdb6_src
diff --git a/ci/scripts/all-tests.bash b/ci/scripts/all-tests.bash
index a90401af..9ff526e0 100755
--- a/ci/scripts/all-tests.bash
+++ b/ci/scripts/all-tests.bash
@@ -24,7 +24,7 @@ cat <<SCRIPT > /tmp/run_tests.bash
set -ex
source env.sh
- cd \${GOPATH}/src/github.com/greenplum-db/gpbackup
+ cd \${GOPATH}/src/github.com/apache/cloudberry-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 6b1680cb..519cc885 100755
--- a/ci/scripts/build-go-binaries.bash
+++ b/ci/scripts/build-go-binaries.bash
@@ -10,7 +10,7 @@ if [[ -f /opt/gcc_env.sh ]]; then
fi
# Build gpbackup
-pushd ${GOPATH}/src/github.com/greenplum-db/gpbackup
+pushd ${GOPATH}/src/github.com/apache/cloudberry-gpbackup
make depend build unit
version=$(git describe --tags | perl -pe
's/(.*)-([0-9]*)-(g[0-9a-f]*)/\1+dev.\2.\3/')
popd
@@ -23,7 +23,7 @@ if [[ "gpbackup version ${version}" !=
"$(${GOPATH}/bin/gpbackup --version)" ]];
fi
# Build s3 plugin
-pushd ${GOPATH}/src/github.com/greenplum-db/gpbackup-s3-plugin
+pushd ${GOPATH}/src/github.com/apache/cloudberry-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 73c1d34a..4789ba5f 100755
--- a/ci/scripts/ddboost-plugin-perf.bash
+++ b/ci/scripts/ddboost-plugin-perf.bash
@@ -51,7 +51,7 @@ options:
gpbackup_ddboost_plugin:
66706c6c6e677a6965796f68343365303133336f6c73366b316868326764
CONFIG
-pushd \${GOPATH}/src/github.com/greenplum-db/gpbackup/plugins
+pushd \${GOPATH}/src/github.com/apache/cloudberry-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 78270c36..1ec724a9 100755
--- a/ci/scripts/ddboost-plugin-tests.bash
+++ b/ci/scripts/ddboost-plugin-tests.bash
@@ -82,14 +82,14 @@ options:
pgport: 5432
CONFIG
-pushd \${GOPATH}/src/github.com/greenplum-db/gpbackup/plugins
+pushd \${GOPATH}/src/github.com/apache/cloudberry-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/apache/cloudberry-gpbackup
make end_to_end
CUSTOM_BACKUP_DIR=/data/gpdata/dd_dir/end_to_end_GPDB${GPDB_VERSION}/${TIME_NANO}
SCRIPT
diff --git a/ci/scripts/icw-migr-backup.bash b/ci/scripts/icw-migr-backup.bash
index 670e8503..72e6144f 100755
--- a/ci/scripts/icw-migr-backup.bash
+++ b/ci/scripts/icw-migr-backup.bash
@@ -31,7 +31,7 @@ mkdir -p \${GOPATH}/bin \${GOPATH}/src/github.com/greenplum-db
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/apache/cloudberry-gpbackup
make depend
popd
diff --git a/ci/scripts/icw-migr-restore.bash b/ci/scripts/icw-migr-restore.bash
index 8767332b..40983ce4 100755
--- a/ci/scripts/icw-migr-restore.bash
+++ b/ci/scripts/icw-migr-restore.bash
@@ -32,7 +32,7 @@ mkdir -p \${GOPATH}/bin \${GOPATH}/src/github.com/greenplum-db
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/apache/cloudberry-gpbackup
make depend
popd
diff --git a/ci/scripts/s3-plugin-perf.bash b/ci/scripts/s3-plugin-perf.bash
index d5456da7..d957759a 100755
--- a/ci/scripts/s3-plugin-perf.bash
+++ b/ci/scripts/s3-plugin-perf.bash
@@ -38,7 +38,7 @@ CONFIG
# ----------------------------------------------
# Run S3 Plugin scale tests
# ----------------------------------------------
-pushd \${GOPATH}/src/github.com/greenplum-db/gpbackup/plugins
+pushd \${GOPATH}/src/github.com/apache/cloudberry-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 15398411..15f179d4 100755
--- a/ci/scripts/s3-plugin-tests.bash
+++ b/ci/scripts/s3-plugin-tests.bash
@@ -68,7 +68,7 @@ options:
restore_multipart_chunksize: 5MB
MINIO_CONFIG
- pushd ~/go/src/github.com/greenplum-db/gpbackup/plugins
+ pushd ~/go/src/github.com/apache/cloudberry-gpbackup/plugins
./plugin_test.sh \${GPHOME}/bin/gpbackup_s3_plugin
\${HOME}/minio_config.yaml
popd
SCRIPT
@@ -95,7 +95,7 @@ options:
restore_multipart_chunksize: 100MB
S3_CONFIG
- pushd ~/go/src/github.com/greenplum-db/gpbackup/plugins
+ pushd ~/go/src/github.com/apache/cloudberry-gpbackup/plugins
./plugin_test.sh \${GPHOME}/bin/gpbackup_s3_plugin \${HOME}/s3_config.yaml
popd
SCRIPT
diff --git a/ci/scripts/setup-cluster-env.bash
b/ci/scripts/setup-cluster-env.bash
index 07138eed..28ca2768 100755
--- a/ci/scripts/setup-cluster-env.bash
+++ b/ci/scripts/setup-cluster-env.bash
@@ -11,7 +11,7 @@ ssh -t ${default_ami_user}@cdw " \
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/apache/cloudberry-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-gpbackup-manager.bash
b/ci/scripts/test-gpbackup-manager.bash
index db46b71a..e8fb89f3 100755
--- a/ci/scripts/test-gpbackup-manager.bash
+++ b/ci/scripts/test-gpbackup-manager.bash
@@ -47,7 +47,7 @@ cat <<SCRIPT > /tmp/run_tests.bash
gpssh -f /home/gpadmin/segment_host_list "source
/usr/local/greenplum-db-devel/greenplum_path.sh; gpbackup_helper --version"
# TODO: It might be nice to make this a tarfile, like with the backwards
compatibility job, but this works fine as-is
- pushd \${GOPATH}/src/github.com/greenplum-db/gpbackup
+ pushd \${GOPATH}/src/github.com/apache/cloudberry-gpbackup
git checkout \${OLD_BACKUP_VERSION}
make build
diff --git a/ci/scripts/test-on-local-cluster.bash
b/ci/scripts/test-on-local-cluster.bash
index cc3a01fc..aef29a87 100755
--- a/ci/scripts/test-on-local-cluster.bash
+++ b/ci/scripts/test-on-local-cluster.bash
@@ -42,7 +42,7 @@ mkdir -p \${GOPATH}/bin \${GOPATH}/src/github.com/greenplum-db
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/apache/cloudberry-gpbackup
make depend
popd
@@ -79,7 +79,7 @@ fi
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/apache/cloudberry-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 45ec7ccd..bd2d84b1 100644
--- a/ci/tasks/build-go-binaries.yml
+++ b/ci/tasks/build-go-binaries.yml
@@ -5,9 +5,9 @@ image_resource:
inputs:
- name: gpbackup
- path: go/src/github.com/greenplum-db/gpbackup
+ path: go/src/github.com/apache/cloudberry-gpbackup
- name: gpbackup_s3_plugin
- path: go/src/github.com/greenplum-db/gpbackup-s3-plugin
+ path: go/src/github.com/apache/cloudberry-gpbackup-s3-plugin
- name: gpbackup_manager_src
path: go/src/github.com/pivotal/gp-backup-manager
@@ -19,4 +19,4 @@ params:
OS: RHEL8
run:
- path:
go/src/github.com/greenplum-db/gpbackup/ci/scripts/build-go-binaries.bash
+ path:
go/src/github.com/apache/cloudberry-gpbackup/ci/scripts/build-go-binaries.bash
diff --git a/ci/templates/gpbackup-tpl.yml b/ci/templates/gpbackup-tpl.yml
index ae7814cc..01d17d9d 100644
--- a/ci/templates/gpbackup-tpl.yml
+++ b/ci/templates/gpbackup-tpl.yml
@@ -280,7 +280,7 @@ resources:
type: git
icon: github-circle
source:
- uri: https://github.com/greenplum-db/gpbackup
+ uri: https://github.com/apache/cloudberry-gpbackup
branch: ((gpbackup-git-branch))
{% if "gpbackup-release" == pipeline_name %}
tag_filter: 1.*
@@ -291,7 +291,7 @@ resources:
icon: github-circle
source:
branch: main
- uri: https://github.com/greenplum-db/gpbackup-s3-plugin
+ uri: https://github.com/apache/cloudberry-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 f027e203..49cdd4b8 100644
--- a/end_to_end/end_to_end_suite_test.go
+++ b/end_to_end/end_to_end_suite_test.go
@@ -24,12 +24,12 @@ import (
"github.com/apache/cloudberry-go-libs/operating"
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/filepath"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/blang/semver"
- "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/pkg/errors"
"github.com/spf13/pflag"
@@ -127,13 +127,13 @@ func buildOldBinaries(version string) (string, string) {
mustRunCommand(command)
command = exec.Command("dep", "ensure")
mustRunCommand(command)
- gpbackupOldPath, err := Build("github.com/greenplum-db/gpbackup",
+ gpbackupOldPath, err := Build("github.com/apache/cloudberry-gpbackup",
"-tags", "gpbackup", "-ldflags",
- fmt.Sprintf("-X
github.com/greenplum-db/gpbackup/backup.version=%s", version))
+ fmt.Sprintf("-X
github.com/apache/cloudberry-gpbackup/backup.version=%s", version))
Expect(err).ShouldNot(HaveOccurred())
- gpbackupHelperOldPath, err := Build("github.com/greenplum-db/gpbackup",
+ gpbackupHelperOldPath, err :=
Build("github.com/apache/cloudberry-gpbackup",
"-tags", "gpbackup_helper", "-ldflags",
- fmt.Sprintf("-X
github.com/greenplum-db/gpbackup/helper.version=%s", version))
+ fmt.Sprintf("-X
github.com/apache/cloudberry-gpbackup/helper.version=%s", version))
Expect(err).ShouldNot(HaveOccurred())
command = exec.Command("git", "checkout", "-", "-f")
mustRunCommand(command)
diff --git a/end_to_end/filtered_test.go b/end_to_end/filtered_test.go
index a8df4e86..10cee673 100644
--- a/end_to_end/filtered_test.go
+++ b/end_to_end/filtered_test.go
@@ -5,7 +5,7 @@ import (
"github.com/apache/cloudberry-go-libs/iohelper"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-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 c6f1221b..e7f53d1c 100644
--- a/end_to_end/incremental_test.go
+++ b/end_to_end/incremental_test.go
@@ -8,8 +8,8 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/testhelper"
+ "github.com/apache/cloudberry-gpbackup/history"
"github.com/blang/semver"
- "github.com/greenplum-db/gpbackup/history"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/end_to_end/locks_test.go b/end_to_end/locks_test.go
index 3a734d8d..4341b6a6 100644
--- a/end_to_end/locks_test.go
+++ b/end_to_end/locks_test.go
@@ -6,8 +6,8 @@ import (
"time"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-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 bec74024..c3073a69 100644
--- a/end_to_end/plugin_test.go
+++ b/end_to_end/plugin_test.go
@@ -10,9 +10,9 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/iohelper"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/filepath"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/filepath"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/utils"
. "github.com/onsi/ginkgo/v2"
)
diff --git a/filepath/filepath_test.go b/filepath/filepath_test.go
index 83098de3..07803a1e 100644
--- a/filepath/filepath_test.go
+++ b/filepath/filepath_test.go
@@ -9,7 +9,7 @@ import (
"github.com/apache/cloudberry-go-libs/operating"
"github.com/apache/cloudberry-go-libs/testhelper"
- . "github.com/greenplum-db/gpbackup/filepath"
+ . "github.com/apache/cloudberry-gpbackup/filepath"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
diff --git a/go.mod b/go.mod
index d404fc70..82a9ccea 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/greenplum-db/gpbackup
+module github.com/apache/cloudberry-gpbackup
go 1.21
diff --git a/gpbackup.go b/gpbackup.go
index e04a2f42..a456d74c 100644
--- a/gpbackup.go
+++ b/gpbackup.go
@@ -1,3 +1,4 @@
+//go:build gpbackup
// +build gpbackup
package main
@@ -5,8 +6,8 @@ package main
import (
"os"
- . "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
+ . "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/options"
"github.com/spf13/cobra"
)
diff --git a/gpbackup_helper.go b/gpbackup_helper.go
index 3fd8bb6f..e0b9cd36 100644
--- a/gpbackup_helper.go
+++ b/gpbackup_helper.go
@@ -1,9 +1,10 @@
+//go:build gpbackup_helper
// +build gpbackup_helper
package main
import (
- . "github.com/greenplum-db/gpbackup/helper"
+ . "github.com/apache/cloudberry-gpbackup/helper"
)
func main() {
diff --git a/gppkg/gpbackup_control.in b/gppkg/gpbackup_control.in
index c4d1225e..8097858f 100644
--- a/gppkg/gpbackup_control.in
+++ b/gppkg/gpbackup_control.in
@@ -5,4 +5,4 @@ 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
+Homepage: https://github.com/apache/cloudberry-gpbackup
diff --git a/gprestore.go b/gprestore.go
index 727f160e..89c48242 100644
--- a/gprestore.go
+++ b/gprestore.go
@@ -1,3 +1,4 @@
+//go:build gprestore
// +build gprestore
package main
@@ -5,8 +6,8 @@ package main
import (
"os"
- "github.com/greenplum-db/gpbackup/options"
- . "github.com/greenplum-db/gpbackup/restore"
+ "github.com/apache/cloudberry-gpbackup/options"
+ . "github.com/apache/cloudberry-gpbackup/restore"
"github.com/spf13/cobra"
)
diff --git a/helper/backup_helper.go b/helper/backup_helper.go
index 748e6689..f94fdd67 100644
--- a/helper/backup_helper.go
+++ b/helper/backup_helper.go
@@ -8,8 +8,8 @@ import (
"os/exec"
"strings"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/pkg/errors"
)
diff --git a/helper/helper.go b/helper/helper.go
index f108c9ff..e87b1d94 100644
--- a/helper/helper.go
+++ b/helper/helper.go
@@ -17,7 +17,7 @@ import (
"github.com/apache/cloudberry-go-libs/gplog"
"github.com/apache/cloudberry-go-libs/operating"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/utils"
)
/*
diff --git a/helper/restore_helper.go b/helper/restore_helper.go
index dafce332..ea4339b3 100644
--- a/helper/restore_helper.go
+++ b/helper/restore_helper.go
@@ -13,8 +13,8 @@ import (
"strings"
"time"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-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 915066f9..46750dd0 100644
--- a/history/history.go
+++ b/history/history.go
@@ -9,7 +9,7 @@ import (
"github.com/apache/cloudberry-go-libs/gplog"
"github.com/apache/cloudberry-go-libs/operating"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/utils"
_ "github.com/mattn/go-sqlite3"
"gopkg.in/yaml.v2"
)
diff --git a/history/history_test.go b/history/history_test.go
index 7cf95bc2..2944eea5 100644
--- a/history/history_test.go
+++ b/history/history_test.go
@@ -8,7 +8,7 @@ import (
"github.com/apache/cloudberry-go-libs/operating"
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/history"
+ "github.com/apache/cloudberry-gpbackup/history"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/agent_remote_test.go b/integration/agent_remote_test.go
index cc045f27..1200964b 100644
--- a/integration/agent_remote_test.go
+++ b/integration/agent_remote_test.go
@@ -4,8 +4,8 @@ import (
"fmt"
"github.com/apache/cloudberry-go-libs/cluster"
- "github.com/greenplum-db/gpbackup/filepath"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/filepath"
+ "github.com/apache/cloudberry-gpbackup/utils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/data_backup_test.go b/integration/data_backup_test.go
index e9131d48..687a3a62 100644
--- a/integration/data_backup_test.go
+++ b/integration/data_backup_test.go
@@ -7,11 +7,11 @@ import (
"github.com/apache/cloudberry-go-libs/gplog"
"github.com/apache/cloudberry-go-libs/testhelper"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/filepath"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/blang/semver"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/filepath"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/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 91744410..a55c35f3 100644
--- a/integration/dependency_queries_test.go
+++ b/integration/dependency_queries_test.go
@@ -2,8 +2,8 @@ package integration
import (
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-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 78eb9525..c2eefce9 100644
--- a/integration/gpexpand_not_running_test.go
+++ b/integration/gpexpand_not_running_test.go
@@ -8,10 +8,10 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/iohelper"
"github.com/apache/cloudberry-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/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/restore"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/utils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/incremental_queries_test.go
b/integration/incremental_queries_test.go
index 3db4e9b2..55cfc7db 100644
--- a/integration/incremental_queries_test.go
+++ b/integration/incremental_queries_test.go
@@ -4,9 +4,9 @@ import (
"fmt"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/integration_suite_test.go
b/integration/integration_suite_test.go
index 83180144..8d662ba3 100644
--- a/integration/integration_suite_test.go
+++ b/integration/integration_suite_test.go
@@ -11,12 +11,12 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/gplog"
"github.com/apache/cloudberry-go-libs/testhelper"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/restore"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/blang/semver"
- "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/spf13/pflag"
. "github.com/onsi/ginkgo/v2"
diff --git a/integration/metadata_globals_create_test.go
b/integration/metadata_globals_create_test.go
index ce490412..17597bfc 100644
--- a/integration/metadata_globals_create_test.go
+++ b/integration/metadata_globals_create_test.go
@@ -6,9 +6,9 @@ import (
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "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 ff987eee..3fa1072e 100644
--- a/integration/metadata_globals_queries_test.go
+++ b/integration/metadata_globals_queries_test.go
@@ -5,8 +5,8 @@ import (
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-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 7e7f13a3..149f842c 100644
--- a/integration/options_integration_test.go
+++ b/integration/options_integration_test.go
@@ -5,8 +5,8 @@ import (
"sort"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-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 06847ad8..2604e612 100644
--- a/integration/parallel_queries_test.go
+++ b/integration/parallel_queries_test.go
@@ -7,9 +7,9 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/restore"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/restore"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/postdata_create_test.go
b/integration/postdata_create_test.go
index 9b3881f7..a4437908 100644
--- a/integration/postdata_create_test.go
+++ b/integration/postdata_create_test.go
@@ -6,9 +6,9 @@ import (
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/postdata_queries_test.go
b/integration/postdata_queries_test.go
index 203d9ade..980b575f 100644
--- a/integration/postdata_queries_test.go
+++ b/integration/postdata_queries_test.go
@@ -6,9 +6,9 @@ import (
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-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 eccc984f..95a74345 100644
--- a/integration/predata_acl_create_test.go
+++ b/integration/predata_acl_create_test.go
@@ -3,9 +3,9 @@ package integration
import (
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "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 83084ee3..4244c9e4 100644
--- a/integration/predata_acl_queries_test.go
+++ b/integration/predata_acl_queries_test.go
@@ -5,10 +5,10 @@ import (
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "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 80cd2c94..4ac8ce89 100644
--- a/integration/predata_externals_create_test.go
+++ b/integration/predata_externals_create_test.go
@@ -6,8 +6,8 @@ import (
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-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 7f71bd36..13b3a3a3 100644
--- a/integration/predata_externals_queries_test.go
+++ b/integration/predata_externals_queries_test.go
@@ -5,8 +5,8 @@ import (
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-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 a83eeb4e..fa0b8c51 100644
--- a/integration/predata_functions_create_test.go
+++ b/integration/predata_functions_create_test.go
@@ -6,9 +6,9 @@ import (
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "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 ef4ea45f..42e7cafa 100644
--- a/integration/predata_functions_queries_test.go
+++ b/integration/predata_functions_queries_test.go
@@ -6,9 +6,9 @@ import (
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-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 22eacd59..33635ec5 100644
--- a/integration/predata_operators_create_test.go
+++ b/integration/predata_operators_create_test.go
@@ -3,9 +3,9 @@ package integration
import (
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "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 ff84f275..6e3f938f 100644
--- a/integration/predata_operators_queries_test.go
+++ b/integration/predata_operators_queries_test.go
@@ -3,9 +3,9 @@ package integration
import (
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-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 46f99e7e..50242351 100644
--- a/integration/predata_relations_create_test.go
+++ b/integration/predata_relations_create_test.go
@@ -7,9 +7,9 @@ import (
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "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 4a22c6ad..300d9a73 100644
--- a/integration/predata_relations_queries_test.go
+++ b/integration/predata_relations_queries_test.go
@@ -9,9 +9,9 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-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 c0b405fa..ca816114 100644
--- a/integration/predata_shared_create_test.go
+++ b/integration/predata_shared_create_test.go
@@ -5,9 +5,9 @@ import (
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "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 a2444104..6df596ad 100644
--- a/integration/predata_shared_queries_test.go
+++ b/integration/predata_shared_queries_test.go
@@ -5,9 +5,9 @@ import (
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-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 63d08c49..00c1f7fc 100644
--- a/integration/predata_table_defs_queries_test.go
+++ b/integration/predata_table_defs_queries_test.go
@@ -7,9 +7,9 @@ import (
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-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 97523b06..7f5a9cab 100644
--- a/integration/predata_textsearch_create_test.go
+++ b/integration/predata_textsearch_create_test.go
@@ -3,9 +3,9 @@ package integration
import (
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "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 5138a2cd..8a08b0b3 100644
--- a/integration/predata_textsearch_queries_test.go
+++ b/integration/predata_textsearch_queries_test.go
@@ -3,8 +3,8 @@ package integration
import (
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/options"
. "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 65ac9352..4cb63804 100644
--- a/integration/predata_types_create_test.go
+++ b/integration/predata_types_create_test.go
@@ -3,9 +3,9 @@ package integration
import (
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "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 d125d418..b72033a1 100644
--- a/integration/predata_types_queries_test.go
+++ b/integration/predata_types_queries_test.go
@@ -3,9 +3,9 @@ package integration
import (
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/snapshot_test.go b/integration/snapshot_test.go
index ecc1ea0c..9d01d8d2 100644
--- a/integration/snapshot_test.go
+++ b/integration/snapshot_test.go
@@ -3,8 +3,8 @@ package integration
import (
"fmt"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-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 c7dc6c39..9ea41915 100644
--- a/integration/statistics_create_test.go
+++ b/integration/statistics_create_test.go
@@ -3,8 +3,8 @@ package integration
import (
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-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 5ba7cc96..04b3f441 100644
--- a/integration/statistics_queries_test.go
+++ b/integration/statistics_queries_test.go
@@ -5,8 +5,8 @@ import (
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/integration/utils_test.go b/integration/utils_test.go
index d1619c30..785fc668 100644
--- a/integration/utils_test.go
+++ b/integration/utils_test.go
@@ -9,9 +9,9 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/testhelper"
- fp "github.com/greenplum-db/gpbackup/filepath"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/utils"
+ fp "github.com/apache/cloudberry-gpbackup/filepath"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/utils"
"golang.org/x/sys/unix"
diff --git a/integration/wrappers_test.go b/integration/wrappers_test.go
index bb3205b1..8a3ceb96 100644
--- a/integration/wrappers_test.go
+++ b/integration/wrappers_test.go
@@ -3,8 +3,8 @@ package integration
import (
"github.com/apache/cloudberry-go-libs/gplog"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/backup"
- "github.com/greenplum-db/gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/options"
"github.com/spf13/cobra"
. "github.com/onsi/ginkgo/v2"
diff --git a/options/flag_test.go b/options/flag_test.go
index 4e04e38a..fcee5565 100644
--- a/options/flag_test.go
+++ b/options/flag_test.go
@@ -4,7 +4,7 @@ import (
"flag"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/options"
"github.com/spf13/pflag"
. "github.com/onsi/ginkgo/v2"
diff --git a/options/options.go b/options/options.go
index ac29563f..7cea6487 100644
--- a/options/options.go
+++ b/options/options.go
@@ -8,7 +8,7 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/gplog"
"github.com/apache/cloudberry-go-libs/iohelper"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/pkg/errors"
"github.com/spf13/pflag"
)
diff --git a/options/options_test.go b/options/options_test.go
index 68ab6c33..ed579151 100644
--- a/options/options_test.go
+++ b/options/options_test.go
@@ -7,7 +7,7 @@ import (
"github.com/DATA-DOG/go-sqlmock"
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/options"
"github.com/spf13/pflag"
. "github.com/onsi/ginkgo/v2"
diff --git a/plugins/README.md b/plugins/README.md
index 0502121b..6781e844 100644
--- a/plugins/README.md
+++ b/plugins/README.md
@@ -350,10 +350,10 @@ test_plugin --version
## Plugin flow within gpbackup and gprestore
### Backup Plugin Flow
-
+
### 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 @@ options:
## 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/apache/cloudberry-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 89deab6a..909be9be 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/apache/cloudberry-gpbackup/plugins/example_plugin.bash
options:
password: unknown
diff --git a/report/report.go b/report/report.go
index 4c5edc9a..f8a286e5 100644
--- a/report/report.go
+++ b/report/report.go
@@ -14,9 +14,9 @@ import (
"github.com/apache/cloudberry-go-libs/gplog"
"github.com/apache/cloudberry-go-libs/iohelper"
"github.com/apache/cloudberry-go-libs/operating"
+ "github.com/apache/cloudberry-gpbackup/history"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/blang/semver"
- "github.com/greenplum-db/gpbackup/history"
- "github.com/greenplum-db/gpbackup/utils"
"github.com/pkg/errors"
"gopkg.in/yaml.v2"
)
diff --git a/report/report_test.go b/report/report_test.go
index 99e6747d..f8ec3a2b 100644
--- a/report/report_test.go
+++ b/report/report_test.go
@@ -15,18 +15,18 @@ import (
"github.com/apache/cloudberry-go-libs/operating"
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
+ "github.com/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/filepath"
+ "github.com/apache/cloudberry-gpbackup/history"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/blang/semver"
- "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/pkg/errors"
"github.com/spf13/pflag"
"gopkg.in/yaml.v2"
- "github.com/greenplum-db/gpbackup/report"
+ "github.com/apache/cloudberry-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 9e362b1a..7d59793d 100644
--- a/restore/data.go
+++ b/restore/data.go
@@ -12,10 +12,10 @@ import (
"github.com/apache/cloudberry-go-libs/cluster"
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-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/apache/cloudberry-gpbackup/filepath"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-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 e736b8e9..12bf793b 100644
--- a/restore/data_test.go
+++ b/restore/data_test.go
@@ -8,11 +8,11 @@ import (
"github.com/DATA-DOG/go-sqlmock"
"github.com/apache/cloudberry-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/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/history"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/restore"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/jackc/pgconn"
. "github.com/onsi/ginkgo/v2"
diff --git a/restore/global_variables.go b/restore/global_variables.go
index 98b53ed1..8dda53bc 100644
--- a/restore/global_variables.go
+++ b/restore/global_variables.go
@@ -5,11 +5,11 @@ import (
"github.com/apache/cloudberry-go-libs/cluster"
"github.com/apache/cloudberry-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/apache/cloudberry-gpbackup/filepath"
+ "github.com/apache/cloudberry-gpbackup/history"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/spf13/pflag"
)
diff --git a/restore/parallel.go b/restore/parallel.go
index 4bcb17e1..30c21a10 100644
--- a/restore/parallel.go
+++ b/restore/parallel.go
@@ -11,9 +11,9 @@ import (
"sync/atomic"
"github.com/apache/cloudberry-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
)
var (
diff --git a/restore/parallel_test.go b/restore/parallel_test.go
index 84024089..58b68fcb 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/apache/cloudberry-gpbackup/restore"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/restore/remote.go b/restore/remote.go
index 42357f5e..db8341e1 100644
--- a/restore/remote.go
+++ b/restore/remote.go
@@ -9,7 +9,7 @@ import (
"github.com/apache/cloudberry-go-libs/cluster"
"github.com/apache/cloudberry-go-libs/gplog"
"github.com/apache/cloudberry-go-libs/iohelper"
- "github.com/greenplum-db/gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/options"
"github.com/pkg/errors"
)
diff --git a/restore/remote_test.go b/restore/remote_test.go
index 8912bfdd..a5a9de04 100644
--- a/restore/remote_test.go
+++ b/restore/remote_test.go
@@ -6,11 +6,11 @@ import (
"github.com/apache/cloudberry-go-libs/cluster"
"github.com/apache/cloudberry-go-libs/operating"
"github.com/apache/cloudberry-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/apache/cloudberry-gpbackup/filepath"
+ "github.com/apache/cloudberry-gpbackup/history"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/restore"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/restore/restore.go b/restore/restore.go
index 9d0d250a..da51f200 100644
--- a/restore/restore.go
+++ b/restore/restore.go
@@ -13,12 +13,12 @@ import (
"github.com/apache/cloudberry-go-libs/cluster"
"github.com/apache/cloudberry-go-libs/gplog"
"github.com/apache/cloudberry-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/apache/cloudberry-gpbackup/filepath"
+ "github.com/apache/cloudberry-gpbackup/history"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/report"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-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 e6d35baf..6c46e40b 100644
--- a/restore/restore_internal_test.go
+++ b/restore/restore_internal_test.go
@@ -2,7 +2,7 @@ package restore
import (
"github.com/apache/cloudberry-go-libs/dbconn"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-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 992eb840..390fc6bb 100644
--- a/restore/restore_suite_test.go
+++ b/restore/restore_suite_test.go
@@ -10,8 +10,8 @@ import (
"github.com/DATA-DOG/go-sqlmock"
"github.com/apache/cloudberry-go-libs/dbconn"
- "github.com/greenplum-db/gpbackup/restore"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/restore"
+ "github.com/apache/cloudberry-gpbackup/testutils"
"github.com/spf13/pflag"
. "github.com/onsi/ginkgo/v2"
diff --git a/restore/validate.go b/restore/validate.go
index 188ec77f..ecac569a 100644
--- a/restore/validate.go
+++ b/restore/validate.go
@@ -7,9 +7,9 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/options"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/pkg/errors"
"github.com/spf13/pflag"
)
diff --git a/restore/validate_test.go b/restore/validate_test.go
index 452de81d..d72e863c 100644
--- a/restore/validate_test.go
+++ b/restore/validate_test.go
@@ -5,12 +5,12 @@ import (
"github.com/DATA-DOG/go-sqlmock"
"github.com/apache/cloudberry-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/apache/cloudberry-gpbackup/history"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/restore"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/spf13/cobra"
. "github.com/onsi/ginkgo/v2"
diff --git a/restore/wrappers.go b/restore/wrappers.go
index bc764e66..e86a8439 100644
--- a/restore/wrappers.go
+++ b/restore/wrappers.go
@@ -9,12 +9,12 @@ import (
"github.com/apache/cloudberry-go-libs/gplog"
"github.com/apache/cloudberry-go-libs/iohelper"
"github.com/apache/cloudberry-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/apache/cloudberry-gpbackup/filepath"
+ "github.com/apache/cloudberry-gpbackup/history"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/report"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
)
/*
diff --git a/restore/wrappers_test.go b/restore/wrappers_test.go
index 384a6fe3..c3bb2dc8 100644
--- a/restore/wrappers_test.go
+++ b/restore/wrappers_test.go
@@ -8,12 +8,12 @@ import (
"github.com/DATA-DOG/go-sqlmock"
"github.com/apache/cloudberry-go-libs/cluster"
"github.com/apache/cloudberry-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/apache/cloudberry-gpbackup/history"
+ "github.com/apache/cloudberry-gpbackup/options"
+ "github.com/apache/cloudberry-gpbackup/restore"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/pkg/errors"
. "github.com/onsi/ginkgo/v2"
diff --git a/testutils/functions.go b/testutils/functions.go
index a0387053..3a273111 100644
--- a/testutils/functions.go
+++ b/testutils/functions.go
@@ -14,11 +14,11 @@ import (
"github.com/apache/cloudberry-go-libs/operating"
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-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/apache/cloudberry-gpbackup/backup"
+ "github.com/apache/cloudberry-gpbackup/filepath"
+ "github.com/apache/cloudberry-gpbackup/restore"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/jmoiron/sqlx"
"github.com/pkg/errors"
"github.com/sergi/go-diff/diffmatchpatch"
diff --git a/testutils/functions_test.go b/testutils/functions_test.go
index 7e250368..d9816e6f 100644
--- a/testutils/functions_test.go
+++ b/testutils/functions_test.go
@@ -3,9 +3,9 @@ package testutils_test
import (
"testing"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/utils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/toc/toc.go b/toc/toc.go
index b560ecd9..1e65dc57 100644
--- a/toc/toc.go
+++ b/toc/toc.go
@@ -8,7 +8,7 @@ import (
"strings"
"github.com/apache/cloudberry-go-libs/gplog"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/utils"
"gopkg.in/yaml.v2"
)
diff --git a/toc/toc_test.go b/toc/toc_test.go
index e6619725..ec637d12 100644
--- a/toc/toc_test.go
+++ b/toc/toc_test.go
@@ -4,8 +4,8 @@ import (
"bytes"
"testing"
- "github.com/greenplum-db/gpbackup/testutils"
- "github.com/greenplum-db/gpbackup/toc"
+ "github.com/apache/cloudberry-gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/toc"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/utils/agent_remote.go b/utils/agent_remote.go
index 66f63e4b..f6c0193d 100644
--- a/utils/agent_remote.go
+++ b/utils/agent_remote.go
@@ -14,7 +14,7 @@ import (
"github.com/apache/cloudberry-go-libs/gplog"
"github.com/apache/cloudberry-go-libs/iohelper"
"github.com/apache/cloudberry-go-libs/operating"
- "github.com/greenplum-db/gpbackup/filepath"
+ "github.com/apache/cloudberry-gpbackup/filepath"
"github.com/pkg/errors"
)
diff --git a/utils/agent_remote_test.go b/utils/agent_remote_test.go
index 7b068464..7820a5a1 100644
--- a/utils/agent_remote_test.go
+++ b/utils/agent_remote_test.go
@@ -9,8 +9,8 @@ import (
"github.com/apache/cloudberry-go-libs/gplog"
"github.com/apache/cloudberry-go-libs/operating"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/filepath"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/filepath"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/pkg/errors"
. "github.com/onsi/ginkgo/v2"
diff --git a/utils/compression_test.go b/utils/compression_test.go
index 09238bf0..bc1c7ee6 100644
--- a/utils/compression_test.go
+++ b/utils/compression_test.go
@@ -7,7 +7,7 @@ import (
"github.com/apache/cloudberry-go-libs/operating"
"github.com/apache/cloudberry-go-libs/structmatcher"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/utils"
. "github.com/onsi/ginkgo/v2"
)
diff --git a/utils/gpexpand_sensor_test.go b/utils/gpexpand_sensor_test.go
index 49093fd3..ffeaf7de 100644
--- a/utils/gpexpand_sensor_test.go
+++ b/utils/gpexpand_sensor_test.go
@@ -6,9 +6,9 @@ import (
"github.com/DATA-DOG/go-sqlmock"
"github.com/apache/cloudberry-go-libs/testhelper"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/blang/vfs"
"github.com/blang/vfs/memfs"
- "github.com/greenplum-db/gpbackup/utils"
"github.com/pkg/errors"
. "github.com/onsi/ginkgo/v2"
diff --git a/utils/io_test.go b/utils/io_test.go
index 93b64f5a..2a1883fe 100644
--- a/utils/io_test.go
+++ b/utils/io_test.go
@@ -6,7 +6,7 @@ import (
"github.com/apache/cloudberry-go-libs/operating"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-gpbackup/utils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/utils/plugin.go b/utils/plugin.go
index 9d5ed6a8..70fc906b 100644
--- a/utils/plugin.go
+++ b/utils/plugin.go
@@ -13,8 +13,8 @@ import (
"github.com/apache/cloudberry-go-libs/gplog"
"github.com/apache/cloudberry-go-libs/iohelper"
"github.com/apache/cloudberry-go-libs/operating"
+ "github.com/apache/cloudberry-gpbackup/filepath"
"github.com/blang/semver"
- "github.com/greenplum-db/gpbackup/filepath"
"github.com/pkg/errors"
"gopkg.in/yaml.v2"
)
diff --git a/utils/plugin_test.go b/utils/plugin_test.go
index 624d4b77..02f5991f 100644
--- a/utils/plugin_test.go
+++ b/utils/plugin_test.go
@@ -13,8 +13,8 @@ import (
"github.com/apache/cloudberry-go-libs/iohelper"
"github.com/apache/cloudberry-go-libs/operating"
"github.com/apache/cloudberry-go-libs/testhelper"
+ "github.com/apache/cloudberry-gpbackup/utils"
"github.com/blang/semver"
- "github.com/greenplum-db/gpbackup/utils"
"github.com/pkg/errors"
. "github.com/onsi/ginkgo/v2"
diff --git a/utils/progress_bar_test.go b/utils/progress_bar_test.go
index f6733cc6..6f3a4336 100644
--- a/utils/progress_bar_test.go
+++ b/utils/progress_bar_test.go
@@ -9,7 +9,7 @@ import (
"github.com/apache/cloudberry-go-libs/gplog"
"github.com/apache/cloudberry-go-libs/operating"
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-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 bd8dc240..381cb300 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/apache/cloudberry-gpbackup/utils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
diff --git a/utils/util.go b/utils/util.go
index ad43554d..e11149d0 100644
--- a/utils/util.go
+++ b/utils/util.go
@@ -19,7 +19,7 @@ import (
"github.com/apache/cloudberry-go-libs/dbconn"
"github.com/apache/cloudberry-go-libs/gplog"
"github.com/apache/cloudberry-go-libs/operating"
- "github.com/greenplum-db/gpbackup/filepath"
+ "github.com/apache/cloudberry-gpbackup/filepath"
"github.com/pkg/errors"
"golang.org/x/sys/unix"
)
diff --git a/utils/util_test.go b/utils/util_test.go
index 4de722af..4e5af8be 100644
--- a/utils/util_test.go
+++ b/utils/util_test.go
@@ -2,7 +2,7 @@ package utils_test
import (
"github.com/apache/cloudberry-go-libs/testhelper"
- "github.com/greenplum-db/gpbackup/utils"
+ "github.com/apache/cloudberry-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 28d299ce..6d45a2a6 100644
--- a/utils/utils_suite_test.go
+++ b/utils/utils_suite_test.go
@@ -5,7 +5,7 @@ import (
"github.com/DATA-DOG/go-sqlmock"
"github.com/apache/cloudberry-go-libs/dbconn"
- "github.com/greenplum-db/gpbackup/testutils"
+ "github.com/apache/cloudberry-gpbackup/testutils"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]