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

feat: add 'kpm update' to update the dependencies #212

Merged
merged 4 commits into from
Nov 14, 2023

Conversation

zong-zhe
Copy link
Contributor

@zong-zhe zong-zhe commented Nov 13, 2023

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

  • N
  • Y

FIxed #5 and #200

2. What is the scope of this PR (e.g. component or file name):

pkg/cmd/cmd_update.go

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

  • N
  • Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

  • Unit test
  • Integration test
  • Benchmark (add benchmark stats below)
  • Manual test (add detailed scripts or steps below)
  • Other

@zong-zhe zong-zhe added the enhancement New feature or request label Nov 13, 2023
@zong-zhe zong-zhe self-assigned this Nov 13, 2023
@coveralls
Copy link

coveralls commented Nov 13, 2023

Pull Request Test Coverage Report for Build 6860696820

  • 28 of 147 (19.05%) changed or added relevant lines in 7 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.7%) to 36.395%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/utils/utils.go 2 4 50.0%
pkg/package/package.go 0 3 0.0%
pkg/cmd/cmd_push.go 0 4 0.0%
pkg/oci/oci.go 0 7 0.0%
pkg/cmd/cmd_update.go 0 43 0.0%
pkg/client/client.go 24 84 28.57%
Totals Coverage Status
Change from base Build 6717972137: -0.7%
Covered Lines: 1272
Relevant Lines: 3495

💛 - Coveralls

kpm.go Show resolved Hide resolved
pkg/cmd/cmd_update.go Outdated Show resolved Hide resolved
pkg/cmd/cmd_push.go Show resolved Hide resolved
pkg/client/client.go Outdated Show resolved Hide resolved
pkg/client/client.go Outdated Show resolved Hide resolved
pkg/client/client.go Show resolved Hide resolved
Copy link
Contributor

@Peefy Peefy left a comment

Choose a reason for hiding this comment

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

LGTM

@zong-zhe zong-zhe merged commit 1b58fe5 into kcl-lang:main Nov 14, 2023
6 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Nov 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
No open projects
Status: v0.7.0 Release Done
3 participants