You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
3.0 KiB

  1. Contributing to CMake
  2. *********************
  3. The following summarizes the process for contributing changes.
  4. See documentation on `CMake Development`_ for more information.
  5. .. _`CMake Development`: Help/dev/README.rst
  6. Community
  7. =========
  8. CMake is maintained and supported by `Kitware`_ and developed in
  9. collaboration with a productive community of contributors.
  10. Please subscribe and post to the `CMake Developers List`_ to raise
  11. discussion of development topics.
  12. .. _`Kitware`: http://www.kitware.com/cmake
  13. .. _`CMake Developers List`: https://cmake.org/mailman/listinfo/cmake-developers
  14. Patches
  15. =======
  16. CMake uses `Kitware's GitLab Instance`_ to manage development and code review.
  17. To contribute patches:
  18. #. Fork the upstream `CMake Repository`_ into a personal account.
  19. #. Run `Utilities/SetupForDevelopment.sh`_ for local git configuration.
  20. #. See `Building CMake`_ for building CMake locally.
  21. #. See the `CMake Source Code Guide`_ for coding guidelines.
  22. #. Base all new work on the upstream ``master`` branch.
  23. Base work on the upstream ``release`` branch only if it fixes a
  24. regression or bug in a feature new to that release.
  25. If in doubt, prefer ``master``. Reviewers may simply ask for
  26. a rebase if deemed appropriate in particular cases.
  27. #. Create commits making incremental, distinct, logically complete changes
  28. with appropriate `commit messages`_.
  29. #. Push a topic branch to a personal repository fork on GitLab.
  30. #. Create a GitLab Merge Request targeting the upstream ``master`` branch
  31. (even if the change is intended for merge to the ``release`` branch).
  32. Check the box labelled "Allow commits from members who can merge to the
  33. target branch". This will allow maintainers to make minor edits on your
  34. behalf.
  35. The merge request will enter the `CMake Review Process`_ for consideration.
  36. .. _`Kitware's GitLab Instance`: https://gitlab.kitware.com
  37. .. _`CMake Repository`: https://gitlab.kitware.com/cmake/cmake
  38. .. _`Utilities/SetupForDevelopment.sh`: Utilities/SetupForDevelopment.sh
  39. .. _`Building CMake`: README.rst#building-cmake
  40. .. _`CMake Source Code Guide`: Help/dev/source.rst
  41. .. _`commit messages`: Help/dev/review.rst#commit-messages
  42. .. _`CMake Review Process`: Help/dev/review.rst
  43. CMake Dashboard Client
  44. ======================
  45. The *integration testing* step of the `CMake Review Process`_ uses a set of
  46. testing machines that follow an integration branch on their own schedule to
  47. drive testing and submit results to the `CMake CDash Page`_. Anyone is
  48. welcome to provide testing machines in order to help keep support for their
  49. platforms working.
  50. See documentation on `CMake Testing Process`_ for more information.
  51. .. _`CMake CDash Page`: https://open.cdash.org/index.php?project=CMake
  52. .. _`CMake Testing Process`: Help/dev/testing.rst
  53. License
  54. =======
  55. We do not require any formal copyright assignment or contributor license
  56. agreement. Any contributions intentionally sent upstream are presumed
  57. to be offered under terms of the OSI-approved BSD 3-clause License.
  58. See `Copyright.txt`_ for details.
  59. .. _`Copyright.txt`: Copyright.txt