Welcome to Apache Gravitino! This guide helps new contributors get started quickly. It covers cloning the repository, building the project, submitting your first pull request, and contributing in any form.
Before building Gravitino, ensure you have:
- Linux or macOS operating system
- Git installed
- Java Development Kit (JDK) 17 installed to launch Gradle
- Python 3.8–3.12 to build the Gravitino Python client
- Optionally, Docker to run integration tests
Full build instructions: Gravitino How to Build
git clone https://github.com/apache/gravitino.git
cd gravitinoCreate a branch for your work:
git checkout -b <your-branch>Build Gravitino:
./gradlew build- CI runs Spotless formatting checks and all unit tests
- New files must include ASF headers
- Gradle detects and downloads the necessary JDK automatically
Check out Good First Issues to start contributing with manageable tasks.
- Make changes in your branch
- Commit changes with clear messages
- Ensure all tests pass and Spotless formatting have been done
./gradlew spotlessApply
./gradlew test- All forms of contribution are welcome—not just code
- Push your branch to GitHub:
git push origin <your-branch>- Open a pull request on the Gravitino repository
- Link to relevant issue
- Respect other contributors
- Follow our Code of Conduct
- Engage constructively in PR reviews and discussions
Project documentation is available here: Gravitino Docs
Before submitting your first PR:
- Build succeeds locally
- Spotless formatting applied
- Unit tests pass
- ASF headers added to new files
- PR targets a new branch
<your-branch> - Subject line includes reference to the issue