This is an automated email from the ASF dual-hosted git repository.
djwang pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry-backup.git
from 23c6b9c8 asf.yaml: add woblerr as a collaborator
new 6a4cb4ab Bump Go version from 1.21 to 1.24.
new 4a3cfd91 Fix go vet issue.
new c365317a Migrate golangci-lint from v1 to v2.
new 8238ddae Fix lint issues introduced by golangci-lint v2 migration.
new ba97796a Bump setup-go action to v5 and go to 1.24.
new 731b4e03 Remove legacy `// +build` directives. The legacy `// +build`
form is no longer needed.
new 9a05ef17 Replace deprecated io/ioutil. The io/ioutil package has been
deprecated since Go 1.16. All usages are replaced with their recommended
alternatives from os and io packages. Changes: - ioutil.ReadFile -> os.ReadFile
- ioutil.WriteFile -> os.WriteFile - ioutil.TempFile -> os.CreateTemp -
ioutil.TempDir -> os.MkdirTemp - ioutil.ReadAll -> io.ReadAll - ioutil.ReadDir
-> os.ReadDir
new 070a94d4 Add ASF license header to golangci.yml.
The 8 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/build_and_unit_test.yml | 4 +-
.golangci.yml | 69 +++++++++++++++++++++++++++++++
Makefile | 6 +--
backup/backup.go | 14 +++----
backup/data.go | 2 +-
backup/incremental.go | 6 +--
backup/predata_functions.go | 8 ++--
backup/queries_acl.go | 2 +-
backup/wrappers.go | 4 +-
end_to_end/end_to_end_suite_test.go | 15 ++++---
go.mod | 2 +-
gometalinter.config | 12 ------
gpbackman.go | 1 -
gpbackup.go | 1 -
gpbackup_helper.go | 1 -
gpbackup_s3_plugin.go | 3 +-
gprestore.go | 1 -
helper/backup_helper.go | 11 +++--
helper/restore_helper.go | 11 ++---
history/history.go | 6 +--
integration/helper_test.go | 30 +++++++-------
integration/utils_test.go | 3 +-
options/options_test.go | 9 ++--
plugins/s3plugin/backup.go | 2 +-
plugins/s3plugin/restore.go | 6 +--
plugins/s3plugin/s3plugin.go | 13 +++---
report/report.go | 6 +--
report/report_test.go | 3 +-
restore/data.go | 12 +++---
restore/data_test.go | 22 ----------
restore/restore.go | 4 +-
restore/validate.go | 4 +-
restore/wrappers.go | 4 +-
restore/wrappers_test.go | 9 ++--
testutils/functions.go | 2 +-
toc/toc.go | 6 +--
tools.go | 1 -
utils/gpexpand_sensor.go | 9 ++--
utils/io.go | 9 ++--
utils/io_test.go | 5 +--
utils/plugin.go | 12 +++---
utils/plugin_test.go | 15 ++++---
utils/util.go | 2 +-
43 files changed, 196 insertions(+), 171 deletions(-)
create mode 100644 .golangci.yml
delete mode 100644 gometalinter.config
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]