Skip to content

feat(bimcraft): add BIMCraft (io.github.ipedrax.bimcraft) - #793

Merged
jing2uo merged 1 commit into
flatpark:mainfrom
3ddruck12:add/io.github.ipedrax.bimcraft
Oct 22, 2026
Merged

jing2uo merged 1 commit into
flatpark:mainfrom
3ddruck12:add/io.github.ipedrax.bimcraft

Conversation

@3ddruck12

@3ddruck12 3ddruck12 commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

What

BIMCraft (io.github.ipedrax.bimcraft), the MIT OR Apache-2.0 building modeler from IPedrax/BIMCraft v0.6.0.

Why this fills a gap

Not on Flathub. Upstream attaches a single-file .flatpak to each GitHub release, built from the same Linux tarball. That bundle is not a remote flatpak update can follow.

Packaging

  • Runtime org.freedesktop.Platform//26.08. extra-data is the official x86_64 tarball bimcraft-0.6.0-linux-x86_64.tar.gz (15871009 bytes, sha256 matches upstream SHA256SUMS), unpacked with tar --no-same-owner. The archive records uid 1001. The payload is not patched.
  • App id and finish-args follow upstream's own Flatpak manifest (packaging/linux/flatpak/io.github.ipedrax.bimcraft.bundle.yml). The binaries need only glibc; Wayland, X11, xkbcommon and EGL are loaded at run time.
  • x86_64 only. Upstream also ships an aarch64 tarball. It is not published here.

Sandbox

Granted, matching upstream: Wayland, fallback-x11, ipc, dri, xdg-documents.

Withheld:

  • --share=network. MCP is a stdio server (bimcraft-cli mcp), not a socket.
  • --filesystem=home. The metainfo documents flatpak override --user --filesystem=home io.github.ipedrax.bimcraft for opening a project by path outside Documents.

Verification

  • read-descriptor.mjs and audit-descriptor.mjs exit 0
  • appstreamcli validate --no-net succeeded
  • appstreamcli compose printed Success
  • resolver prints 0.6.0 and the x86_64 .tar.gz URL
  • check-apply-extra.sh unpacked as root with no capabilities
  • bimcraft-cli --version printed bimcraft-cli 0.6.0, and commands returned JSON starting with new and open
  • LD_TRACE_LOADED_OBJECTS on bimcraft and bimcraft-cli: no missing libraries
  • Window opened: title Project · Floor Plan: Level 1 · BIMCraft, class io.github.ipedrax.bimcraft
  • Test install and temporary remote removed afterwards
  • Drew one wall from (0,0) to (4000,0) with bimcraft-cli, saved wall-test.bimcraft and wall-test.ifc. Reading the IFC back reported wall: 1. Test files removed with the install

Made with Cursor

Repackage the official x86_64 tarball, the same archive upstream's
own Flatpak bundle is built from. aarch64 is not published.

Co-authored-by: Cursor <[email protected]>
@jing2uo

jing2uo commented Oct 22, 2026

Copy link
Copy Markdown
Collaborator

Review — BIMCraft (io.github.ipedrax.bimcraft)

Recommendation: PASS (Tier 1, official upstream tarball repackaged unmodified). Static review only. Nothing from the PR was executed. CI is waiting for maintainer approval (pr-checks: action_required), so merging still needs a green run.

