Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15910

Upgrade semver library to fix versioning constraint bugs in the PackageManager

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 9.0, 9.1
    • main (10.0), 9.2
    • Package Manager
    • None

    Description

      We are using a semver libary currently that doesn't support features in the test ("8 - 9"), and also hasn't been updated in 7 years. https://github.com/zafarkhaja/jsemver

      Jan also found a bug in the way that it's toString() method works.

      We need to use a more modern library: https://github.com/vdurmont/semver4j

      However there is a small but critical bug in their NPM version comparing: https://github.com/vdurmont/semver4j/issues/48

      The library hasn't been updated in 2 years, so it looks like we will need to fork this unfortunately to fix the bugs. If anyone can find another library that we can use, I'd be happy to use that instead, but I wasn't able to find anything after looking for quite a while.

      Attachments

        Issue Links

          Activity

            People

              krisden Kevin Risden
              houston Houston Putman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m