Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: path information is lost in kcl mod metadata #550

Closed
zong-zhe opened this issue Nov 22, 2024 · 0 comments · Fixed by #551
Closed

bug: path information is lost in kcl mod metadata #550

zong-zhe opened this issue Nov 22, 2024 · 0 comments · Fixed by #551
Assignees
Labels
bug Something isn't working

Comments

@zong-zhe
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

kcl mod init demo
cd demo
kcl mod add k8s --git https://github.com/kcl-lang/modules
kcl mod add k8s --rename k8soci
kcl mod add json_merge_patch --git https://github.com/kcl-lang/modules --tag v0.1.0
kcl mod metadata

2. What did you expect to see? (Required)

Show the metadata message with local storage path.

{"packages":{"json_merge_patch":{"name":"json_merge_patch","manifest_path":"<real_path>"},"k8s":{"name":"k8s","manifest_path":"<real_path>"},"k8soci":{"name":"k8soci","manifest_path":"<real_path>"}}}

3. What did you see instead (Required)

The real path is empty.

{"packages":{"json_merge_patch":{"name":"json_merge_patch","manifest_path":""},"k8s":{"name":"k8s","manifest_path":""},"k8soci":{"name":"k8soci","manifest_path":""}}}

4. What is your KCL components version? (Required)

v0.11.0-alpha.1

@zong-zhe zong-zhe self-assigned this Nov 22, 2024
@zong-zhe zong-zhe added the bug Something isn't working label Nov 22, 2024
@github-project-automation github-project-automation bot moved this to Done in KCL 2024 Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant