We're excited that you're interested in contributing to Hirschgarten!
This document outlines the process for contributing to this project.
By participating in this project, you are expected to uphold our Code of Conduct.
-
Follow Coding Standards:
- write new files in Kotlin
- if you add new Kotlin library use
kt_jvm_library
from@rules_kotlin//kotlin:jvm.bzl
- if you add a new test (JUnit 5) please use
kt_test
from@//rules/kotlin:junit5.bzl
, with 1-1 test file to test target mapping
-
Use the Project Formatter: Before submitting your changes, run the project formatter
bazel run //tools/format:format
-
Write Tests: Add tests for your changes if applicable. Document them as needed.
-
Run Tests: Ensure all tests pass locally.
-
Commit Your Changes: Make well-formatted commit messages.
-
Open a Pull Request: Submit a pull request from your fork to the main Hirschgarten repository.
- Update the README.md with details of changes if applicable.
- Your pull request will be reviewed by maintainers, who may request changes or provide feedback.
- Once you submit your pull request, our CI pipeline will automatically run on your code.
- If the CI pipeline reports any issues, you'll need to address them. This may involve fixing failed tests, addressing code style issues, or resolving other automated checks.
- Once all CI checks pass and the code has been approved by maintainers, your pull request will be merged.
Upon submitting a pull request, our CI pipeline will automatically run a series of checks on your code. These checks may include:
- Running all tests
- Checking code style and formatting
- Static code analysis
- Building the project
If any of these checks fail, you'll see details in the pull request.
You'll need to address these issues and push new commits to your branch.
The CI pipeline will automatically re-run on new commits.
If some test passes locally but fails on CI and you don't understand the reason -
ask maintainers for help in the PR comments.
We use YouTrack for bug tracking. Please report bugs at our YouTrack project.
Before creating a new issue, please check existing issues to avoid duplicates.
We welcome suggestions for improvements and new features.
Please use our YouTrack project to submit your ideas, clearly labeling them as feature requests/suggestions.
If you need help with your contribution or have questions about the CI process, feel free to ask questions in comments to your PR.
Thank you for contributing to Hirschgarten!