Contributing
Table of contents
- Development setup
- Build commands
- Pre-push checklist
- Manual testing
- Pull request process
- Project status
Development setup
git clone https://github.com/discostu105/lox
cd lox
cargo build
cargo test
No live Miniserver is needed for development. All unit tests use pure functions or mocked data.
Build commands
cargo build # debug build
cargo build --release # production binary (~4MB)
cargo test # run all tests
cargo clippy -- -D warnings # lint (warnings are errors)
cargo fmt --check # check formatting
Pre-push checklist
All four checks must pass before pushing (mirrors CI):
cargo fmt --check
cargo clippy -- -D warnings
cargo build --release
cargo test
Manual testing
To test against a real Miniserver:
- Loxone Miniserver (Gen 1 or Gen 2) on your local network
- Configure credentials:
lox setup set --host ... --user ... --pass ... - Verify:
lox status
Pull request process
- One feature or fix per PR
- Tests expected for new logic
- Run
cargo fmtandcargo clippybefore submitting - Update
CHANGELOG.mdunder[Unreleased]
Project status
This is an experimental project. Contributions welcome — especially for:
- Testing with different Miniserver configurations
- New control type support
- Bug reports and fixes
- Documentation improvements