mkantor / operator

A web server for static and dynamic content.
https://operator.mattkantor.com
GNU General Public License v3.0
16 stars 2 forks source link

Only Unix-like operating systems are supported #11

Open mkantor opened 4 years ago

mkantor commented 4 years ago

The way that the content directory is loaded expects Unixy filesystem semantics (e.g. executeableness indicated by a permission bit, / as the path separator, etc). There may be other platform-specific stuff in the codebase too (so far I've only developed/run Operator on macOS and Ubuntu).

I don't think it'll be difficult to make things more portable, but CI should be set up to run checks on multiple platforms so that once things are working they stay working.

mkantor commented 4 years ago

It's worth noting that some of the tests and samples expect a POSIX-compliant environment (due to shell scripts), and some go even further and use common-but-not-technically-in-the-spec things like /dev/urandom.

If this ends up being an issue, some potential mitigations include:

Remember that making Operator cross-platform doesn't necessarily imply making the development environment for Operator cross-platform, though that would definitely be handy when addressing platform-related issues.