Skip to content

feat: flatpak CLI execution plane (no flatpak-builder)#82

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

feat: flatpak CLI execution plane (no flatpak-builder)#82
mufeedali wants to merge 6 commits into
mainfrom
rewrite/no-flatpak-cli

Conversation

@mufeedali

@mufeedali mufeedali commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Use flatpak CLI for sandbox/lifecycle (build-init / build / build-finish / export/bundle)
  • Keep in-process module builder + sources (still no flatpak-builder)
  • Unified app + dependency builds; host-escape aware probes; differentiated terminals
  • CI: fmt/clippy/test + Linux x86_64 release binary artifact (and release assets on v* tags)
  • Dropped unused shell-words dep and pure-bwrap control plane

CI

  • cargo fmt / clippy -D warnings / test
  • Linux binary artifact job

Test plan

  • CI green on this PR
  • Manual smoke: flatplay build / run on a GNOME app with type: dir + meson

mufeedali added 6 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.
- Install stable toolchain with rustfmt/clippy and cargo cache
- Separate jobs for checks vs release binary packaging
- Upload linux-x86_64 artifact; attach assets on v* tags
- rustfmt tree so fmt check can pass on this branch
Drop pure bwrap sandbox; run build/run via flatpak build* while keeping
in-process module/source handling (no flatpak-builder). Unify app and
dependency builds, fix manifest hashing and BUILDDIR mounts, host-escape
version probes, and differentiate runtime vs build terminals.

Also drop unused shell-words dependency.
@mufeedali mufeedali changed the title feat: no flatpak/flatpak-builder CLI control plane feat: flatpak CLI execution plane (no flatpak-builder) Jul 16, 2026
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