Skip to content

Contributing

Bruh edited this page Nov 27, 2026 · 1 revision

Contributing

Materialized Linux is an alpha project with a deliberately small verified base; the rest of the distribution is tracked openly in docs/ROADMAP.md and docs/TODO.md. The full guide lives in CONTRIBUTING.md; this page is the short version.

Ground rules

  • Real backends only - apps and Settings talk to real system services, no mock data (D-022).
  • No invented colors - every role comes from the generated token/scheme pipeline; the generator fails the build on undefined roles (D-011).
  • Keep the docs honest - don't mark unfinished roadmap items as done; update TODO/ROADMAP with evidence (command + artifact).
  • Record architecture choices in docs/DECISIONS.md (D-xxx format).
  • Stack: C++20, Qt 6/QML, pinned wlroots, CMake. Release target Debian 13 x86_64; WSL2 Ubuntu 22.04 for development.

Setup and build

bash build/bootstrap-wsl.sh --all
bash build/bootstrap-runtime.sh
cmake --preset dev
cmake --build --preset dev -j4
ctest --test-dir build/dev --output-on-failure

WSL clock drift fixes: sudo bash build/fix-wsl-clock.sh and sudo bash build/normalize-source-times.sh. Details: Building from Source.

Checks by area

Change area Checks
Color engine / tokens python3 -m unittest tests.unit.token_compiler_test -v, ctest --test-dir build/qml
Compositor build/test-compositor.sh, build/test-wayland-client.sh
Applications build/build-core-apps.sh, build/test-new-apps.sh
Theme / shell build/test-theme.sh, build/screenshot-shell.sh
Installer build/test-installer.sh (dry-run, never touches a disk)
Session / ISO platform/iso/build.sh, then tests/vm/run-qemu.sh --mode uefi and --mode bios

Session changes must pass both firmware modes; the harness gates on the serial session marker and typed input, not on a compositor process. See Testing.

Pull requests

  1. Branch from main, keep the change focused.
  2. Add unit tests where logic exists; run the checks for your area.
  3. Include evidence for UI/session changes (screenshots, serial logs).
  4. Update the relevant docs in the same PR.
  5. Describe what changed, how it was tested, and roadmap impact.

Releases are cut with build/release.sh and tagged; checksums are generated, not hand-edited.

Where to start

Pick from "Remaining work" in docs/TODO.md: music player, software center, full Settings pages, lock screen/PAM, layer-shell placement, graphical installer UI, XWayland/Night Light/overview, accessibility and hardware validation. See Roadmap and Status.

Bugs vs security

  • Bugs: open a GitHub issue with ISO version, VM configuration (hypervisor, firmware, graphics, Secure Boot off), steps, and serial log if available.
  • Vulnerabilities: no public issues - follow Security.

By contributing, you agree your contributions are licensed under the project's MIT license.

Clone this wiki locally