-
Notifications
You must be signed in to change notification settings - Fork 49
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
Feature: Package Version Management for kpm #246
Comments
I am interested in this under lfx |
Hi @octonawish-akcodes 😄 Your enthusiasm to participate in the project is quite ahead of time. We appreciate your passion. 👍 However, the selection for the LFX project is still in progress, and we still have some preparations to make. You can refer to the specific timeline here: LFX Project Timeline. We will continue to update some detailed information about the KCL package manager in this issue. You can keep an eye on it. We will contact you after the project starts. |
Hey, I am too interested in working in this project. |
Hi @AkashKumar7902 😄 The selection for the LFX project is still in progress, and we still have some preparations to make. You can refer to the specific timeline here: LFX Project Timeline. We will continue to update some detailed information about the KCL package manager in this issue. You can keep an eye on it. We warmly welcome your contribution to the KCL project. If you are interested in our project, you can also choose some other issues to work on: KCL: The KCL Compiler - https://github.com/kcl-lang/kcl/issues If you have any questions welcome, you can directly raise the issue or initiate a new discussion to discuss with us. |
Hello, I'm also interested in working on this issue. We could create something like a KVM (KCL Version Manager) or add a subcommand to the kpm for updating, changing, or downgrading package versions. |
Hi, I would like to work on this issue. I do have some ideas for it, and I'll share them on the discussions page. |
Hello, proposal and PRs are welcome. |
Hi @octonawish-akcodes @AkashKumar7902 @amands98 @gauriimaheshwarii @kanha-gupta 😃 |
Hi @zong-zhe I would like to work on this one during the upcoming LFX term and I will apply for the same in a day or so and currently working on the pretest assigned for this issue. |
Hi @octonawish-akcodes @AkashKumar7902 @amands98 @gauriimaheshwarii @kanha-gupta 😃 I added a new PreTest #269 ,There is no dependency between these pretests, you can choose the PreTest you like to do. |
Feature Request
Is your feature request related to a problem?
Yes, currently KCL package manager lacks an efficient way to manage different versions of the same package. This makes it difficult for users to install specific versions, upgrade, or downgrade packages.
Describe the feature you'd like
I would like to propose a version management feature for our package manager. This feature should allow users to easily view, install, upgrade, and downgrade different versions of packages. It should also handle dependencies version conflicts between different versions of the same package to ensure that all dependencies are met when installing, upgrading, or downgrading a package.
Pretest
To apply for this mentorship, finish the pre-tests.
kcl mod graph
to show the dependency graph of KCL package dependencies #263Don't worry that you may not be able to complete all the pretests, you can choose any pretests you can do, and we will consider the final choice according to all your work. You can also try some other non-pretest work, after all, that will help you understand the whole project
Appendix
kpm download the dependencies here :
kpm/pkg/client/client.go
Line 1095 in bd65b2a
When kpm downloads dependencies, it recursively adds all the dependencies of the dependencies to the current project. Here:
kpm/pkg/client/client.go
Line 1146 in bd65b2a
The Pre-Test [LFX PreTest]
kcl mod graph
to show the dependency graph of KCL package dependencies #263 can follow this approachkpm/pkg/client/client.go
Line 1095 in bd65b2a
This issue can follow this approach
kpm/pkg/client/client.go
Line 1095 in bd65b2a
When you design a selection strategy, you can refer to golang mvs.
The text was updated successfully, but these errors were encountered: