Skip to content

Commit

Permalink
fix: bump kcl-go version to 0.11.0-alpha.1 (#563)
Browse files Browse the repository at this point in the history
* fix: bump kcl-go version to 0.11.0-alpha.1

Signed-off-by: zongz <[email protected]>

* fix: bump test case version

Signed-off-by: zongz <[email protected]>

* fix: fix test case

Signed-off-by: zongz <[email protected]>

* fix: fix test case version

Signed-off-by: zongz <[email protected]>

* fix: fix test case

Signed-off-by: zongz <[email protected]>

---------

Signed-off-by: zongz <[email protected]>
  • Loading branch information
zong-zhe authored Dec 9, 2024
1 parent 9be5efb commit 742130e
Show file tree
Hide file tree
Showing 174 changed files with 247 additions and 267 deletions.
29 changes: 13 additions & 16 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ require (
github.com/urfave/cli/v2 v2.27.5
golang.org/x/mod v0.22.0
gotest.tools/v3 v3.5.1
kcl-lang.io/kcl-go v0.10.8
kcl-lang.io/kcl-go v0.11.0-alpha.1
)

require (
Expand Down Expand Up @@ -55,9 +55,8 @@ require (
github.com/docker/go-metrics v0.0.1 // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/ebitengine/purego v0.7.1 // indirect
github.com/emicklei/proto v1.13.2 // indirect
github.com/emicklei/proto v1.13.3 // indirect
github.com/emirpasic/gods v1.18.1 // indirect
github.com/fatih/color v1.18.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/getkin/kin-openapi v0.128.0 // indirect
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
Expand All @@ -67,7 +66,7 @@ require (
github.com/go-openapi/jsonpointer v0.21.0 // indirect
github.com/go-openapi/swag v0.23.0 // indirect
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
github.com/goccy/go-yaml v1.13.4 // indirect
github.com/goccy/go-yaml v1.15.7 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/golang/snappy v0.0.4 // indirect
Expand All @@ -86,8 +85,6 @@ require (
github.com/kevinburke/ssh_config v1.2.0 // indirect
github.com/klauspost/compress v1.17.11 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
Expand Down Expand Up @@ -126,25 +123,25 @@ require (
go.opentelemetry.io/otel/sdk v1.28.0 // indirect
go.opentelemetry.io/otel/trace v1.28.0 // indirect
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
golang.org/x/crypto v0.28.0 // indirect
golang.org/x/crypto v0.29.0 // indirect
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c // indirect
golang.org/x/net v0.30.0 // indirect
golang.org/x/net v0.31.0 // indirect
golang.org/x/oauth2 v0.23.0 // indirect
golang.org/x/sync v0.8.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/text v0.19.0 // indirect
golang.org/x/sync v0.9.0 // indirect
golang.org/x/sys v0.27.0 // indirect
golang.org/x/text v0.20.0 // indirect
golang.org/x/time v0.6.0 // indirect
golang.org/x/tools v0.26.0 // indirect
golang.org/x/tools v0.27.0 // indirect
google.golang.org/api v0.169.0 // indirect
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240814211410-ddb44dafa142 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect
google.golang.org/grpc v1.67.1 // indirect
google.golang.org/protobuf v1.35.1 // indirect
google.golang.org/grpc v1.68.1 // indirect
google.golang.org/protobuf v1.35.2 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 // indirect
kcl-lang.io/lib v0.10.8 // indirect
kcl-lang.io/lib v0.11.0-alpha.1 // indirect
)

require (
Expand Down
74 changes: 28 additions & 46 deletions go.sum

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[package]
name = "add_with_default"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "add_with_default"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[package]
name = "add_with_default"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "add_with_default"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "dep_pkg"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pkg"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "dep_pkg"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

2 changes: 1 addition & 1 deletion pkg/client/test_data/add_with_local_path/init/pkg/kcl.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pkg"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oci"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oci"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion pkg/client/test_data/add_with_mod_spec/git/kcl.mod.bk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[package]
name = "git"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"
2 changes: 1 addition & 1 deletion pkg/client/test_data/add_with_mod_spec/git/kcl.mod.expect
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "git"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[package]
name = "git"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "git"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[package]
name = "git"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "git"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[package]
name = "git"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "git"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[package]
name = "git"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "git"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion pkg/client/test_data/add_with_mod_spec/local/dep/kcl.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[package]
name = "dep"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[package]
name = "sub"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[package]
name = "pkg"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pkg"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[package]
name = "git"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "git"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oci"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oci"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion pkg/client/test_data/add_with_mod_spec/no_spec/kcl.mod.bk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oci"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oci"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion pkg/client/test_data/add_with_mod_spec/oci/kcl.mod.bk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oci"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
2 changes: 1 addition & 1 deletion pkg/client/test_data/add_with_mod_spec/oci/kcl.mod.expect
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oci"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion pkg/client/test_data/add_with_mod_spec/rename/kcl.mod.bk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[package]
name = "rename"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rename"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[package]
name = "rename"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rename"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[package]
name = "rename"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rename"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oci"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oci"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oci"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oci"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion pkg/client/test_data/diffsettings/kcl.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "diffsettings"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion pkg/client/test_data/expected/kcl.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "test_add_deps"
edition = "v0.10.0"
edition = "v0.11.0-alpha.1"
version = "0.0.1"

[dependencies]
Expand Down
Loading

0 comments on commit 742130e

Please sign in to comment.