Skip to content

Contributing

Before you start

  • Read the principles. A change that breaks one is a change of design: open an issue to discuss it first.
  • Read Reading the source for the rules the code relies on.
  • Set up the test guests. Nothing that runs software runs on your own machine, tests included.

Rules for every change

  • Standard library only, Python 3.12 or later, Linux on x86-64; Debian 13, Ubuntu 26.04 and Fedora 45 are the minimum systems, with no workarounds for older ones.
  • Never source, execute or evaluate text from the network, catalogs included; parse it as data and clean it before printing.
  • Tests and documentation in the same commit as the code. When behaviour changes, update the affected pages of this site (the concept page, the guide, the reference, a decision page if a choice was made) and the tests.
  • The suite passes on Debian before a commit (tests/vm/test.sh), and on every guest before a push (also GUEST=ubuntu tests/vm/test.sh and GUEST=fedora tests/vm/test.sh). A documentation-only commit needs only the documentation checks (testing).
  • Licensing: MPL-2.0, REUSE-compliant at every commit. Contributors keep the copyright of their work and license it under MPL-2.0 (no CLA, no assignment). Every code file starts with at least one SPDX-FileCopyrightText line and an SPDX-License-Identifier line for MPL-2.0 (after a shebang). A new file takes its author's line (SPDX-FileCopyrightText: <year> <your name>). An existing file gains the line of a contributor whose change is creative and non-trivial (more than a fix, a rename or formatting); when several people have contributed significantly, the holder may become appjail contributors with the individual lines kept as further entries. Other files are covered by REUSE.toml. A new file type needs a header or a REUSE.toml entry in the same commit. CONTRIBUTORS.md lists those who want to be named.
  • No personal data in tracked files or commit messages: no home paths, user names, host names, e-mail addresses other than GitHub's no-reply ones, session links or IDs. A copyright name that its owner chose is allowed. Use ~ and placeholders. Enable the check once per clone: git config core.hooksPath .githooks.

Git

  • A feature with several commits goes on its own branch and is merged into main with an ordinary merge commit (git merge --no-ff) whose message says what the branch is for; a single-commit change goes straight onto main.
  • Commit at each completed, tested step, with a clear message.
  • Pushed history is never rewritten.

Reporting

  • Bugs, blocked permissions, unknown Wayland interfaces, app compatibility, feature requests and documentation problems have their own issue forms on GitHub; each asks for the details needed to reproduce.
  • Vulnerabilities are reported privately: see the security policy.