Contributing to Couchdogs
Thank you for helping. Couchdogs gets better when people fix what they hit on their own TV and share it.
Ways to help
- Test on hardware we do not have. Other GPUs (Intel, NVIDIA), other TVs, surround sound, remotes, pads. A bug report with logs from a real box is worth more than a guess.
- Add or fix an app. Apps are recipes in the store repo (MIT), not code here. Its README says how a recipe is laid out and how it is signed.
- Fix a bug or build a feature. Small pull requests land fastest. For something big, open an issue first so we agree on the approach before you spend the time.
- Improve the docs. If you had to work something out, write it down where the next person will look.
Before you start
Read docs/architecture.md and AGENTS.md: the ground rules there apply to everyone, people and AI agents alike. The ones people trip on:
- Credit upstream. Code copied in keeps its licence, names where it came from in its header, and gets a line in the README credits and NOTICE. Only GPL-3.0-compatible code can be copied in.
- Decisions are written down. A change that picks between real alternatives comes with a short ADR in
docs/decisions/. - Docs move with code. A change to behaviour or setup updates the matching doc in the same commit.
- Nothing private. No tokens, addresses, device names or details of your own setup in commits, logs or screenshots.
Making a change
- Fork, branch from
main, make one change. - Run the tests:
uv run --no-project --with pytest --with pyyaml --with tomlkit --with numpy --with jeepney pytest -q stack/tests. Shell scripts are bash withset -euo pipefailand passshellcheck. - Check it on a real install if it touches what a household sees, and say in the pull request what you checked and what you could not.
- Commit with a message that says why, and sign it off (
git commit -s): the sign-off is your statement that you may contribute the code under the project's licence (Developer Certificate of Origin). - Open a pull request against
main.
Licence
Couchdogs is GPL-3.0-or-later and the store repo is MIT (ADR 0043). There is no CLA: you keep the copyright on what you write, and it is licensed to everyone under the same terms as the rest of the project.