CONTRIBUTING 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. Note: by contributing code to the Redis project in any form, including sending
  2. a pull request via Github, a code fragment or patch via private email or
  3. public discussion groups, you agree to release your code under the terms
  4. of the BSD license that you can find in the COPYING file included in the Redis
  5. source distribution. You will include BSD license in the COPYING file within
  6. each source file that you contribute.
  7. # IMPORTANT: HOW TO USE REDIS GITHUB ISSUES
  8. Github issues SHOULD ONLY BE USED to report bugs, and for DETAILED feature
  9. requests. Everything else belongs to the Redis Google Group:
  10. https://groups.google.com/forum/m/#!forum/Redis-db
  11. PLEASE DO NOT POST GENERAL QUESTIONS that are not about bugs or suspected
  12. bugs in the Github issues system. We'll be very happy to help you and provide
  13. all the support in the mailing list.
  14. There is also an active community of Redis users at Stack Overflow:
  15. https://stackoverflow.com/questions/tagged/redis
  16. Issues and pull requests for documentation belong on the redis-doc repo:
  17. https://github.com/redis/redis-doc
  18. If you are reporting a security bug or vulnerability, see SECURITY.md.
  19. # How to provide a patch for a new feature
  20. 1. If it is a major feature or a semantical change, please don't start coding
  21. straight away: if your feature is not a conceptual fit you'll lose a lot of
  22. time writing the code without any reason. Start by posting in the mailing list
  23. and creating an issue at Github with the description of, exactly, what you want
  24. to accomplish and why. Use cases are important for features to be accepted.
  25. Here you'll see if there is consensus about your idea.
  26. 2. If in step 1 you get an acknowledgment from the project leaders, use the
  27. following procedure to submit a patch:
  28. a. Fork Redis on github ( https://docs.github.com/en/github/getting-started-with-github/fork-a-repo )
  29. b. Create a topic branch (git checkout -b my_branch)
  30. c. Push to your branch (git push origin my_branch)
  31. d. Initiate a pull request on github ( https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request )
  32. e. Done :)
  33. 3. Keep in mind that we are very overloaded, so issues and PRs sometimes wait
  34. for a *very* long time. However this is not lack of interest, as the project
  35. gets more and more users, we find ourselves in a constant need to prioritize
  36. certain issues/PRs over others. If you think your issue/PR is very important
  37. try to popularize it, have other users commenting and sharing their point of
  38. view and so forth. This helps.
  39. 4. For minor fixes just open a pull request on Github.
  40. Thanks!