aheckmann / m

mongodb version management
MIT License
267 stars 55 forks source link

Linux distro-specific support #49

Closed kevinadi closed 6 years ago

kevinadi commented 6 years ago

This PR encapsulates the changes in #40 and https://github.com/devkev/m/tree/distros.

Although the utmost care was taken to ensure that it doesn't break things, this is a major change to m that will probably behave unexpectedly to people familiar with m over the years.

Short description of changes: This release will try to recognize the underlying Linux distro, and install distro-specific mongod version. This is done to enable SSL support, which was previously not available to m-installed mongod in Linux.

The supported distro list tracks pretty closely the supported platforms in the production notes:

For example, some versions e.g. Ubuntu 18.04 only supports MongoDB 4.0.0 and not older versions.