-
Notifications
You must be signed in to change notification settings - Fork 0
Contributing
NAMAN JAIN edited this page Aug 3, 2026
·
1 revision
We welcome contributions to zThread! This guide covers how to submit code, report bugs, and align with our development standards.
Please use the GitHub Issue tracker to report bugs. Include:
- Your OS version and kernel.
- Your JDK version.
- A clear, reproducible code example if possible.
-
Fork and Branch: Create a fork of the repository and create a feature branch (
feature/your-featureorfix/issue-description). - Write Tests: Ensure your new feature is covered by unit tests. If you modified native interactions, add an integration test.
-
Format Code: Run
./mvnw spotless:applyto ensure your code matches the Google Java Format and includes the Apache 2.0 license header. -
Pass Checks: Run
./mvnw clean verify -Pqualityto verify that Checkstyle, PMD, and SpotBugs pass. -
Submit PR: Open a Pull Request against the
mainbranch.
While not strictly enforced via tooling, we appreciate clean, descriptive commit messages.
- Use the imperative mood: "Fix bug in ring buffer" rather than "Fixed bug".
- If your commit resolves an issue, include
Fixes #123in the description.
See Development Workflow for details on the required JDK, Maven commands, and debugging tools.