# Check Verdict Evidence
0 Static-only, isolated dir ✅ Tarball downloaded as bytes into a scratch dir, listed before extraction, extracted --no-same-owner --no-same-permissions. None of apply_extra.sh, the wrappers, resolve-update.sh or the binaries was run.
1.1 Scope ✅ New app: 10 files, all under registry/io.github.ipedrax.bimcraft/
1.2 High-scrutiny surface ✅ No .github/, scripts/ or config/ changes. The resolver is in a brand-new app dir.
2.1 Submitter ✅ @3ddruck12: account since 2021-05, 34 repos, 4 merged FlatPark app PRs (#581, #582, #629, #634)
2.2 Upstream repo ✅ IPedrax/BIMCraft: owner account since 2020-04, repo since 2026-10-15, 49★, 7 forks, 74 commits, 6 releases (v0.1.0–v0.6.0). Every v0.6.0 asset was uploaded by github-actions[bot].
2.3 Commit identity ✅ 1 commit, 3ddruck <[email protected]>, co-authored by Cursor
2.4 Timeline ✅ Repo 10-15, v0.6.0 10-20, PR 10-21. A young repo, but its owner account and history check out, and the submitter is established.
2.5 Trust tier ✅ established
2.6 Provenance tier ✅ Tier 1: LICENSE-MIT + LICENSE-APACHE, Cargo.toml license = "MIT OR Apache-2.0"
3.1 Pinning ✅ 1 × extra-data with sha256 and size 15871009. Otherwise only local file sources.
3.1b Nothing remote in /app ✅ The one simple module only installs the 7 in-repo files
3.2 finish-args ✅ wayland, fallback-x11, ipc, dri, xdg-documents. Identical to upstream's packaging/linux/flatpak/io.github.ipedrax.bimcraft.bundle.yml. No escape perms, no network, no home.
3.3 policy: ✅ proprietary: false is accurate. dangerous_permissions: [] matches the finish-args. Metainfo MIT OR Apache-2.0 matches upstream.
3.4 build-commands / no payload change ✅ Install-only. apply_extra untars, renames the version-stamped top dir to bimcraft/ and removes the archive. The wrappers just exec the two vendor binaries.
3.4b packaging: ✅ Nothing to declare: no LD_PRELOAD, host commands or sandbox-off in the scripts
3.5 Source URLs genuine ✅ github.com/IPedrax/BIMCraft/releases/download/v0.6.0/bimcraft-0.6.0-linux-x86_64.tar.gz
3.6 App id ✅ io.github.ipedrax.bimcraft is upstream's own id (its manifest, desktop file and metainfo all use it)
3.7 update.command ✅ ./resolve-update.sh
3.8 Download host ✅ Upstream's GitHub releases, not the submitter's account
3.9 Optional caps opt-in ✅ --filesystem=home withheld; the metainfo documents the flatpak override command and how to reset it. Network withheld (MCP is stdio).
3.10 Local-test attestation ✅ Built, installed from a local remote, launched (window title and class recorded). The CLI drew a wall and saved .bimcraft + IFC, then read it back. aarch64 is not published and is named as such.
4.1 No runtime fetch-and-exec ✅ None in the manifest or scripts. The vendor's self-updater (api.github.com/repos/IPedrax/BIMCraft/releases/latest, SHA-256-checked) can only replace an AppImage, a macOS .app or the Windows install, and crates/update/src/detect.rs in_flatpak() skips the update check inside Flatpak.
4.2 Resolver as code ✅ One GitHub API call (optional GITHUB_TOKEN header). jq selects the exact asset name bimcraft-$version-linux-x86_64.tar.gz, fails if the version or URL is empty, and builds the output with jq --arg. Nothing is eval'd and nothing is written.
4.3 Network endpoints ✅ No network grant, so no filesystem×network combination
5.1 sha256 == pin ✅ 5058e321…91a7, 15871009 bytes. Matches upstream SHA256SUMS and the GitHub asset digest.
5.2 Inspected, clean ✅ 46 entries (29 dirs, 15 files, 2 executables), all under bimcraft-0.6.0-linux-x86_64/. No symlinks, hardlinks, setuid/setgid, absolute paths or ...
5.3 Tier 1: nothing injected ✅ No vendor file is touched. The PR's .desktop, mime.xml and .svg are byte-identical to upstream's share/ copies. The metainfo is upstream's plus the community-package note, permissions and override text, and two more screenshots (all 3 URLs return 200).
5.4 Shipped == official ✅ Re-fetched and hashed (5.1). apply_extra only unpacks the archive.
5.5 Bundled runtimes ➖ None: two static-Rust ELFs (NEEDED: libc, libm, libgcc_s, ld-linux only)
5.6 IOC scan ✅ No xmrig/stratum+//dev/tcp/nc -e, autostart, cron or systemd. No RPATH/RUNPATH. The second \x7fELF hit in each binary is an instruction operand (cmp against the ELF magic), not an embedded ELF. URLs are crate docs/issue links plus upstream's own GitHub.
6.1 Purpose / legality ✅ Open-source BIM modeler under its own name and branding. Not on Flathub (appstream API 404).
6.2 Non-FOSS not a reason ➖ FOSS

No hard-fail triggers. Thanks, @3ddruck12. A clean submission.

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.

2 participants