Skip to content

Commit

Permalink
chore: bump kcl go version to v0.10.0-alpha.2
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <[email protected]>
  • Loading branch information
Peefy committed Aug 6, 2024
1 parent 16c16d5 commit 083d3e0
Show file tree
Hide file tree
Showing 88 changed files with 210 additions and 200 deletions.
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ require (
golang.org/x/mod v0.20.0
gopkg.in/yaml.v3 v3.0.1
gotest.tools/v3 v3.5.1
kcl-lang.io/kcl-go v0.10.0-alpha.1.0.20240730084238-c647f95196d2
kcl-lang.io/kcl-go v0.10.0-alpha.2
)

require (
Expand Down Expand Up @@ -61,7 +61,7 @@ require (
github.com/emirpasic/gods v1.18.1 // indirect
github.com/fatih/color v1.15.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/getkin/kin-openapi v0.126.0 // indirect
github.com/getkin/kin-openapi v0.127.0 // indirect
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
github.com/go-git/go-billy/v5 v5.5.0 // indirect
github.com/go-logr/logr v1.4.1 // indirect
Expand Down Expand Up @@ -143,7 +143,7 @@ require (
google.golang.org/protobuf v1.34.2 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
k8s.io/utils v0.0.0-20230220204549-a5ecb0141aa5 // indirect
kcl-lang.io/lib v0.10.0-alpha.1 // indirect
kcl-lang.io/lib v0.10.0-alpha.2.0.20240805133606-f538c9780908 // indirect
)

require (
Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,8 @@ github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs=
github.com/fatih/color v1.15.0/go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw=
github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg=
github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
github.com/getkin/kin-openapi v0.126.0 h1:c2cSgLnAsS0xYfKsgt5oBV6MYRM/giU8/RtwUY4wyfY=
github.com/getkin/kin-openapi v0.126.0/go.mod h1:7mONz8IwmSRg6RttPu6v8U/OJ+gr+J99qSFNjPGSQqw=
github.com/getkin/kin-openapi v0.127.0 h1:Mghqi3Dhryf3F8vR370nN67pAERW+3a95vomb3MAREY=
github.com/getkin/kin-openapi v0.127.0/go.mod h1:OZrfXzUfGrNbsKj+xmFBx6E5c6yH3At/tAKSc2UszXM=
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
github.com/gliderlabs/ssh v0.3.7 h1:iV3Bqi942d9huXnzEF2Mt+CY9gLu8DNM4Obd+8bODRE=
github.com/gliderlabs/ssh v0.3.7/go.mod h1:zpHEXBstFnQYtGnB8k8kQLol82umzn/2/snG7alWVD8=
Expand Down Expand Up @@ -1326,10 +1326,10 @@ honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9
honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
k8s.io/utils v0.0.0-20230220204549-a5ecb0141aa5 h1:kmDqav+P+/5e1i9tFfHq1qcF3sOrDp+YEkVDAHu7Jwk=
k8s.io/utils v0.0.0-20230220204549-a5ecb0141aa5/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
kcl-lang.io/kcl-go v0.10.0-alpha.1.0.20240730084238-c647f95196d2 h1:GbX+J5OE+sPbFz2HPMD0oDHnvdJB055Il7brmY+5Wsg=
kcl-lang.io/kcl-go v0.10.0-alpha.1.0.20240730084238-c647f95196d2/go.mod h1:q1NZjPbx9XnR7gd1SEtPng82meJNx8sW/wRcRW8DGJs=
kcl-lang.io/lib v0.10.0-alpha.1 h1:GMVB75Pc1W29gcl1WlVgdgUscH6h+d9No0fzBH0rNYg=
kcl-lang.io/lib v0.10.0-alpha.1/go.mod h1:tu+tzwGgHLzYZSIxUG/ntipStrxZd6OvutWYPTxS7cs=
kcl-lang.io/kcl-go v0.10.0-alpha.2 h1:Ly5Nf9HTLRKx1DU3Vx0XxGeom5KmtcQA0R3cCkRsBhg=
kcl-lang.io/kcl-go v0.10.0-alpha.2/go.mod h1:SES7AjeZsQXGzlsk9BRT16xDRp+/nyS7N/bJkG5tuFU=
kcl-lang.io/lib v0.10.0-alpha.2.0.20240805133606-f538c9780908 h1:QxwzJ6jPxdlcTdcYdbUs+vk8w5uz5kirtihNQhXMm/I=
kcl-lang.io/lib v0.10.0-alpha.2.0.20240805133606-f538c9780908/go.mod h1:tu+tzwGgHLzYZSIxUG/ntipStrxZd6OvutWYPTxS7cs=
oras.land/oras-go v1.2.6 h1:z8cmxQXBU8yZ4mkytWqXfo6tZcamPwjsuxYU81xJ8Lk=
oras.land/oras-go v1.2.6/go.mod h1:OVPc1PegSEe/K8YiLfosrlqlqTN9PUyFvOw5Y9gwrT8=
oras.land/oras-go/v2 v2.5.0 h1:o8Me9kLY74Vp5uw07QXPiitjsw7qNXi8Twd+19Zf02c=
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[package]
name = "add_with_default"
edition = "v0.9.0"
edition = "v0.10.0"
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.9.0"
edition = "v0.10.0"
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.9.0"
edition = "v0.10.0"
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.9.0"
edition = "v0.10.0"
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.9.0"
edition = "v0.10.0"
version = "0.0.1"

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pkg"
edition = "v0.9.0"
edition = "v0.10.0"
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.9.0"
edition = "v0.10.0"
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.9.0"
edition = "v0.10.0"
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.9.0"
edition = "v0.10.0"
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.9.0"
edition = "v0.10.0"
version = "0.0.1"

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

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

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

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

2 changes: 1 addition & 1 deletion pkg/client/test_data/test_add_local_path/kcl.mod.bak
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "test_add_local_path"
edition = "v0.9.0"
edition = "v0.10.0"
version = "0.0.1"

3 changes: 2 additions & 1 deletion pkg/client/test_data/test_data_add_deps/kcl.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[package]
name = "test_add_deps"
edition = "v0.9.0"
edition = "v0.10.0"
version = "0.0.1"

[dependencies]
oci_name = { oci = "oci://test_reg/test_repo", tag = "test_tag" }
name = { git = "test_url", tag = "test_tag" }

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

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

[dependencies]
Expand Down
3 changes: 2 additions & 1 deletion pkg/client/test_data/test_init_empty_mod/kcl.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[package]
name = "test_name"
edition = "v0.9.0"
edition = "v0.10.0"
version = "0.0.1"


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

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

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

[dependencies]
Expand Down
5 changes: 5 additions & 0 deletions pkg/client/test_data/test_parse_kcl_mod_file/kcl.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[dependencies]
teleport = "0.1.0"
rabbitmq = "0.0.1"
gitdep = { git = "git://example.com/repo.git", tag = "v1.0.0" }
localdep = { path = "/path/to/local/dependency" }
2 changes: 1 addition & 1 deletion pkg/client/test_data/test_run_in_vendor/dep/kcl.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dep"
edition = "v0.9.0"
edition = "v0.10.0"
version = "0.0.1"

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

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


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

[profile]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "run_2"
edition = "v0.9.0"
edition = "v0.10.0"
version = "0.0.1"


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

[profile]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "run_4"
edition = "v0.9.0"
edition = "v0.10.0"
version = "0.0.1"

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


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


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

[profile]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "run_7"
edition = "v0.9.0"
edition = "v0.10.0"
version = "0.0.1"

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

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


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

[profile]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "run_4"
edition = "v0.9.0"
edition = "v0.10.0"
version = "0.0.1"


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


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

[profile]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "run_4"
edition = "v0.9.0"
edition = "v0.10.0"
version = "0.0.1"


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

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

[dependencies]
Expand Down
Loading

0 comments on commit 083d3e0

Please sign in to comment.