Skip to content

Commit

Permalink
Update package name to CloudberryDB
Browse files Browse the repository at this point in the history
  • Loading branch information
tuhaihe committed Nov 21, 2023
1 parent d12a25b commit 18ca1ea
Show file tree
Hide file tree
Showing 169 changed files with 644 additions and 644 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_and_unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/cloudberrydb/gpbackup

- name: Set up Go
uses: actions/setup-go@v2
Expand All @@ -29,15 +29,15 @@ jobs:
- name: Dependencies
run: |
cd ${GOPATH}/src/github.com/greenplum-db/gpbackup
cd ${GOPATH}/src/github.com/cloudberrydb/gpbackup
make depend
- name: Build
run: |
cd ${GOPATH}/src/github.com/greenplum-db/gpbackup
cd ${GOPATH}/src/github.com/cloudberrydb/gpbackup
make build
- name: Unit Test
run: |
cd ${GOPATH}/src/github.com/greenplum-db/gpbackup
cd ${GOPATH}/src/github.com/cloudberrydb/gpbackup
make unit_all_gpdb_versions
20 changes: 10 additions & 10 deletions backup/backup.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ import (
"sync"
"time"

"github.com/greenplum-db/gp-common-go-libs/cluster"
"github.com/greenplum-db/gp-common-go-libs/dbconn"
"github.com/greenplum-db/gp-common-go-libs/gplog"
"github.com/greenplum-db/gp-common-go-libs/operating"
"github.com/greenplum-db/gpbackup/filepath"
"github.com/greenplum-db/gpbackup/history"
"github.com/greenplum-db/gpbackup/options"
"github.com/greenplum-db/gpbackup/report"
"github.com/greenplum-db/gpbackup/toc"
"github.com/greenplum-db/gpbackup/utils"
"github.com/cloudberrydb/gp-common-go-libs/cluster"
"github.com/cloudberrydb/gp-common-go-libs/dbconn"
"github.com/cloudberrydb/gp-common-go-libs/gplog"
"github.com/cloudberrydb/gp-common-go-libs/operating"
"github.com/cloudberrydb/gpbackup/filepath"
"github.com/cloudberrydb/gpbackup/history"
"github.com/cloudberrydb/gpbackup/options"
"github.com/cloudberrydb/gpbackup/report"
"github.com/cloudberrydb/gpbackup/toc"
"github.com/cloudberrydb/gpbackup/utils"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion backup/backup_internal_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package backup

import (
"github.com/greenplum-db/gp-common-go-libs/testhelper"
"github.com/cloudberrydb/gp-common-go-libs/testhelper"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
10 changes: 5 additions & 5 deletions backup/backup_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import (
"testing"

"github.com/DATA-DOG/go-sqlmock"
"github.com/greenplum-db/gp-common-go-libs/dbconn"
"github.com/greenplum-db/gpbackup/backup"
"github.com/greenplum-db/gpbackup/testutils"
"github.com/greenplum-db/gpbackup/toc"
"github.com/greenplum-db/gpbackup/utils"
"github.com/cloudberrydb/gp-common-go-libs/dbconn"
"github.com/cloudberrydb/gpbackup/backup"
"github.com/cloudberrydb/gpbackup/testutils"
"github.com/cloudberrydb/gpbackup/toc"
"github.com/cloudberrydb/gpbackup/utils"
"github.com/spf13/pflag"

. "github.com/onsi/ginkgo/v2"
Expand Down
8 changes: 4 additions & 4 deletions backup/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import (
"sync/atomic"
"time"

"github.com/greenplum-db/gp-common-go-libs/dbconn"
"github.com/greenplum-db/gp-common-go-libs/gplog"
"github.com/greenplum-db/gpbackup/options"
"github.com/greenplum-db/gpbackup/utils"
"github.com/cloudberrydb/gp-common-go-libs/dbconn"
"github.com/cloudberrydb/gp-common-go-libs/gplog"
"github.com/cloudberrydb/gpbackup/options"
"github.com/cloudberrydb/gpbackup/utils"
"github.com/jackc/pgconn"
"gopkg.in/cheggaaa/pb.v1"
)
Expand Down
12 changes: 6 additions & 6 deletions backup/data_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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/cloudberrydb/gpbackup/backup"
"github.com/cloudberrydb/gpbackup/history"
"github.com/cloudberrydb/gpbackup/options"
"github.com/cloudberrydb/gpbackup/report"
"github.com/cloudberrydb/gpbackup/toc"
"github.com/cloudberrydb/gpbackup/utils"
"gopkg.in/cheggaaa/pb.v1"

. "github.com/onsi/ginkgo/v2"
Expand Down
8 changes: 4 additions & 4 deletions backup/dependencies.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"fmt"
"strings"

"github.com/greenplum-db/gp-common-go-libs/dbconn"
"github.com/greenplum-db/gp-common-go-libs/gplog"
"github.com/greenplum-db/gpbackup/toc"
"github.com/greenplum-db/gpbackup/utils"
"github.com/cloudberrydb/gp-common-go-libs/dbconn"
"github.com/cloudberrydb/gp-common-go-libs/gplog"
"github.com/cloudberrydb/gpbackup/toc"
"github.com/cloudberrydb/gpbackup/utils"
"github.com/pkg/errors"
)

Expand Down
6 changes: 3 additions & 3 deletions backup/dependencies_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"database/sql"
"fmt"

"github.com/greenplum-db/gp-common-go-libs/testhelper"
"github.com/greenplum-db/gpbackup/backup"
"github.com/greenplum-db/gpbackup/testutils"
"github.com/cloudberrydb/gp-common-go-libs/testhelper"
"github.com/cloudberrydb/gpbackup/backup"
"github.com/cloudberrydb/gpbackup/testutils"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
14 changes: 7 additions & 7 deletions backup/global_variables.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ package backup
import (
"sync"

"github.com/greenplum-db/gp-common-go-libs/cluster"
"github.com/greenplum-db/gp-common-go-libs/dbconn"
"github.com/greenplum-db/gpbackup/filepath"
"github.com/greenplum-db/gpbackup/options"
"github.com/greenplum-db/gpbackup/report"
"github.com/greenplum-db/gpbackup/toc"
"github.com/greenplum-db/gpbackup/utils"
"github.com/cloudberrydb/gp-common-go-libs/cluster"
"github.com/cloudberrydb/gp-common-go-libs/dbconn"
"github.com/cloudberrydb/gpbackup/filepath"
"github.com/cloudberrydb/gpbackup/options"
"github.com/cloudberrydb/gpbackup/report"
"github.com/cloudberrydb/gpbackup/toc"
"github.com/cloudberrydb/gpbackup/utils"
"github.com/nightlyone/lockfile"
"github.com/spf13/pflag"
)
Expand Down
12 changes: 6 additions & 6 deletions backup/incremental.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ package backup
import (
"path"

"github.com/greenplum-db/gp-common-go-libs/gplog"
"github.com/greenplum-db/gp-common-go-libs/iohelper"
"github.com/greenplum-db/gpbackup/history"
"github.com/greenplum-db/gpbackup/options"
"github.com/greenplum-db/gpbackup/toc"
"github.com/greenplum-db/gpbackup/utils"
"github.com/cloudberrydb/gp-common-go-libs/gplog"
"github.com/cloudberrydb/gp-common-go-libs/iohelper"
"github.com/cloudberrydb/gpbackup/history"
"github.com/cloudberrydb/gpbackup/options"
"github.com/cloudberrydb/gpbackup/toc"
"github.com/cloudberrydb/gpbackup/utils"
"github.com/pkg/errors"
)

Expand Down
18 changes: 9 additions & 9 deletions backup/incremental_test.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package backup_test

import (
"github.com/greenplum-db/gp-common-go-libs/operating"
"github.com/greenplum-db/gp-common-go-libs/structmatcher"
"github.com/greenplum-db/gp-common-go-libs/testhelper"
"github.com/greenplum-db/gpbackup/backup"
"github.com/greenplum-db/gpbackup/filepath"
"github.com/greenplum-db/gpbackup/history"
"github.com/greenplum-db/gpbackup/report"
"github.com/greenplum-db/gpbackup/testutils"
"github.com/greenplum-db/gpbackup/toc"
"github.com/cloudberrydb/gp-common-go-libs/operating"
"github.com/cloudberrydb/gp-common-go-libs/structmatcher"
"github.com/cloudberrydb/gp-common-go-libs/testhelper"
"github.com/cloudberrydb/gpbackup/backup"
"github.com/cloudberrydb/gpbackup/filepath"
"github.com/cloudberrydb/gpbackup/history"
"github.com/cloudberrydb/gpbackup/report"
"github.com/cloudberrydb/gpbackup/testutils"
"github.com/cloudberrydb/gpbackup/toc"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
6 changes: 3 additions & 3 deletions backup/metadata_globals.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"strconv"
"strings"

"github.com/greenplum-db/gp-common-go-libs/gplog"
"github.com/greenplum-db/gpbackup/toc"
"github.com/greenplum-db/gpbackup/utils"
"github.com/cloudberrydb/gp-common-go-libs/gplog"
"github.com/cloudberrydb/gpbackup/toc"
"github.com/cloudberrydb/gpbackup/utils"
)

/*
Expand Down
6 changes: 3 additions & 3 deletions backup/metadata_globals_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package backup_test
import (
"fmt"

"github.com/greenplum-db/gp-common-go-libs/testhelper"
"github.com/greenplum-db/gpbackup/backup"
"github.com/greenplum-db/gpbackup/testutils"
"github.com/cloudberrydb/gp-common-go-libs/testhelper"
"github.com/cloudberrydb/gpbackup/backup"
"github.com/cloudberrydb/gpbackup/testutils"

. "github.com/onsi/ginkgo/v2"
)
Expand Down
6 changes: 3 additions & 3 deletions backup/postdata.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ package backup
import (
"strings"

"github.com/greenplum-db/gp-common-go-libs/gplog"
"github.com/greenplum-db/gpbackup/toc"
"github.com/greenplum-db/gpbackup/utils"
"github.com/cloudberrydb/gp-common-go-libs/gplog"
"github.com/cloudberrydb/gpbackup/toc"
"github.com/cloudberrydb/gpbackup/utils"
"github.com/pkg/errors"
)

Expand Down
4 changes: 2 additions & 2 deletions backup/postdata_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"database/sql"
"fmt"

"github.com/greenplum-db/gpbackup/backup"
"github.com/greenplum-db/gpbackup/testutils"
"github.com/cloudberrydb/gpbackup/backup"
"github.com/cloudberrydb/gpbackup/testutils"

. "github.com/onsi/ginkgo/v2"
)
Expand Down
4 changes: 2 additions & 2 deletions backup/predata_acl.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"sort"
"strings"

"github.com/greenplum-db/gpbackup/toc"
"github.com/greenplum-db/gpbackup/utils"
"github.com/cloudberrydb/gpbackup/toc"
"github.com/cloudberrydb/gpbackup/utils"
)

var ACLRegex = regexp.MustCompile(`^(.*)=([a-zA-Z\*]*)/(.*)$`)
Expand Down
8 changes: 4 additions & 4 deletions backup/predata_acl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"fmt"

"github.com/DATA-DOG/go-sqlmock"
"github.com/greenplum-db/gp-common-go-libs/structmatcher"
"github.com/greenplum-db/gp-common-go-libs/testhelper"
"github.com/greenplum-db/gpbackup/backup"
"github.com/greenplum-db/gpbackup/testutils"
"github.com/cloudberrydb/gp-common-go-libs/structmatcher"
"github.com/cloudberrydb/gp-common-go-libs/testhelper"
"github.com/cloudberrydb/gpbackup/backup"
"github.com/cloudberrydb/gpbackup/testutils"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
4 changes: 2 additions & 2 deletions backup/predata_externals.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"fmt"
"strings"

"github.com/greenplum-db/gpbackup/toc"
"github.com/greenplum-db/gpbackup/utils"
"github.com/cloudberrydb/gpbackup/toc"
"github.com/cloudberrydb/gpbackup/utils"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions backup/predata_externals_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package backup_test
import (
"database/sql"

"github.com/greenplum-db/gp-common-go-libs/testhelper"
"github.com/greenplum-db/gpbackup/backup"
"github.com/greenplum-db/gpbackup/testutils"
"github.com/cloudberrydb/gp-common-go-libs/testhelper"
"github.com/cloudberrydb/gpbackup/backup"
"github.com/cloudberrydb/gpbackup/testutils"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
6 changes: 3 additions & 3 deletions backup/predata_functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ package backup
import (
"fmt"

"github.com/greenplum-db/gp-common-go-libs/gplog"
"github.com/greenplum-db/gpbackup/toc"
"github.com/greenplum-db/gpbackup/utils"
"github.com/cloudberrydb/gp-common-go-libs/gplog"
"github.com/cloudberrydb/gpbackup/toc"
"github.com/cloudberrydb/gpbackup/utils"
)

func PrintCreateFunctionStatement(metadataFile *utils.FileWithByteCount, toc *toc.TOC, funcDef Function, funcMetadata ObjectMetadata) {
Expand Down
6 changes: 3 additions & 3 deletions backup/predata_functions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"database/sql"
"fmt"

"github.com/greenplum-db/gp-common-go-libs/testhelper"
"github.com/greenplum-db/gpbackup/backup"
"github.com/greenplum-db/gpbackup/testutils"
"github.com/cloudberrydb/gp-common-go-libs/testhelper"
"github.com/cloudberrydb/gpbackup/backup"
"github.com/cloudberrydb/gpbackup/testutils"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
4 changes: 2 additions & 2 deletions backup/predata_operators.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"fmt"
"strings"

"github.com/greenplum-db/gpbackup/toc"
"github.com/greenplum-db/gpbackup/utils"
"github.com/cloudberrydb/gpbackup/toc"
"github.com/cloudberrydb/gpbackup/utils"
)

func PrintCreateOperatorStatement(metadataFile *utils.FileWithByteCount, toc *toc.TOC, operator Operator, operatorMetadata ObjectMetadata) {
Expand Down
4 changes: 2 additions & 2 deletions backup/predata_operators_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package backup_test
import (
"fmt"

"github.com/greenplum-db/gpbackup/backup"
"github.com/greenplum-db/gpbackup/testutils"
"github.com/cloudberrydb/gpbackup/backup"
"github.com/cloudberrydb/gpbackup/testutils"

. "github.com/onsi/ginkgo/v2"
)
Expand Down
8 changes: 4 additions & 4 deletions backup/predata_relations.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import (

"github.com/pkg/errors"

"github.com/greenplum-db/gp-common-go-libs/gplog"
"github.com/greenplum-db/gpbackup/options"
"github.com/greenplum-db/gpbackup/toc"
"github.com/greenplum-db/gpbackup/utils"
"github.com/cloudberrydb/gp-common-go-libs/gplog"
"github.com/cloudberrydb/gpbackup/options"
"github.com/cloudberrydb/gpbackup/toc"
"github.com/cloudberrydb/gpbackup/utils"
)

/*
Expand Down
10 changes: 5 additions & 5 deletions backup/predata_relations_other_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import (
"math"
"sort"

"github.com/greenplum-db/gp-common-go-libs/structmatcher"
"github.com/greenplum-db/gp-common-go-libs/testhelper"
"github.com/greenplum-db/gpbackup/backup"
"github.com/greenplum-db/gpbackup/options"
"github.com/greenplum-db/gpbackup/testutils"
"github.com/cloudberrydb/gp-common-go-libs/structmatcher"
"github.com/cloudberrydb/gp-common-go-libs/testhelper"
"github.com/cloudberrydb/gpbackup/backup"
"github.com/cloudberrydb/gpbackup/options"
"github.com/cloudberrydb/gpbackup/testutils"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
Loading

0 comments on commit 18ca1ea

Please sign in to comment.