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

Better UX for setup-multiversion

    • Fully Compatible
    • STM 2021-09-06, STM 2021-09-20
    • 2

      setup-multiversion requires a number of required string arguments that makes it hard to remember for all but the most frequent users.

      We can make the following improvements to dramatically reduce the cognitive overhead:

      1. infer the OS for the most poplar ones: Ubuntu 18/20, RHEL 8, mac, Windows (any version, since only a single version is generated by Evergreen). Make "-p" optional.
      2. Use "enterprise" as the default edition instead of "base" since the enterprise module is also mongo, and enterprise variant is more readily available. (e.g. Ubuntu 1804 community is not available for 4.4)
      3. If no "edition" is found, instead of falling back to the generic version, print a message that refers people to the setup_multiversion_config.yml file as a source of truth. Remove existing code for handling fallback variant since it's rarely correct.

      Only 4.2 and newer versions need to be supported since the naming scheme for many 4.0builds is different.

      Note that the base Windows build on 4.2 has a weird platform name ("windows_x86_64-2012plus"), a special case if-condition should suffice.

            Assignee:
            zituo.jin@mongodb.com Zituo Jin
            Reporter:
            robert.guo@mongodb.com Robert Guo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: