sapling/eden/cli
Mark Hollow e7ab071589 check kernel version
Summary:
Added checks for kernel version and system type (eg. Linux, MacOS etc).

A check for running on linux has been added to ensure we're not comparing kernel versions from other unixy systems (eg. my mac kernel is currently version 17.7.0). OS tests are not run for non-linux kernels.

The configuration parameters (in doctor.py) MIN_KERNEL_VERSION should be set to the lowest supported kernel version. For bad kernel versions, add them to KNOWN_BAD_KERNEL_VERSIONS as strings or regexes.

Reviewed By: chadaustin

Differential Revision: D10126747

fbshipit-source-id: a0c60351377a9b85e9d76376c7c61fbf63f74a35
2018-10-09 14:20:45 -07:00
..
test check kernel version 2018-10-09 14:20:45 -07:00
buck.py refactor and split out some cli functions 2018-05-10 13:49:44 -07:00
cmd_util.py update the debug subcommands to use find_checkout() 2018-08-22 11:06:48 -07:00
config.py Add timeout to 'eden status' 2018-10-09 13:56:56 -07:00
configinterpolator.py enable Black python formatting and apply to eden 2018-05-09 21:37:07 -07:00
configutil.py Eden should support toml configuration files 2018-08-03 17:06:41 -07:00
daemon.py Add some 'eden stop' tests 2018-09-26 13:23:03 -07:00
debug.py Format with black 18.9b0 2018-10-01 08:06:47 -07:00
doctor.py check kernel version 2018-10-09 14:20:45 -07:00
filesystem.py Eden doctor should check that bind mounts in the config are mounted 2018-06-20 18:07:41 -07:00
fsck.py fsck: report all orphan inodes as single error 2018-08-31 19:06:25 -07:00
main.py Add timeout to 'eden status' 2018-10-09 13:56:56 -07:00
mtab.py Eden doctor should check that bind mounts in the config are mounted 2018-06-20 18:07:41 -07:00
overlay.py Format with black 18.9b0 2018-10-01 08:06:47 -07:00
rage.py collect edenfs process tree including importers in eden rage 2018-09-26 16:36:36 -07:00
stats_print.py Implement cli method for fetching thrift-latency 2018-08-30 06:23:38 -07:00
stats.py Implement cli method for fetching thrift-latency 2018-08-30 06:23:38 -07:00
subcmd.py update the debug subcommands to use find_checkout() 2018-08-22 11:06:48 -07:00
top.py add top pids to eden top output 2018-09-10 13:52:52 -07:00
ui.py refactor terminal output handling in eden doctor 2018-07-18 18:36:52 -07:00
util.py Add timeout to 'eden status' 2018-10-09 13:56:56 -07:00
version.py rename the CLI's "Config" class to "EdenInstance" 2018-08-15 21:36:18 -07:00