nosinovacao / name-sdk

A dependencies management library designed to expose and access dependencies information.
BSD 3-Clause "New" or "Revised" License
14 stars 4 forks source link

Depency maximum version should support wildcards such as 3.* and 3.0.* #11

Closed Symbianx closed 6 years ago

Symbianx commented 7 years ago

This allows use cases where the maximum version of a dependency is specified by just one portion of the version.

Example:

Dependency A depends on the major version 3 of Dependency B, regardless of the minor version.

Current Behaviour:

One would have to set the minimum version to 3 and maximum version to 3.99999.99999 which is far from ideal.

Expected Behaviour:

Ideally, one could set the minimum version 3 and maximum version to **3.*, which would match any version with the major portion 3**.