A fork of hyde, the static site generation. Some patches will be pushed upstream.
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.
 
 
 

46 lines
1.6 KiB

  1. **tl;dr** Good (code + tests + commit message) = Great Pull Request.
  2. *********************************************************************
  3. How do the pull requests get merged?
  4. ------------------------------------
  5. The following points are considered as part of merging pull requests
  6. after it is deemed necessary.
  7. 1. Is there an issue tagged in the commit?
  8. 2. Do the existing tests pass?
  9. 3. Are there new tests added to verify any new functionality / issue?
  10. 4. Is the authors list up to date?
  11. 5. Is the changelog updated?
  12. 6. Is the version updated?
  13. 7. Does this require any changes to the documentation?
  14. Guidelines
  15. ----------
  16. If the following guidelines are observed as much as possible, it will
  17. immensely help in verifying and merging the pull requests.
  18. 1. One pull request = One feature or One bug.
  19. 2. Always tag an issue in the commit. If an issue does not exist for
  20. a feature or a bug, please add one.
  21. 3. Use topic / feature branches.
  22. 4. Make sure a test exists to verify the committed code. A good way
  23. to think about it is: if these commits were reversed and only the
  24. test were added back in, it ought to fail.
  25. 5. Make the `commit message`_ as verbose as possible.
  26. 6. Add yourself to `Authors`_ list and update your contribution.
  27. 7. Cross update `Changelog`_ list as well.
  28. 8. If the change was complicated and resulted in a lot of commits,
  29. consider ``rebase -i`` to squash and/or rearrange them to make it
  30. easier to review.
  31. 9. Update the `Readme`_.
  32. .. _commit message: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
  33. .. _Changelog: CHANGELOG.rst
  34. .. _Authors: AUTHORS.rst
  35. .. _Readme: README.rst