You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dependencies (in struct mmpkg_dep) have two fields min_version and max_version. It is said that min_version is inclusive and max_version is exclusive. However, when min_version==max_version, max_version becomes inclusive.
Therefore the function mmpkg_dep_match_version should be transformed in something like this:
First this function is not very good, since a lot of comparison are done.
Moreover, the tests do not pass anymore with this function. I think that we should rework the tests to make the versions of the package coherent with the specifications.
The text was updated successfully, but these errors were encountered:
The dependencies (in struct mmpkg_dep) have two fields min_version and max_version. It is said that min_version is inclusive and max_version is exclusive. However, when min_version==max_version, max_version becomes inclusive.
Therefore the function mmpkg_dep_match_version should be transformed in something like this:
First this function is not very good, since a lot of comparison are done.
Moreover, the tests do not pass anymore with this function. I think that we should rework the tests to make the versions of the package coherent with the specifications.
The text was updated successfully, but these errors were encountered: