Skip to content

Conversation

SanderKnape
Copy link
Contributor

@SanderKnape SanderKnape commented Jan 8, 2025

kcl-lang/kcl - KCL Programming Language (CNCF Sandbox Project). https://kcl-lang.io

Check List

@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Jan 8, 2025
@suzuki-shunsuke suzuki-shunsuke added this to the v4.294.0 milestone Jan 8, 2025
@suzuki-shunsuke
Copy link
Member

Thank you for your contribution!

- name: kclvm_cli.exe
src: bin/kclvm_cli.exe
files:
- name: kclvm_cli
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- name: kclvm_cli
- name: kcl

I think the command name should be kcl.

https://www.kcl-lang.io/docs/user_docs/getting-started/install/#note

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I see. This tool includes a lot of commands.
And kclvm_cli is different from kcl.

kclvm/bin/kcl
kclvm/bin/kcl-doc
kclvm/bin/kcl-fmt
kclvm/bin/kcl-language-server
kclvm/bin/kcl-lint
kclvm/bin/kcl-plugin
kclvm/bin/kcl-test
kclvm/bin/kcl-vet
kclvm/bin/kclvm
kclvm/bin/kclvm_cli

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm I'm actually also confused now. I only see 3 files in the kclvm-v0.11.0-linux-amd64.tar.gz asset so I assumed I needed kclvm_cli. I'm now wondering if this is actually the correct asset.

I've installed KCL with Homebrew before so this is the first time I'm looking at these assets.

I can dive deeper tomorrow.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm supposed to use https://github.com/kcl-lang/cli instead 🤦 I'll update the PR tomorrow. Apologies for the confusion!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I see.
Could you create a new PR for https://github.com/kcl-lang/cli ?
I'm fixing this pr.
I'm not familiar with these tools, but maybe we can support them too.

Comment on lines 3 to 32
- name: kcl-lang/kcl
version: v0.10.8
- name: kcl-lang/kcl
version: v0.10.0-rc.1
- name: kcl-lang/kcl
version: v0.7.3
- name: kcl-lang/kcl
version: v0.5.1
- name: kcl-lang/kcl
version: v0.5.0
- name: kcl-lang/kcl
version: v0.4.6-beta.1
- name: kcl-lang/kcl
version: v0.4.6-alpha.2
- name: kcl-lang/kcl
version: v0.4.6-alpha.1
- name: kcl-lang/kcl
version: v0.4.5
- name: kcl-lang/kcl
version: v0.4.5-alpha.2
- name: kcl-lang/kcl
version: v0.4.4
- name: kcl-lang/kcl
version: v0.4.4-beta.2
- name: kcl-lang/kcl
version: v0.4.4-alpha.2
- name: kcl-lang/kcl
version: v0.4.4-alpha.1
- name: kcl-lang/kcl
version: v0.4.2-alpha.3
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should support old versions as much as possible.
You should not remove old versions.
Removing alpha and beta is fine.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed many versions are missing as well from this list. Why is that?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just test data.
You can install any version not listed here.

@suzuki-shunsuke
Copy link
Member

I'll push some commits.

@suzuki-shunsuke
Copy link
Member

⚠️ Consideration

When we support a programing language, we need to be careful about where the programing language installs libraries and commands.

For instance, if the programing language installs commands in the same directory with the programing language itself, aqua can't add them to $PATH, meaning we can't execute them.
Node.js's npm i -g installs the same directory with node by default, so we gave up the support of Node.js before (Now aqua supports Node.js again because we can change the install path by NPM_CONFIG_REFIX).
If the language installs libraries in the same directory with it, the language can't refer installed libraries when we change the version of the language.

@suzuki-shunsuke
Copy link
Member

Usage:
  kcl [command]

Available Commands:
  clean       KCL clean tool
  completion  Generate the autocompletion script for the specified shell
  doc         KCL document tool
  fmt         KCL format tool
  help        Help about any command
  import      KCL import tool
  lint        Lint KCL codes.
  mod         KCL module management
  registry    KCL registry management
  run         Run KCL codes.
  server      Run a KCL server
  test        KCL test tool
  version     Show version of the KCL CLI
  vet         KCL validation tool

