Thank you for your interest in contributing to Complete Linux Installer (LinuxOnAndroid)!
- Fork the repository and create a feature or bugfix branch from
main(or the active release branch if specified). - Make sure you can build and run unit tests locally:
./gradlew testDebugUnitTest ./gradlew assembleDebug
- If your change touches distribution installers or Software Hub recipes, test on a real Android device or emulator and check the relevant validation scripts under
scripts/.
- Keep PRs focused on a single feature, fix, or improvement.
- Fill out all sections of the Pull Request template, including how you tested your changes.
- Ensure
./gradlew testDebugUnitTestpasses with no new warnings or regressions. - Preserve existing comments, docstrings, and code formatting conventions.
- Do not modify
app/src/main/jniLibs/binaries unless your PR specifically updates native dependencies and rebuilds them viascripts/build_native_libs.sh.
- Create a new self-contained recipe file under
app/src/main/java/com/devwithzachary/completelinuxinstaller/model/software/<PackageName>Recipe.ktdefining aSoftwareRecipewith package names perPackageManagerType,expectedBinaries, optionalpreUninstallCommand/ custom hooks, andpostInstallNotes. - Register the recipe in
SoftwareRecipeCatalog.recipesinsidemodel/software/SoftwareRecipe.kt. - Update the preset count in
DistroCatalogTest.ktandSoftwarePackageTest.kt, then verify across all 7 distributions using:EXPORT_PACKAGE_MATRIX=true ./gradlew testDebugUnitTest --tests "*.PackageMatrixExporterTest" --rerun-tasks python3 scripts/test_1click_docker.py --package <your_package_id> --test-uninstall
AI coding assistants are welcome as development aids, provided you follow our AI Usage Policy: you must review every line, test your changes, and take full human ownership of your PR. Automated bot PRs are rejected.
Please use the GitHub Bug Report form and include the Debug Report from Settings -> Diagnostics & Debug Report -> Generate Debug Report in the app.