Contributing
bootc-installer is a GTK4/Libadwaita Flatpak installer for bootc container-native OS images, backed by the fisherman Go install backend.
Getting startedβ
git clone --recurse-submodules https://github.com/projectbluefin/bootc-installer
cd bootc-installer
Important:
fishermanis a git submodule. Always clone with--recurse-submodules, or rungit submodule update --init --recursiveafter a plain clone. Without this,fisherman/is empty and all build paths fail immediately.
Prerequisitesβ
flatpak+org.flatpak.Builderβ for the recommended Flatpak buildmeson,ninjaβ for native (non-Flatpak) builds- Go β₯ 1.22 β for
fisherman(the install backend, in the submodule) - Python β₯ 3.10 β for the GUI codebase
libadwaita-1-dev,gettext,desktop-file-utils,libgnome-desktop-4-dev
Buildingβ
Flatpak (recommended)β
git submodule update --init --recursive # Required β fisherman is a submodule
flatpak run org.flatpak.Builder --force-clean --user --install _build flatpak/org.bootcinstaller.Installer.json
flatpak run org.bootcinstaller.Installer
Meson (development)β
git submodule update --init --recursive # Required β fisherman is a submodule
meson setup build
ninja -C build
sudo ninja -C build install
bootc-installer
Dev loopβ
./run-dev.sh # Rebuild and launch with BOOTC_DEMO=1 (no disk writes)
BOOTC_PREVIEW_SCREEN=confirm ./run-dev.sh # Jump to a specific screen
Running testsβ
pytest tests/unit/ -q # Unit tests (no display required)
xvfb-run -a pytest tests/ui/ -q # UI tests
python3 -m ruff check bootc_installer/ tests/ # Lint
./QUALIFY_SOFTWARE.sh # Full qualification suite
CI gate: --cov-fail-under=51 (minimum unit test coverage).
Branch workflowβ
- Default branch:
dev - Open all PRs against
devβ do not targetmain - Follow Conventional Commits for commit messages
- PR title format:
feat:,fix:,docs:,chore:,ci:
Adding images to the catalogβ
The image catalog lives in fisherman/data/images.json. See the README for the full JSON schema.
fisherman/is a git submodule pointing toprojectbluefin/fisherman. Changes to the catalog must be committed and pushed separately to the fisherman repo, then the submodule pointer updated here.
Architecture overviewβ
| Component | Language | Role |
|---|---|---|
fisherman/fisherman/ | Go | Root-level CLI; reads JSON recipe, executes 9-step disk install pipeline |
bootc_installer/ | Python | GTK4/Adwaita GUI; collects user choices, writes recipe JSON, drives fisherman |
See CLAUDE.md and AGENTS.md for deeper architecture documentation.
Code styleβ
- Python: Ruff (
python3 -m ruff check) - Go:
gofmt+go vet - Commit messages: Conventional Commits
Securityβ
Report vulnerabilities via GitHub Private Vulnerability Reporting. Do not open public issues for security bugs.