Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-7580

Backport OPENIDM-6141: Make update origin version lenient on RC, SNAPSHOT versions

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: OpenIDM 4.5.0
    • Fix Version/s: OpenIDM 4.5.1
    • Component/s: _Update
    • Labels:
      None

      Description

      Presently, when preparing an update version, we must target the previous version. Typically this is the last released version, so a fixed version comparison (as a string) is sufficient. But in the case of the 4.5 update where we had to prepare two additional helper patches which were in development simultaneously (and on SNAPSHOT).

      The improvement requested is that an origin version could be treated as a regex or base version that allows SNAPSHOTs on same version to "qualify" for matching. That is, if update.json specifies

      {
          ...
          "origin": {
              "product": "OpenIDM",
              "version": [
                  "4.0.0-2"
              ]
          },
          ...
      }
      

      that either 4.0.0-2 (released), 4.0.0-2-SNAPSHOT, or 4.0.0-2-RC2 would be considered an appropriate origin.

      An alternate approach would be to support version ranges, but this is perhaps more iffy.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cgdrake Chris Drake
              Reporter:
              cgdrake Chris Drake
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: