Thanks for you interest in contributing to this project.
Main tools used in this repository:
| Tool | Description |
|---|---|
| astral/uv | Python project and package manager |
| jdx/mise | Tool and task runner |
| j178/prek | pre-commit hook runner |
| astral/ruff | Formatting/Linting/LSP |
| astral/ty | Type Checking |
Do NOT use AI to create, generate or draft any direct communication such as Issues, Comments, PR Bodies, etc.
You MUST fully understand and be able to explain what your changes do and how they interact with the codebase.
Clone the repository:
git clone https://github.com/rtuszik/photon-docker
cd photon-docker
Install mise. All other project tools are declared in mise.toml and
installed automatically by mise.
mise run install
- Create a feature branch from
dev. - Make your changes.
- Test your changes by building and running the Docker image:
Use
mise run rebuild--no-cacheor--volumesto select those options without the interactive prompts. Verify that Photon starts successfully and OpenSearch is up. - Run checks:
mise run check mise run test - Commit and push to your fork.
- Open a pull request to the upstream
devbranch.
- All code must pass checks run through
mise run check. - All changes must be tested with Docker.
- Avoid unnecessary comments in the code.
To list available tasks:
mise tasks ls
- Target the
devbranch - Provide a clear description of changes
- Ensure all checks pass before requesting review