Contributing to Machnet
We welcome contributions! Machnet follows Google's C++ Style Guide.
Development Setup
# Install linting and formatting tools
sudo apt install clang-format cppcheck # or equivalent for your OS
pip install pre-commit
# Set up pre-commit hooks
cd machnet
pre-commit install
Building from Source
git clone --recursive https://github.com/microsoft/machnet.git
cd machnet
rm -rf build && mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j
Submitting Changes
- Fork the repository and create a feature branch.
- Make your changes, ensuring all pre-commit hooks pass.
- Write clear commit messages describing what and why.
- Open a pull request against
main.
Reporting Issues
Open an issue on GitHub with:
- A clear description of the problem
- Steps to reproduce
- Platform details (cloud provider, VM type, OS, NIC)
- Any relevant logs or error messages