contribution.rst 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. Contributing
  2. ============
  3. Django JET is open-source and every member of the community can contribute to it. Below are some guidelines on how
  4. to help with the project and make it better.
  5. .. _rules:
  6. Rules
  7. -----
  8. * Git master branch should always be stable
  9. * All pull requests are made to git dev branch
  10. * GPL (or similar) code is not eligible for inclusion
  11. Guidelines For Reporting An Issue/Feature
  12. -----------------------------------------
  13. So you've found a bug or have a great idea for a feature. Here's the steps you should take
  14. to help get it added/fixed in Django JET:
  15. * First check if there's an existing issue/pull request for this bug/feature. Issues can be found here
  16. https://github.com/geex-arts/django-jet/issues, PRs here https://github.com/geex-arts/django-jet/pulls
  17. * If there isn't one there, please add an issue. The ideal report includes:
  18. * A description of the problem/suggestion
  19. * How to reproduce the bug
  20. * If relevant including the versions of your:
  21. * Python interpreter
  22. * Django
  23. * Django JET
  24. * Optionally of the other dependencies involved
  25. * It would be great if you also make a pull request which solves your issue
  26. Guidelines For Contributing Code
  27. --------------------------------
  28. If you're ready to contribute back some code/docs, the process should look like:
  29. * Fork the project on GitHub into your own account
  30. * Clone your copy of Django JET to a separate folder
  31. * Install it into your demo project using ``pip install -e PATH_TO_CLONED_JET``
  32. * Make a new branch in git & commit your changes there
  33. * Push your new branch up to GitHub
  34. * Again, ensure there isn't already an issue or pull request out there on it. If there is and you feel you have
  35. a better fix, please take note of the issue number and mention it in your pull request
  36. * Create a new pull request (based on your branch), including what the problem/feature is, versions of
  37. your software and referencing any related issues/pull requests
  38. In order to be merged into Django JET, contributions must have the following:
  39. * A solid patch that:
  40. * is clear
  41. * works across all supported versions of Python/Django
  42. * follows the existing style of the code base (mostly PEP-8)
  43. * Desirably a test case that demonstrates the previous flaw that now passes with the included patch
  44. * If it adds/changes a public API, it must also include documentation for those changes
  45. * Must be appropriately licensed (see rules_)
  46. If your contribution lacks any of these things, they will have to be added by a core contributor before
  47. being merged into Django JET proper, which may take time to get to.