Can i get some context about this issue? #261
Replies: 4 comments
-
any suggestions about how I can create conflicts of version? @zong-zhe |
Beta Was this translation helpful? Give feedback.
-
Hi @octonawish-akcodes 🙂 I apologize for the late response, I’m in the middle of something right now.
The kpm sometimes overwrites versions, which is caused by the lack of package version management. Because kpm currently does not manage package versions, it just recursively downloads all dependencies, therefore, dependencies added later will overwrite those added earlier who have the same version. If version management is completed, kpm, in the process of adding dependencies, if it needs to add different versions of the same package, then kpm will calculate a compatible version through version management and download it. If a compatible version cannot be found, then an error should be thrown, notifying the user that your project depends on two different and incompatible versions of the same package. |
Beta Was this translation helpful? Give feedback.
-
@octonawish-akcodes Additionally, I just created a PreTest #263, adding a feature to the |
Beta Was this translation helpful? Give feedback.
-
More details added here - #246 |
Beta Was this translation helpful? Give feedback.
-
This issue is talking about this:
Here for
view
scenario what are we considering from kpm command something like this -->kpm show mod
which will show the current installed modules?For installing, upgrading, downgrading a specific module we already install the modules dependencies as
kpm add <somemodule@<followed by version>>
which particularly gives the user to install whatever version he wants right, Also i tried running this command to check the installing, upgrading(by providing the specific version), downgrading(by providing the version) the kpm add overwrites the dependencies in thekcl.mod
file, This kinda creates a confusion to me with what @zong-zhe is suggesting hereThis feature should allow users to easily view, install, upgrade, and downgrade different versions of packages.
Also when i try to recreate this
It should also handle dependencies version conflicts between different versions of the same package
it just overwrites the package version, So I dont quite understand this scenario here as well.@Peefy @zong-zhe
Beta Was this translation helpful? Give feedback.
All reactions