Skip to content

feat: no flatpak/flatpak-builder CLI control plane#82

Open
mufeedali wants to merge 3 commits into
mainfrom
rewrite/no-flatpak-cli
Open

feat: no flatpak/flatpak-builder CLI control plane#82
mufeedali wants to merge 3 commits into
mainfrom
rewrite/no-flatpak-cli

Conversation

@mufeedali

Copy link
Copy Markdown
Owner

Summary

  • Replace the flatpak / flatpak-builder CLI control plane with an in-process pipeline: typed sources + download cache (libgit2), dependency/app module builder, and bwrap (BwrapRunner) against on-disk SDK/runtime install trees.
  • Host git / gdbus no longer required (zbus for a11y, optional gdbus fallback).
  • Export produces a portable files tarball without OSTree/flatpak build-bundle.
  • Docs and dependency checks updated (bwrap + installed SDK/runtime content only).

Test plan

  • cargo test (30 tests)
  • Wordbook: flatplay select-manifest … + flatplay build starts in-process clones (no flatpak-builder in log); full multi-module build is long-running and may need further sandbox tweaks for autotools/pip modules.
  • Full Wordbook green build end-to-end on a machine with org.gnome.Sdk//master installed

mufeedali added 3 commits July 1, 2026 21:45
Build and run via in-process sources (libgit2, cache), module builder,
and bubblewrap (BwrapRunner) against on-disk SDK/runtime trees. No
host git/gdbus required; README documents the new dependency model.
Create download cache dirs, fix /etc resolv overlay vs read-only SDK etc,
skip .flatplay when copying dir sources, use project tree for dir+file
modules, and run shell-style build-commands via /bin/sh -c.
Wordbook looks up wn-*.db.zst via GLib system data dirs; without
XDG_DATA_DIRS including /app/share it never saw the installed DB.
Also always run simple build-commands under /bin/sh -c like builder.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant