Thank you for your interest in contributing to this project!
We welcome contributions to improve the code, fix bugs, add features, or enhance documentation.
- Use snake_case for all class names, function names, and parameters.
- Always format your code using the provided
.clang-formatfile before pushing.
-
Place header files in the
include/directory. -
Place source (
.cpp) files in thesrc/directory. -
Group related code into logical modules or folders where appropriate.
-
C source is located in
include/ecos/ecos.handsrc/ecos/ecos.cpp -
Python code is located in
ecospyfolder. -
Examples are located in
/examples.
-
Fork the repository and clone your fork:
git clone https://github.com/your-username/your-fork.git cd your-fork -
Create a new branch for your change:
git checkout -b feature/your_feature_name
-
Make your changes, following the code style guidelines.
-
Test your changes to ensure they do not break existing functionality.
-
Commit your changes with a clear and concise commit message.
git commit -m "Add feature: short description" -
Push your branch to your fork:
git push origin feature/your_feature_name
-
Open a pull request to the
masterbranch of the upstream repository.
Include a clear description of your changes and reference any relevant issues.
Unless explicitly stated otherwise, any contribution you submit will be licensed under the same open-source license that governs this repository (see LICENSE). By submitting a pull request, you agree that you have the right to license your code under these terms.
If you're unsure how to get started or have questions, feel free to open an issue.
We appreciate your contributions!