Skip to content
This repository was archived by the owner on Aug 1, 2022. It is now read-only.
This repository was 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

Description

@benlau

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions