Project: GreptimeDB (App Definition and Development / Database)
File: CONTRIBUTING.md

Thanks a lot for considering contributing to GreptimeDB. We believe people like you would make GreptimeDB a great product. We intend to build a community where individuals can have open talks, show respect for one another, and speak with true . Meanwhile, we are to keep transparency and make your effort count here. Please read the guidelines, and they can help you get started. Communicate with respect to developers maintaining and developing the project. In return, they should reciprocate that respect by addressing your issue, reviewing changes, as well as helping finalize and merge your pull requests. Follow our to get the whole picture of the project. To learn about the design of GreptimeDB, please refer to the . It can feel intimidating to contribute to a complex project, but it can also be exciting and fun. These general notes will help everyone participate in this communal activity. Follow the Small changes make huge differences. We will happily accept a PR making a single character change if it helps move forward. Don't wait to have everything working. Check the closed issues before opening your issue. Try to follow the existing style of the code. More importantly, when in doubt, ask away. Pull requests are great, but we accept all kinds of other help if you like. Such as Write tutorials or blog posts. Blog, speak about, or create tutorials about one of GreptimeDB's many features. Mention on Twitter and email info@greptime.com so we can give pointers and tips and help you spread the word by promoting your content on Greptime communication channels. Improve the documentation. updates, enhancements, designs, or bug fixes, and fixing any spelling or grammar errors will be very much appreciated. Present at meetups and conferences about your GreptimeDB projects. Your unique challenges and successes in building things with GreptimeDB can provide great speaking material. We'd love to review your talk abstract, so get in touch with us if you'd like some help! Submitting bug reports. To report a bug or a security issue, you can . Speak up feature requests. Send feedback is a great way for us to understand your different use cases of GreptimeDB better. If you want to share your experience with GreptimeDB, or if you want to discuss any ideas, you can start a discussion on , chat with the Greptime team on , or you can tweet on Twitter. Also, there are things that we are not looking for because they don't match the goals of the product or benefit the community. Please read ; we hope everyone can keep good manners and become an honored member. GreptimeDB uses the to strike a balance between open contributions and allowing you to use the software however you want. Check if an issue already exists. Before filing an issue report, see whether it's already covered. Use the search bar and check out existing

File an issue: To report a bug, a security issue, or anything that you think is a problem and that isn't under the radar, go ahead and . In the given templates, look for the one that suits you. If you bump into anything, reach out to our for a wider audience and ask for help. What happens after: Once we spot a new issue, we identify and categorize it as soon as possible. Usually, it gets assigned to other developers. Follow up and see what folks are talking about and how they take care of it. Please be patient and offer as much information as you can to help reach a solution or a consensus. You are not alone and embrace team power. To ensure that community is free and confident in its ability to use your contributions, please sign the Contributor License Agreement (CLA) which will be incorporated in the pull request process. Make sure all files have proper license header (running `docker run --rm -v $(pwd):/github/workspace ghcr.io/korandoru/hawkeye-native:v3 format` from the project root). Make sure all your codes are formatted and follow the and . Make sure all unit tests are passed (using `cargo test --workspace` or `cargo nextest run`). Make sure all clippy warnings are fixed (you can check it locally by running `cargo clippy --workspace --all-targets -- -D warnings`). You could setup the hooks to run these checks on every commit automatically. Install `pre-commit` pip install pre-commit or brew install pre-commit Install the `pre-commit` hooks $ pre-commit install pre-commit installed at .git/hooks/pre-commit $ pre-commit install --hook-type commit-msg pre-commit installed at .git/hooks/commit-msg $ pre-commit install --hook-type pre-push pre-commit installed at .git/hooks/pre-push Now, `pre-commit` will run automatically on `git commit`. The titles of pull requests should be prefixed with category names listed in like `feat`/`fix`/`docs`, with a concise summary of code change following. AVOID using the last commit message as pull request title. Feel free to go brief if your pull request is small, like a typo fix. But if it contains large code change, make sure to state the motivation/design details of this PR so that reviewers can understand what you're trying to do. If the PR contains any breaking change or API change, make sure that is clearly listed in your description. All commit messages SHOULD adhere to the . There are many ways to get help when you're stuck. It is recommended to ask for help by opening an issue, with a detailed description of what you were trying to do and what went wrong. You can also reach for help in our . The core team will be thrilled if you would like to participate in any way you like. When you are stuck, try to ask for help by filing an issue, with a detailed description of what you were trying to do and what went wrong. If you have any questions or if you would like to get involved in our community, please check out: Also, see some extra GreptimeDB content: