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: unified dependency system #402

Closed
wants to merge 1 commit into from
Closed

Conversation

Gmin2
Copy link
Contributor

@Gmin2 Gmin2 commented Jul 26, 2024

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

  • N
  • Y

Refer to #384

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

pkg/unified/dependency.go
pkg/downloader/downloader.go
pkg/cmd/client.go

Some modification are still needed to be done

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

Added a unified dependency system i

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:

No(TODO)

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

@Gmin2 Gmin2 marked this pull request as draft July 26, 2024 20:13
@Gmin2
Copy link
Contributor Author

Gmin2 commented Jul 27, 2024

@Peefy can i get a review of the work done so far in this PR

@Peefy
Copy link
Contributor

Peefy commented Aug 1, 2024

cc @zong-zhe Could you help review it?

@@ -67,11 +68,14 @@ func NewKpmClient() (*KpmClient, error) {
return nil, err
}

ds := unified.NewDependencySystem()
Copy link
Contributor

Choose a reason for hiding this comment

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

Format the code.

credsClient *CredClient
CredsClient CredentialClient
// Platform is the platform for OCI downloads
Platform string
Copy link
Contributor

Choose a reason for hiding this comment

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

Cloud you please use a Platform type?

@zong-zhe zong-zhe closed this Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhancement: kpm add command displaying optimization
3 participants