Skip to content

Install WebFront as a package, build installers and add a verified updater (#762) - #792

Merged
ambroise-leclerc merged 26 commits into
768-a11y-checkfrom
762-packages
Dec 6, 2026
Merged

ambroise-leclerc merged 26 commits into
768-a11y-checkfrom
762-packages

Conversation

@ambroise-leclerc

Copy link
Copy Markdown
Collaborator

Refs #762. Completes the work started in #790. Stacked on #791.

What changes

  • install() and find_package(WebFront), with the pinned stdnet and stdexec headers installed; WebFront can be built without downloads from local sources of both.
  • vcpkg overlay port and Conan recipe (cmake/packaging/), tested by a consumer project that configures and builds Hello World with the network cut.
  • webfront_package() (CPack): DEB with WebKitGTK dependency and optional AppArmor profile, DragNDrop DMG, NSIS with WebView2 runtime detection and an optional bootstrapper; the application supplies its own signing command.
  • Optional updater (components/update/): ECDSA P-256 / SHA-256 verification by OpenSSL, CNG or Security.framework, executable replacement with rollback and recovery.
  • The embedded Life example is packaged, installed, checked and removed by every desktop CI job; new packages job.
  • SBOM declares licenses, engines and system libraries. ADR-028 accepted (2.0).

Limits

  • The swap is atomic on Linux and macOS, not on Windows (two renames).
  • The ports build the checkout they sit in; nothing is published to a registry.
  • No RPM or AppImage; signing identities, notarization, update server, anti-downgrade policy and key rotation stay with the application.
  • The WebView2 "runtime absent" installer branch is not exercised. Installer checks do not open the window.
  • The packages job and portability tests do not run on a PR into develop; they are dispatched manually.

Comment thread cmake/WebFrontConfig.cmake.in Resolved
Comment thread cmake/WebFrontConfig.cmake.in Resolved
Comment thread cmake/WebFrontConfig.cmake.in Resolved
Comment thread cmake/WebFrontPackage.cmake Resolved
Comment thread cmake/WebFrontPackage.cmake Resolved
Comment thread cmake/packaging/conan/conanfile.py Resolved
Comment thread cmake/WebFrontConfig.cmake.in Resolved
Comment thread cmake/WebFrontConfig.cmake.in Resolved
@ambroise-leclerc
ambroise-leclerc merged commit 27004d7 into develop Dec 6, 2026
50 of 51 checks passed
@ambroise-leclerc
ambroise-leclerc deleted the 762-packages branch December 6, 2026 11:49
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