seninel部署
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.

CONTRIBUTING.md 2.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. # Contributing to Sentinel
  2. Welcome to Sentinel! This document is a guideline about how to contribute to Sentinel.
  3. If you find something incorrect or missing, please leave comments / suggestions.
  4. # Before you get started
  5. ## Code of Conduct
  6. Please make sure to read and observe our [Code of Conduct](./CODE_OF_CONDUCT.md).
  7. ## Setting up your development environment
  8. You should have JDK 1.8 or later installed in your system.
  9. # Contributing
  10. We are always very happy to have contributions, whether for typo fix, bug fix or big new features.
  11. Please do not ever hesitate to ask a question or send a pull request.
  12. We strongly value documentation and integration with other projects.
  13. We are very glad to accept improvements for these aspects.
  14. ## GitHub workflow
  15. We use the `master` branch as the development branch, which indicates that this is a unstable branch.
  16. Here are the workflow for contributors:
  17. 1. Fork to your own
  18. 2. Clone fork to local repository
  19. 3. Create a new branch and work on it
  20. 4. Keep your branch in sync
  21. 5. Commit your changes (make sure your commit message concise)
  22. 6. Push your commits to your forked repository
  23. 7. Create a pull request
  24. Please follow [the pull request template](./.github/PULL_REQUEST_TEMPLATE.md).
  25. Please make sure the PR has a corresponding issue.
  26. After creating a PR, one or more reviewers will be assigned to the pull request.
  27. The reviewers will review the code.
  28. Before merging a PR, squash any fix review feedback, typo, merged, and rebased sorts of commits.
  29. The final commit message should be clear and concise.
  30. ## Open an issue / PR
  31. We use [GitHub Issues](https://github.com/alibaba/Sentinel/issues) and [Pull Requests](https://github.com/alibaba/Sentinel/pulls) for trackers.
  32. If you find a typo in document, find a bug in code, or want new features, or want to give suggestions,
  33. you can [open an issue on GitHub](https://github.com/alibaba/Sentinel/issues/new) to report it.
  34. Please follow the guideline message in the issue template.
  35. If you want to contribute, please follow the [contribution workflow](#github-workflow) and create a new pull request.
  36. If your PR contains large changes, e.g. component refactor or new components, please write detailed documents
  37. about its design and usage.
  38. Note that a single PR should not be too large. If heavy changes are required, it's better to separate the changes
  39. to a few individual PRs.
  40. ## Code review
  41. All code should be well reviewed by one or more committers. Some principles:
  42. - Readability: Important code should be well-documented. Comply with our code style.
  43. - Elegance: New functions, classes or components should be well designed.
  44. - Testability: Important code should be well-tested (high unit test coverage).
  45. # Community
  46. ## Contact us
  47. ### Mailing list
  48. If you have any questions or advice, please contact sentinel@linux.alibaba.com.
  49. ### Gitter
  50. Our Gitter room: [https://gitter.im/alibaba/Sentinel](https://gitter.im/alibaba/Sentinel).