Thank you for considering contributing to OpenSDK! This guide outlines how to contribute code, report issues, and ensure consistency across submissions.
To contribute:
- Fork the repository and create a feature branch from
main. - Develop your changes in the appropriate adapter directory:
src/sunrise6g_opensdk/edgecloud/adapters/src/sunrise6g_opensdk/network/adapters/src/sunrise6g_opensdk/oran/adapters/
- Follow the coding guidelines below.
- Write or update unit tests for your changes.
- Ensure all tests pass.
- Set up and run
pre-commithooks before pushing changes. - Submit a pull request with a clear and concise description.
Choose a branch name that reflects the adapter type and your feature:
feature/add-edgecloud-<platform>feature/add-network-<5gcore>feature/add-oran-<solution>
Examples:
feature/add-edgecloud-i2edge
feature/add-network-open5gs
feature/add-oran-juniper- Write meaningful commit messages.
- Keep pull requests focused and concise.
- Document public methods and classes using docstrings.
We use pre-commit to enforce formatting and static analysis. Apply these commands from the root of the repository:
pip3 install pre-commit
pre-commit installpre-commit run --all-filesBefore submitting your contribution, ensure all unit tests pass.
See TESTING.md for instructions.
Please use the Issue Tracker for bug reports or feature requests.
When reporting a bug, include:
- A clear description of the problem
- Steps to reproduce it
- Relevant logs or error messages (if any)
We are committed to maintaining a welcoming and respectful environment for all contributors.
Thank you for helping improve OpenSDK!