Skip to content

Commit

Permalink
Bump kubevirt to v1.1.0, k8s to v1.26.10, Harvester to v1.3.0
Browse files Browse the repository at this point in the history
Signed-off-by: Jian Wang <[email protected]>
  • Loading branch information
w13915984028 authored and bk201 committed Mar 12, 2024
1 parent eea7123 commit f0aaac2
Show file tree
Hide file tree
Showing 3,185 changed files with 316,735 additions and 73,328 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
232 changes: 121 additions & 111 deletions go.mod

Large diffs are not rendered by default.

1,896 changes: 1,685 additions & 211 deletions go.sum

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions vendor/emperror.dev/errors/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,3 @@ trim_trailing_whitespace = true

[*.go]
indent_style = tab

[{Makefile, *.mk}]
indent_style = tab
19 changes: 4 additions & 15 deletions vendor/emperror.dev/errors/.gitignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
/bin/
/build/
/tmp/
/vendor/

/.env.test
/docker-compose.override.yml

# IDE integration
/.idea/*
!/.idea/codeStyles/
!/.idea/copyright/
!/.idea/*.iml
!/.idea/externalDependencies.xml
!/.idea/go.imports.xml
!/.idea/modules.xml
!/.idea/runConfigurations/
!/.idea/scopes/
# Please output directory and local configuration
plz-out
.plzconfig.local
74 changes: 66 additions & 8 deletions vendor/emperror.dev/errors/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,81 @@ run:
- tests
skip-files:
- format_test.go
- wrap_go1_12.go
- wrap_go1_12_test.go
- wrap_test.go

linters-settings:
golint:
min-confidence: 0.1
gci:
local-prefixes: emperror.dev/errors
goimports:
local-prefixes: emperror.dev/errors
golint:
min-confidence: 0

linters:
enable-all: true
disable:
- funlen
- gomnd
- testpackage
disable-all: true
enable:
- bodyclose
- deadcode
- dogsled
- dupl
- errcheck
- exhaustive
- exportloopref
- gci
- gochecknoglobals
- gochecknoinits
- gocognit
- goconst
- gocritic
- gocyclo
- godot
- gofmt
- gofumpt
- goimports
- golint
- goprintffuncname
- gosec
- gosimple
- govet
- ineffassign
- lll
- misspell
- nakedret
- nlreturn
- noctx
- nolintlint
- prealloc
- rowserrcheck
- scopelint
- sqlclosecheck
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unparam
- unused
- varcheck
- whitespace

# unused
# - depguard
# - goheader
# - gomodguard

- godox
# don't enable:
# - asciicheck
# - funlen
# - godox
# - goerr113
# - gomnd
# - interfacer
# - maligned
# - nestif
# - testpackage
# - wsl

issues:
exclude-rules:
Expand Down
21 changes: 21 additions & 0 deletions vendor/emperror.dev/errors/.plzconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[please]
version = 15.5.0

[go]
importpath = emperror.dev/errors

[buildconfig]
golangci-lint-version = 1.31.0
gotestsum-version = 0.5.3

[alias "lint"]
desc = Runs linters for this repo
cmd = run ///pleasings2//tools/go:golangci-lint -- run

[alias "gotest"]
desc = Runs tests for this repo
cmd = run ///pleasings2//tools/go:gotestsum -- --no-summary=skipped --format short -- -race -covermode=atomic -coverprofile=plz-out/log/coverage.txt ./...

[alias "release"]
desc = Release a new version
cmd = run ///pleasings2//tools/misc:releaser --
21 changes: 21 additions & 0 deletions vendor/emperror.dev/errors/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
github_repo(
name = "pleasings2",
repo = "sagikazarmark/mypleasings",
revision = "f8a12721c6f929db3e227e07c152d428ac47ab1b",
)

sh_cmd(
name = "download_tests",
shell = "/usr/bin/env bash",
labels = ["manual"],
cmd = """
mkdir -p tests
# curl https://raw.githubusercontent.com/pkg/errors/master/errors_test.go | sed \\\\$'s|"testing"|"testing"\\n\\n\\t. "emperror.dev/errors"|; s|github.com/pkg/errors|emperror.dev/errors/tests|g' > tests/errors_test.go
curl https://raw.githubusercontent.com/pkg/errors/master/errors_test.go | sed \\\\$'s|"errors"|. "emperror.dev/errors"|; s|/github.com/pkg/errors||g; s|github.com/pkg/errors|emperror.dev/errors/tests|g; s|errors\.New|NewPlain|g; s|x := New("error")|x := NewPlain("error")|g' > tests/errors_test.go
curl https://raw.githubusercontent.com/pkg/errors/master/example_test.go | sed 's|"github.com/pkg/errors"|"emperror.dev/errors"|' > tests/example_test.go
curl https://raw.githubusercontent.com/pkg/errors/master/format_test.go | sed \\\\$'s|"errors"|. "emperror.dev/errors"|; s|/github.com/pkg/errors||g; s|github.com/pkg/errors|emperror.dev/errors/tests|g; s|errors\.New|NewPlain|g' > tests/format_test.go
curl https://raw.githubusercontent.com/golang/go/master/src/errors/errors_test.go | sed \\\\$'s|"errors"|"emperror.dev/errors"|; s|errors\.New|errors.NewPlain|g; s|"fmt"||g' | head -35 > tests/errors_std_test.go
echo -e "// +build go1.13\n\n\\\$(curl https://raw.githubusercontent.com/golang/go/master/src/errors/wrap_test.go)" | sed \\\\$'s|"errors"|"emperror.dev/errors"|; s|errors\.New|errors.NewPlain|g' > tests/wrap_test.go
""",
)
10 changes: 9 additions & 1 deletion vendor/emperror.dev/errors/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]


## [0.8.1] - 2022-02-23

### Fixed

- Reduced memory allocation when collecting stack information


## [0.8.0] - 2020-09-14

### Changed
Expand Down Expand Up @@ -101,7 +108,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Initial release


[Unreleased]: https://github.com/emperror/errors/compare/v0.8.0...HEAD
[Unreleased]: https://github.com/emperror/errors/compare/v0.8.1...HEAD
[0.8.1]: https://github.com/emperror/errors/compare/v0.8.0...v0.8.1
[0.8.0]: https://github.com/emperror/errors/compare/v0.7.0...v0.8.0
[0.7.0]: https://github.com/emperror/errors/compare/v0.6.0...v0.7.0
[0.6.0]: https://github.com/emperror/errors/compare/v0.5.2...v0.6.0
Expand Down
4 changes: 0 additions & 4 deletions vendor/emperror.dev/errors/Makefile

This file was deleted.

19 changes: 13 additions & 6 deletions vendor/emperror.dev/errors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Codecov](https://img.shields.io/codecov/c/github/emperror/errors?style=flat-square)](https://codecov.io/gh/emperror/errors)
[![Go Report Card](https://goreportcard.com/badge/emperror.dev/errors?style=flat-square)](https://goreportcard.com/report/emperror.dev/errors)
![Go Version](https://img.shields.io/badge/go%20version-%3E=1.12-61CFDD.svg?style=flat-square)
[![go.dev reference](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white&style=flat-square)](https://pkg.go.dev/mod/emperror.dev/errors)
[![PkgGoDev](https://pkg.go.dev/badge/mod/emperror.dev/errors)](https://pkg.go.dev/mod/emperror.dev/errors)
[![FOSSA Status](https://app.fossa.com/api/projects/custom%2B8125%2Femperror.dev%2Ferrors.svg?type=shield)](https://app.fossa.com/projects/custom%2B8125%2Femperror.dev%2Ferrors?ref=badge_shield)


Expand Down Expand Up @@ -121,11 +121,18 @@ func main() {

## Development

When all coding and testing is done, please run the test suite:

``` bash
$ make check
```
Contributions are welcome! :)

1. Clone the repository
1. Make changes on a new branch
1. Run the test suite:
```bash
./pleasew build
./pleasew test
./pleasew gotest
./pleasew lint
```
1. Commit, push and open a PR


## License
Expand Down
10 changes: 0 additions & 10 deletions vendor/emperror.dev/errors/custom.mk

This file was deleted.

1 change: 1 addition & 0 deletions vendor/emperror.dev/errors/error_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func (w *withDetails) Format(s fmt.State, verb rune) {
case 'v':
if s.Flag('+') {
_, _ = fmt.Fprintf(s, "%+v", w.error)

return
}

Expand Down
2 changes: 1 addition & 1 deletion vendor/emperror.dev/errors/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func WithStackDepthIf(err error, depth int) error {
return nil
}

var st interface{ StackTrace() errors.StackTrace } // nolint: unused
var st interface{ StackTrace() errors.StackTrace }
if !As(err, &st) {
return &withStack{
error: err,
Expand Down
116 changes: 0 additions & 116 deletions vendor/emperror.dev/errors/main.mk

This file was deleted.

Loading

0 comments on commit f0aaac2

Please sign in to comment.