CONTRIBUTING.rst 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. ============
  2. Contributing
  3. ============
  4. Contributions are welcome, and they are greatly appreciated! Every
  5. little bit helps, and credit will always be given.
  6. You can contribute in many ways:
  7. Types of Contributions
  8. ----------------------
  9. Report Bugs
  10. ~~~~~~~~~~~
  11. Report bugs at https://github.com/miki725/django-rest-framework-bulk/issues.
  12. If you are reporting a bug, please include:
  13. * Your operating system name and version.
  14. * Any details about your local setup that might be helpful in troubleshooting.
  15. * Detailed steps to reproduce the bug.
  16. Fix Bugs
  17. ~~~~~~~~
  18. Look through the GitHub issues for bugs. Anything tagged with "bug"
  19. is open to whoever wants to implement it.
  20. Implement Features
  21. ~~~~~~~~~~~~~~~~~~
  22. Look through the GitHub issues for features. Anything tagged with "feature"
  23. is open to whoever wants to implement it.
  24. Write Documentation
  25. ~~~~~~~~~~~~~~~~~~~
  26. Django REST Bulk could always use more documentation, whether
  27. as part of the official Django REST Bulk docs (one day...), in docstrings,
  28. or even on the web in blog posts, articles, and such.
  29. Submit Feedback
  30. ~~~~~~~~~~~~~~~
  31. The best way to send feedback is to file an issue at
  32. https://github.com/miki725/django-rest-framework-bulk/issues.
  33. If you are proposing a feature:
  34. * Explain in detail how it would work.
  35. * Keep the scope as narrow as possible, to make it easier to implement.
  36. * Remember that this is a volunteer-driven project, and that contributions
  37. are welcome :)
  38. Get Started!
  39. ------------
  40. Ready to contribute? Here's how to set up ``django-rest-framework-bulk`` for local development.
  41. 1. Fork the ``django-rest-framework-bulk`` repo on GitHub.
  42. 2. Clone your fork locally::
  43. $ git clone git@github.com:your_name_here/django-rest-framework-bulk.git
  44. 3. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development::
  45. $ mkvirtualenv djangorestbulk
  46. $ cd django-rest-framework-bulk/
  47. $ make install
  48. 4. Create a branch for local development::
  49. $ git checkout -b name-of-your-bugfix-or-feature
  50. Now you can make your changes locally.
  51. 5. When you're done making changes, check that your changes pass
  52. flake8 and the tests, including testing other Python versions with tox::
  53. $ make lint
  54. $ make test-all
  55. 6. Commit your changes and push your branch to GitHub::
  56. $ git add .
  57. $ git commit -m "Your detailed description of your changes."
  58. $ git push origin name-of-your-bugfix-or-feature
  59. 7. Submit a pull request through the GitHub website.
  60. Pull Request Guidelines
  61. -----------------------
  62. Before you submit a pull request, check that it meets these guidelines:
  63. 1. The pull request should include tests.
  64. 2. If the pull request adds functionality, the docs should be updated.
  65. Put your new functionality into a function with a docstring,
  66. and add the feature to the list in README.rst.
  67. 3. The pull request should work for Python 2.7, 3.4, and for PyPy.
  68. Check https://travis-ci.org/miki725/django-rest-framework-bulk/pull_requests
  69. and make sure that the tests pass for all supported Python versions.