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: when a dependeny in cached in local, the sum in kcl.mod.lock will be lost. #499

Closed
zong-zhe opened this issue Oct 14, 2024 · 0 comments · Fixed by #546
Closed

bug: when a dependeny in cached in local, the sum in kcl.mod.lock will be lost. #499

zong-zhe opened this issue Oct 14, 2024 · 0 comments · Fixed by #546
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)

  1. Init a new kcl package and add a dependency
kcl mod init test_pkg
cd test_pkg
kcl mod add helloworld
  1. cat kcl.mod.lock to show the content kcl.mod.lock
$ cat kcl.mod.lock
[dependencies]
  [dependencies.helloworld]
    name = "helloworld"
    full_name = "helloworld_0.1.3"
    version = "0.1.3"
    sum = "T9FGqbdtkuML4+pDyf4SFP5bDcDusbra6AKtCZygvNw="
  1. Delete the kcl.mod.lock and kcl mod update
rm kcl.mod.lock
kcl mod update
  1. cat kcl.mod.lock to show the new kcl.mod.lock
$ cat kcl.mod.lock
[dependencies]
  [dependencies.helloworld]
    name = "helloworld"
    full_name = "helloworld_0.1.3"
    version = "0.1.3"

The sum is missing.

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

kcl.mod.lock will be not changed after the steps in section 1.

3. What did you see instead (Required)

The sum is missing in kcl.mod.lock

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

The main branch

@zong-zhe zong-zhe added the bug Something isn't working label Oct 14, 2024
@zong-zhe zong-zhe self-assigned this Oct 14, 2024
@github-project-automation github-project-automation bot moved this to Done in KCL 2024 Nov 15, 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