I guess many tools were moved to kcl-lang/kcl.

kclvm/bin/kcl
kclvm/bin/kcl-doc
kclvm/bin/kcl-fmt
kclvm/bin/kcl-language-server
kclvm/bin/kcl-lint
kclvm/bin/kcl-plugin
kclvm/bin/kcl-test
kclvm/bin/kcl-vet
kclvm/bin/kclvm
kclvm/bin/kclvm_cli

@suzuki-shunsuke suzuki-shunsuke removed this from the v4.294.0 milestone Jan 9, 2025
@suzuki-shunsuke suzuki-shunsuke added this to the v4.295.0 milestone Jan 10, 2025
@suzuki-shunsuke suzuki-shunsuke merged commit addb309 into aquaproj:main Jan 10, 2025
17 checks passed
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Jan 22, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [aquaproj/aqua-registry](https://github.com/aquaproj/aqua-registry) | minor | `v4.293.0` -> `v4.298.0` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>aquaproj/aqua-registry (aquaproj/aqua-registry)</summary>

### [`v4.298.0`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.298.0)

[Compare Source](aquaproj/aqua-registry@v4.297.0...v4.298.0)

[Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.298.0) | [Merge Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.298.0) | aquaproj/aqua-registry@v4.297.0...v4.298.0

#### 🎉 New Packages

[#&#8203;31117](aquaproj/aqua-registry#31117) [CrunchyData/postgres-operator-client](https://github.com/CrunchyData/postgres-operator-client): the Command Line Interface (CLI) for the Crunchy Postgres Operator
[#&#8203;31119](aquaproj/aqua-registry#31119) [minio/mc](https://github.com/minio/mc): Unix like utilities for object store

#### Fixes

[#&#8203;31120](aquaproj/aqua-registry#31120) dhall-lang/dhall-haskell: Re-scaffold
[#&#8203;31065](aquaproj/aqua-registry#31065) babarot/gomi: Re-scaffold
[#&#8203;31034](aquaproj/aqua-registry#31034) Rename the package gocruncher/jenkins-job-cli to artemsalimov/jenkins-job-cli
[#&#8203;31026](aquaproj/aqua-registry#31026) opentofu/opentofu: Cosign verification [@&#8203;jdx](https://github.com/jdx)

### [`v4.297.0`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.297.0)

[Compare Source](aquaproj/aqua-registry@v4.296.0...v4.297.0)

[Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.297.0) | [Merge Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.297.0) | aquaproj/aqua-registry@v4.296.0...v4.297.0

#### 🎉 New Packages

[#&#8203;30994](aquaproj/aqua-registry#30994) [dyne/slangroom-exec](https://github.com/dyne/slangroom-exec) - Execute all Zencode from Zenroom and Slangroom plugins in one shot [@&#8203;matteo-cristino](https://github.com/matteo-cristino)
[#&#8203;31007](aquaproj/aqua-registry#31007) [peripheryapp/periphery](https://github.com/peripheryapp/periphery) - A tool to identify unused code in Swift projects [@&#8203;MontakOleg](https://github.com/MontakOleg)

#### Fixes

[#&#8203;30971](aquaproj/aqua-registry#30971) jedisct1/minisign: Support minisign 0.12
[#&#8203;30937](aquaproj/aqua-registry#30937) magodo/pipeform: Support pipeform v0.2.0

### [`v4.296.0`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.296.0)

[Compare Source](aquaproj/aqua-registry@v4.295.1...v4.296.0)

[Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.296.0) | [Merge Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.296.0) | aquaproj/aqua-registry@v4.295.1...v4.296.0

#### 🎉 New Packages

[#&#8203;30887](aquaproj/aqua-registry#30887) [justjanne/powerline-go](https://github.com/justjanne/powerline-go): Beautiful and useful low-latency prompt for your shell, written in go [@&#8203;scop](https://github.com/scop)
[#&#8203;30904](aquaproj/aqua-registry#30904) [suzuki-shunsuke/deny-self-approve](https://github.com/suzuki-shunsuke/deny-self-approve): CLI to deny self-approved GitHub Merge Requests

#### Fixes

[#&#8203;30814](aquaproj/aqua-registry#30814) ycd/dstp: Re-scaffold

### [`v4.295.1`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.295.1)

[Compare Source](aquaproj/aqua-registry@v4.295.0...v4.295.1)

[Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.295.1) | [Merge Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.295.1) | aquaproj/aqua-registry@v4.295.0...v4.295.1

#### Fixes

[#&#8203;30794](aquaproj/aqua-registry#30794) sharkdp/bat: Re-scaffold sharkdp/bat [@&#8203;yudai-nkt](https://github.com/yudai-nkt)
[#&#8203;30801](aquaproj/aqua-registry#30801) sharkdp/bat: Drop the support of old versions using cargo

### [`v4.295.0`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.295.0)

[Compare Source](aquaproj/aqua-registry@v4.294.1...v4.295.0)

[Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.295.0) | [Merge Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.295.0) | aquaproj/aqua-registry@v4.294.1...v4.295.0

#### 🎉 New Packages

[#&#8203;30715](aquaproj/aqua-registry#30715) [kcl-lang/cli](https://github.com/kcl-lang/cli) - The KCL Command Line Interface (CLI) [@&#8203;SanderKnape](https://github.com/SanderKnape)
[#&#8203;30712](aquaproj/aqua-registry#30712) [kcl-lang/kcl](https://github.com/kcl-lang/kcl) - KCL Programming Language (CNCF Sandbox Project). https://kcl-lang.io [@&#8203;SanderKnape](https://github.com/SanderKnape)

#### Fixes

[#&#8203;30791](aquaproj/aqua-registry#30791) imsnif/bandwhich: Re-scaffold to support linux/arm64

### [`v4.294.1`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.294.1)

[Compare Source](aquaproj/aqua-registry@v4.294.0...v4.294.1)

[Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.294.1) | [Merge Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.294.1) | aquaproj/aqua-registry@v4.294.0...v4.294.1

#### Fixes

[#&#8203;30789](aquaproj/aqua-registry#30789) bridgecrewio/checkov: Re-scafold the setting
[#&#8203;30786](aquaproj/aqua-registry#30786) magodo/pipeform: Change the package type to github_release
[#&#8203;30781](aquaproj/aqua-registry#30781) gradle/gradle-distributions: Support milestone versions [@&#8203;risu729](https://github.com/risu729)

### [`v4.294.0`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.294.0)

[Compare Source](aquaproj/aqua-registry@v4.293.0...v4.294.0)

[Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.294.0) | [Merge Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.294.0) | aquaproj/aqua-registry@v4.293.0...v4.294.0

#### 🎉 New Packages

[#&#8203;30603](aquaproj/aqua-registry#30603) [apache/spark](https://github.com/apache/spark): Apache Spark - A unified analytics engine for large-scale data processing
[#&#8203;30736](aquaproj/aqua-registry#30736) [magodo/pipeform](https://github.com/magodo/pipeform): Terraform runtime TUI

> \[!WARNING]
> pipeform has some requirements:
> https://github.com/magodo/pipeform/blob/91dbcabf38da01e1b59856e00cfa6068200c7237/README.md?plain=1#L48
>
> > Note that the clipboard functionality is only enabled when the tool is built properly (CGO might be required) on a supported platform. [Details](https://github.com/golang-design/clipboard?tab=readme-ov-file#platform-specific-details).
> >
> > -   macOS: require Cgo, no dependency
> > -   Linux: require X11 dev package. For instance, install libx11-dev or xorg-dev or libX11-devel to access X window system.
> > -   Windows: no Cgo, no dependency

#### Fixes

[#&#8203;30735](aquaproj/aqua-registry#30735) editorconfig-checker/editorconfig-checker: Re-scaffold the setting
[#&#8203;30751](aquaproj/aqua-registry#30751) typst/typst: Re-scaffold the setting. Support linux/arm64

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTEzLjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbIlJlbm92YXRlIEJvdCJdfQ==-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants