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.

26 lines
1.3 KiB

3 months ago
  1. # Style
  2. This project is formatted with [clang-format][fmt] using the style file at the root of the repository. Please run clang-format before sending a pull request.
  3. In general, try to follow the style of surrounding code. We mostly follow the [Google C++ style guide][cpp-style].
  4. Commit messages should be in the imperative mood, as described in the [Git contributing file][git-contrib]:
  5. > Describe your changes in imperative mood, e.g. "make xyzzy do frotz"
  6. > instead of "[This patch] makes xyzzy do frotz" or "[I] changed xyzzy
  7. > to do frotz", as if you are giving orders to the codebase to change
  8. > its behaviour.
  9. [fmt]: http://clang.llvm.org/docs/ClangFormat.html
  10. [cpp-style]: https://google.github.io/styleguide/cppguide.html
  11. [git-contrib]: http://git.kernel.org/cgit/git/git.git/tree/Documentation/SubmittingPatches?id=HEAD
  12. # Tests
  13. Please verify the tests pass by running the target `test/yaml-cpp-tests`.
  14. If you are adding functionality, add tests accordingly.
  15. # Pull request process
  16. Every pull request undergoes a code review. Unfortunately, github's code review process isn't great, but we'll manage. During the code review, if you make changes, add new commits to the pull request for each change. Once the code review is complete, rebase against the master branch and squash into a single commit.