CONTRIBUTING.rst 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. Contributing to CMake
  2. *********************
  3. Community
  4. =========
  5. CMake is maintained and supported by `Kitware`_ and developed in
  6. collaboration with a productive community of contributors.
  7. Please subscribe and post to the `CMake Developers List`_ to raise
  8. discussion of development topics.
  9. .. _`Kitware`: http://www.kitware.com/cmake
  10. .. _`CMake Developers List`: https://cmake.org/mailman/listinfo/cmake-developers
  11. Patches
  12. =======
  13. CMake uses `Kitware's GitLab Instance`_ to manage development and code review.
  14. To contribute patches:
  15. #. Fork the upstream `CMake Repository`_ into a personal account.
  16. #. Base all new work on the upstream ``master`` branch.
  17. #. Create commits making incremental, distinct, logically complete changes.
  18. #. Push a topic branch to a personal repository fork on GitLab.
  19. #. Create a GitLab Merge Request targeting the upstream ``master`` branch.
  20. .. _`Kitware's GitLab Instance`: https://gitlab.kitware.com
  21. .. _`CMake Repository`: https://gitlab.kitware.com/cmake/cmake
  22. Code Style
  23. ==========
  24. We use `clang-format`_ to define our style for C++ code in the CMake source
  25. tree. See the `.clang-format`_ configuration file for our style settings.
  26. Use ``clang-format`` version 3.8 or higher to format source files.
  27. See also the `Utilities/Scripts/clang-format.bash`_ script.
  28. .. _`clang-format`: http://clang.llvm.org/docs/ClangFormat.html
  29. .. _`.clang-format`: .clang-format
  30. .. _`Utilities/Scripts/clang-format.bash`: Utilities/Scripts/clang-format.bash
  31. License
  32. =======
  33. We do not require any formal copyright assignment or contributor license
  34. agreement. Any contributions intentionally sent upstream are presumed
  35. to be offered under terms of the OSI-approved BSD 3-clause License.
  36. See `Copyright.txt`_ for details.
  37. .. _`Copyright.txt`: Copyright.txt