Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-19434

Add version entry to both Community and Enterprise RPM packages to allow for dependencies regardless of type

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Build, Packaging
    • Labels:
      None
    • Sprint:
      Build 12 (04/01/16), Build 13 (04/22/16), Build 14 (05/13/16)

      Description

      Is it possible to add an additional field to our RPM packages that could indicate just "mongodb-server" without Enterprise or Community as a means of highlighting a dependency for MongoDB itself? This could be with or without a corresponding version number.

      EDIT: This may be possible using a virtual package specified with a provides tag per this RPM feature.

      The current output of the Community RPM returns:

      $ rpm -q mongodb-org-server --provides
      config(mongodb-org-server) = 2.6.10-1
      mongo-10gen-server
      mongodb-org-server = 2.6.10-1
      

      The proposal would be:

      $ rpm -q mongodb-org-server --provides
      config(mongodb-org-server) = 2.6.10-1
      mongo-10gen-server
      mongodb-org-server = 2.6.10-1
      mongodb-server
      

      The current output of the Enterprise RPM returns:

      $ rpm -q mongodb-enterprise-server-2.6.10 --provides
      mongo-10gen-enterprise-server
      mongodb-enterprise-server = 2.6.10-1.el7
      

      Similarly for the Enterprise RPMs, the proposal would be:

      $ rpm -q mongodb-enterprise-server-2.6.10 --provides
      mongo-10gen-enterprise-server
      mongodb-enterprise-server = 2.6.10-1.el7
      mongodb-server
      

        Attachments

          Activity

            People

            Assignee:
            ernie.hershey Ernie Hershey
            Reporter:
            eoin.brazil Eoin Brazil
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: