Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

It should install the latest version of package if multiple versions are specified #46

Open
benlau opened this issue Nov 7, 2017 · 0 comments

Comments

@benlau
Copy link
Contributor

benlau commented Nov 7, 2017

Hello,

Let's say you have a qpm.json like this one

{
  "name": "",
  "description": "",
  "dependencies": [
    "async.future.pri@0.3.6.4",
    "net.efever.aconcurrent@0.1.12"
  ],
  "license": "NONE",
  "pri_filename": "",
  "webpage": ""
}

Then run qpm install

$ qpm install
INFO: Package async.future.pri has a different license (APACHE_2_0) than it's dependant (NONE).
INFO: Package async.future.pri has a different license (APACHE_2_0) than it's dependant (NONE).
INFO: Package net.efever.aconcurrent has a different license (APACHE_2_0) than it's dependant (NONE).
Installing async.future.pri@0.3.6.4
Installing async.future.pri@0.3.6.1
Installing async.future.pri@0.3.6.1

It will install async.future.pri for twice but it is not using the latest version. It uses an old version which is required by async.future.pri@0.3.6.1.

I think in this situation, it should use the latest version instead of the old one.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant