You do not need to write code to help. Testing and clear bug reports are some of the most useful things you can do. Run Fiordland on a real machine and fill in the hardware report, open a bug report or feature request, or ask in the Discord before you start on something bigger.
Where things live
| Path | What it is |
|---|---|
crest/ | The Hyprland shell, plain QML on Quickshell. |
crest-greeter/ | The greetd login screen, which reuses crest's theme and components. |
packages/ | PKGBUILDs for everything Fiordland ships. packages/aur/ holds bundled AUR packages that the old Caelestia based crest needed. |
iso/ | The archiso profile for the live ISO. |
flavors/ | Overlays on the ISO profile, selected with FLAVOR= (currently xfce). |
container/ | The Fiordland XFCE container image. |
web/ | The website. Its pages are generated by ops/docs/build.py, see below. |
ops/ | Server side scripts: docs generator, mirrors, stable channel, wiki seed pages, bot setup, and ops/site/ for publishing ISOs (release-iso) and news (post-news). |
bot/ | The Discord bot and its tests. |
tools/ | Build helpers, the lint and release checks, and VM control. |
docs/ | Guides for users and maintainers. |
tawaki (the package manager), rawaru (the installer) and kuaka (the update app) and weka (the Desktops app) live in their own repos. Changes to them go there; this repo only packages their tagged releases.
Setup
You can lint and run the tests on any Linux with git, curl, python3, shellcheck, yamllint and pytest, plus check-jsonschema from PyPI:
pipx install check-jsonschema
Building packages and the ISO needs an Arch based host with archiso, devtools and base-devel.
Check your change
tools/lint.sh
bash ops/mirrors/test_sync.sh
bash tools/test_release_check.sh
python3 -m pytest bot
tools/lint.sh runs shellcheck on every shell script (except iso/profiledef.sh, which archiso sources) and every PKGBUILD, yamllint, the GitHub schemas for workflows and issue forms, and a JSON syntax check. CI runs the same commands, so a green run locally is a green run there.
tools/release-check.sh compares the versions in packages/tawaki, packages/rawaru, packages/kuaka and packages/weka with the newest tag of each repo and checks that the pinned sha256sums match the tagged archive. It needs network access and fails when a PKGBUILD is behind a new tag. tools/namcap.sh runs namcap on PKGBUILDs or built packages and prints what it finds. It needs an Arch host. CI runs it for information; its findings do not fail the build.
Build
./build.sh build all packages and the ISO into out/
SKIP_AUR=1 ./build.sh skip the chroot builds of crest and crest-greeter
REBUILD=1 ./build.sh rebuild packages even when the published ones match
FLAVOR=xfce ./build.sh build a flavor from flavors/
build.sh reuses a package from https://fiordlandlinux.org/repo/x86_64 when the file for the PKGBUILD's current version is already published. Bump pkgrel (or pkgver) when you change what a package installs, or your change will not reach the ISO. Without the signing key it builds an unsigned repo and says so. Release signing happens on the build machine only; see docs/signing-key.md.
Without SKIP_AUR=1, tools/aurbuild.sh builds crest and crest-greeter in a clean chroot (pass package names to build others, such as those in packages/aur/) with makechrootpkg. Create the chroot once with mkarchroot chroot/root base-devel.
Test in a VM
./vm.sh --share boot the newest ISO in out/ with the repo shared into the guest
./vm.sh --headless no window or audio
./vm.sh --fresh start from an empty disk and fresh UEFI variables
./vm.sh --bios boot with legacy BIOS instead of UEFI
./vm.sh --disk boot the installed disk, not the ISO
tools/vmctl.py drives a running VM through its QMP and guest agent sockets in vm/. exec runs a command in the guest through the guest agent. The other operations can be chained: shot FILE, click X Y, move X Y, key COMBO, type TEXT, sleep SECONDS, size and quit. shot needs ImageMagick (magick) on the host.
python3 tools/vmctl.py exec 'uname -r'
python3 tools/vmctl.py click 800 450 type hello key ret shot screen.png
ops/stable/test.sh YYYY/MM/DD installs into a headless VM from an Arch archive snapshot, updates, and checks that the system boots.
Packages
tawaki,rawaru,kuakaandwekabuild from tagged GitHub releases. After a new tag: setpkgver, setpkgrel=1, runupdpkgsums, thentools/release-check.sh.- Changes to the base system go in
fiordland-baseas a migration: a script inpackages/fiordland-base/files/migrations/namedNNNN-name.sh.fiordland-migrateruns it once, as root, after the pacman transaction, and tries again on the next update if it fails. Write migrations so running them twice is harmless. - A new release number is a new
pkgverforfiordland-base, with release notes infiles/news/<version>.txt.tawaki updateprints them. - The website is generated. After changing
ops/docs/, a guide indocs/,CONTRIBUTING.md,SECURITY.md, a package build file or the release notes inweb/news/, runpython3 ops/docs/build.py weband commit the result. CI builds the site into an empty directory to check that the generator still runs.
Conventions
- Shell scripts start with
#!/usr/bin/env bashandset -euo pipefail, quote their variables, and passshellcheckwith no warnings. Shellcheck options live in.shellcheckrc. - No comments in code. Names and structure carry the meaning, and the commit message carries the reason.
- Keep functions small and do not leave dead code behind.
- Commit messages are short, lowercase and plain. Start with the area when it helps:
site:,container:,ci:,xfce:. Look atgit logand match it. - One logical change per pull request. If you fix something unrelated while you are there, say so in the description.
- Every command in the docs must exist in the code. When behaviour changes, change the docs in the same pull request.
Pull requests
- Fork the repo and branch from
main. - Run the checks above and say in the description what you ran and what you could not test.
- Fill in the pull request template. Link the issue it closes.
Bug reports, feature requests and real hardware reports each have an issue form. Questions go on the wiki Help desk.