Build and contribute¶
This page is for people who build DriveDeck, report bugs, translate it or write apps for it. You do not need any of it to use DriveDeck.
Build DriveDeck¶
Builds, tests, signing and approved release uploads run locally. Use the repository's local CI script, which builds in a disposable checkout:
The command prints the retained job directory, and its artifacts/ folder holds the APK. The disposable source and build checkout is cleaned when the command finishes. Debug builds work without a release key.
Turn on the automatic pre-push checks once in each clone:
How releases are made¶
Approved updates publish the same locally signed APK to Codeberg Releases and to GitLab Releases at the same time. The main branch produces stable releases, and dev produces prereleases that install beside stable. Pull requests on Codeberg can produce debug APKs.
Explicit local approval publishes each release. A signed preparation needs the original signing key, which you configure locally and never commit. Every finished job cleans its disposable checkout after keeping its logs, receipts, artifacts and diagnostics, including when it fails, and failed uploads can resume from kept artifacts without a rebuild.
For the rules and procedures, read AGENTS.md, PUBLISHING.md and the release workflow.
Contribute¶
Bug reports from real cars help the most, and pull requests are welcome. CONTRIBUTING.md explains what a report should contain, which branch to work on and the one-time agreement you sign before your first pull request merges.
To translate DriveDeck, follow the translation instructions. No coding is needed. Dutch is nearly complete. German, French, Spanish, Italian and Brazilian Portuguese are the places where a translator helps most.
Write apps for DriveDeck¶
Building apps for DriveDeck specifies how to write apps that DriveDeck can render: templated apps, media apps and messaging apps. DriveDeck offers Car App Library API level 9 and negotiates down for apps built for older levels. The guest contract describes what a hosted parked app may query.
For research behind the API 9 work, see the Android Auto 18.2 and Car API 9 dossier.