You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

CONTRIBUTING.md 2.4 kB

4 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # Contributing to Hetu
  2. Welcome to [report Issues](https://github.com/PKU-DAIR/Hetu/issues) or [pull requests](https://github.com/PKU-DAIR/Hetu/pulls). It's recommended to read the following Contributing Guide first before contributing.
  3. ## Issues
  4. We use Github Issues to track public bugs and feature requests.
  5. ### Search Known Issues First
  6. Please search the existing issues to see if any similar issue or feature request has already been filed. You should make sure your issue isn't redundant.
  7. ### Reporting New Issues
  8. If you open an issue, the more information the better. Such as detailed description, screenshot or video of your problem, logcat or code blocks for your crash.
  9. ## Pull Requests
  10. We strongly welcome your pull request to make Hetu better.
  11. ### Branch Management
  12. There are three main branches here:
  13. 1. `main` branch.
  14. (1). It is the latest (pre-)release branch. We use `main` for tags, with version number `1.0.0`, `1.1.0`, `1.2.0`...
  15. (2). **Don't submit any PR on `main` branch.**
  16. 2. `specific version` branchs.
  17. (1).There is a `specific version` for each Hetu version, such as `branch-1.0.0`, `branch-1.1.0`. It is our stable developing branch. After full testing, `specific version` branch will be merged to `main` branch for the next release.
  18. (2). **You are recommended to submit bugfix or feature PR on `specific version` branch.**
  19. Normal bugfix or feature request should be submitted to `specific version` branch. After full testing, we will merge them to `main` branch for the next release.
  20. ### Make Pull Requests
  21. The code team will monitor all pull request, we run some code check and test on it. After all tests passed, we will accecpt this PR. But it won't merge to `main` branch at once, which have some delay.
  22. Before submitting a pull request, please make sure the followings are done:
  23. 1. Fork the repo and create your branch from `main` or `specific version`.
  24. 2. Update code or documentation if you have changed APIs.
  25. 3. Add the copyright notice to the top of any new files you've added.
  26. 4. Check your code lints and checkstyles.
  27. 5. Test and test again your code.
  28. 6. Now, you can submit your pull request on `specific version` branch.
  29. ## Code Style Guide
  30. Use [Code Style](./.clang-format) for Python and C++.
  31. ## License
  32. By contributing to Hetu, you agree that your contributions will be licensed
  33. under [License](LICENSE)