[SERVER-58302] Better UX for setup-multiversion Created: 06/Jul/21  Updated: 29/Oct/23  Resolved: 07/Sep/21

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Robert Guo (Inactive) Assignee: Zituo Jin
Resolution: Fixed Votes: 0
Labels: neweng, tig-multiversion
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: STM 2021-09-06, STM 2021-09-20
Participants:
Story Points: 2

 Description   

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.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 07/Sep/21 ]

Author:

{'name': 'Zituo Jin', 'email': 'zituo.jin@mongodb.com', 'username': 'zituo-jin'}

Message: SERVER-58302 Improve UX for setup-multiversion
Branch: master
https://github.com/mongodb/mongo/commit/7bba31b479401434c29c130d622b78ff669aafae

Generated at Thu Feb 08 05:44:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.