-
Notifications
You must be signed in to change notification settings - Fork 157
How to Contribute
Great. You can use GitHub Issues for any questions, suggestions, or issues. Please do not email individuals.
This Wiki is open to everyone for edit. Feel free to add any changes, it can be a big help for others!
You are welcome to make a GitHub Pull Request for new features and bug fixes.
Please follow the following coding styles. Let's not be too dogmatic though.
- C++: Google C++ Style Guide
- There is a
.clang_format
file that you can utilize directly withclang-format
or integrate with your favorite editor (Vim, Emacs, Atom, etc.)
- There is a
- C: Linux kernel coding style
- Currently C is only used for the Linux kernel module.
- Python: PEP 8 -- Style Guide for Python Code
- For new code, please make it compatible with both Python 2 and 3.
Unless you want to remain anonymous, please update CONTRIBUTORS.md
and include the file in your pull request.
Running BESS unit tests is recommended before committing a patch, the following execute runs all unit tests: /core/all_tests It is recommended to add new tests for new code.
When changing core functionality it is also recommended to run sanity_check.sh script in the root DIR which runs few script files and verify system aliveness.
All Pull Requests will be reviewed to maintain high code quality. Everyone is welcome to join the process of reviewing code. Please understand that others may request further changes to your Pull Request for errors, coding styles, etc.