Uh oh!
There was an error while loading. Please reload this page.
validate: CheckLinux is platform dependent - #560
Conversation
liangchenye
commented
Jan 24, 2018
Hi @vbatts , I think 'validate.go' built in a non-Linux environment could also validate the Linux struct. |
wking
commented
Jan 24, 2018
via email
On Wed, Jan 24, 2018 at 08:37:17AM +0000, (Liang Chenye) wrote:
I think 'validate.go' built in a non-Linux environment could also
validate the Linux struct. +1, as long as ‘HostSpecific’ wasn't set (in which case we should
error out). I'm in favor of moving anything that won't compile on
other platforms (and is only used for HostSpecific checks) over to
Linux-only helper functions, but I'd rather not move *all* of
CheckLinux. |
LGTM |
But you lose the ability to do host-agnostic, cross-platform validation. More on that in #445. Is cross-platform validation not a goal of this project? |
wking
commented
Jan 26, 2018
I've filed #565 with a start at the narrower change I think we want to see, allowing for Windows hosts to compile |
zhouhao3
commented
Mar 3, 2018
Need rebase @vbatts . |
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
vbatts
commented
Mar 5, 2018
updated. PTAL. |
Signed-off-by: Vincent Batts vbatts@hashbangbash.com