native/menu-name-release
Native level-up, Calls: the shared app-menu fix and the first works.oficina.calls Mac release, prepared and NOT published. Ready for review. Do not merge yet. Nothing has been deployed, published, installed or changed in the portal.
What changed
- rastrillo/native pin: main c989034 (was b6a4067). It brings PlainAppNameCommands in RastrilloApple, SUBundleName and localizations in the tools, and Oficina ID slice A, which Calls doesn't use yet.
- App menu:
PlainAppNameCommands(name: "Calls")replaces Calls' ownPlainNameCommands. It is declared first in.commands, so Check for Updates stays after About. CallsMac gains one dependency, RastrilloApple, on macOS only. Quit is stillNSApp.terminate, soapplicationShouldTerminatestill leaves a call first. The delegate is unchanged. - Settings window title:
.navigationTitle("Calls"). Without it SwiftUI would title the window "Oficina Calls Settings". - bundle-mac.py writes
SUBundleName= "Calls", so Sparkle's windows say Calls. There is no CFBundleLocalizations, because Calls ships no translations. - native/scripts/release-mac.sh
<version><build>: a new release script in the repo. It reads the bundle ID, feed and key from mac-updates.json, and it takes rastrillo's tools from the pinned checkout. In order, it: - runs a preflight; - checks the keychain; - builds the release configuration; - runsrelease_mac.py, which signs, notarises, staples, checks Gatekeeper and writes the Sparkle-signed zip; - smoke-tests the zip as a quarantined download, checking the names, icon and resources, the Gatekeeper verdict and a 20 s translocated launch; - runspublish_mac_update.py's read-only plan.
It publishes nothing. native/README.md gains "Releasing the Mac app".
Gates (tip da5fc98)
| Gate | Result | | --- | --- | | make ci (go1.26.5) | ok, and the models and migrations agree | | make native-mac (debug) | ok | | swift test --package-path native/apple | 625 tests, 0 failures, 3 skipped | | Menu dump (dylib injected into the debug build and into an ad-hoc re-signed copy of the release build) | App menu: About Calls · Check for Updates… · Automatically Check for Updates · Settings… ⌘, · Services · Hide Calls ⌘H · Hide Others ⌥⌘H · Show All · Quit Calls ⌘Q. Help: Calls Help ⌘?. Settings window title "Calls". | | iOS simulator build | not run: the iPhone app links only CallsKit and CallsBroadcastKit, and neither changed |
Release dry run: 0.5.0 (31), works.oficina.calls
- Record:
~/amadan.net/oficina/sparkle-worktrees/releases/calls-0.5.0-31-da5fc98 - Archive:
works.oficina.calls-31.zip, 50084669 bytes, sha256 b0367b32c95ad433bfed980498b4deb7bf34eceaf01ae9617ce379f9d423a8e6 - Signing: Developer ID, Team Tito Limited (9U4A84C4WK). Entitlements are camera and audio-input only.
- Notarisation: Accepted, id 3773656d-2cec-481e-a873-3b29136835c1. The ticket is stapled, and Gatekeeper reports "Notarized Developer ID".
- The unpacked download is Oficina Calls.app: - CFBundleIdentifier works.oficina.calls; - CFBundleDisplayName "Oficina Calls"; - CFBundleName and SUBundleName "Calls"; - Assets.car is present.
It launched translocated and stayed up for 20 s.
- Publisher plan: tag and release
calls-31, downloadhttps://amadan.net/oficina/native-releases/-/releases/calls-31/works.oficina.calls-31.zip. The feed's newest build is 30. - Prepared libraries: CallsBridge was rebuilt for this commit. RNNoise, DeepFilter and the model were cloned from meet-release-0.4.16, whose build scripts are unchanged.
Left for Paul / the publisher
- Review and land this branch. If the tip changes, rerun
native/scripts/release-mac.sh 0.5.0 31from the landed main, with a fresh RECORD. - Publish, as the agent, with the command the script prints:
publish_mac_update.py <record> ... --publish. It needs a temporary agent PAT for the git tag and appcast pushes, andAMADAN_HOMEforamadan release create. - Once it is live, reinstall by hand on Paul's Mac, once. No Calls up to 0.4.16 (
net.amadan.oficina.calls) can take this build as an update. The steps are in native/README.md, "Moving the Mac app to works.oficina.calls". - Server: if CALLSAPNSTOPIC_MACOS is set, change it to works.oficina.calls when this ships (from phase 0).
Discussions
- No discussions on this branch yet.
Tasks 6/6 done
- Pin rastrillo/native to main c989034 Done
- Replace PlainNameCommands with RastrilloApple PlainAppNameCommands(name: "Calls"); Quit still leaves the call Done
- SUBundleName = Calls in bundle-mac.py; Settings window navigationTitle Done
- Release script for works.oficina.calls (build 31+), Developer ID + notarised, no publish Done
- Release dry run: build, sign, notarise if possible, launch, menu check Done
Activity
- claude agent, operated by paul@keymail.dev opened Gates: make ci, make native-mac, swift test
- claude agent, operated by paul@keymail.dev opened Release dry run: build, sign, notarise if possible, launch, menu check
- claude agent, operated by paul@keymail.dev opened Release script for works.oficina.calls (build 31+), Developer ID + notarised, no publish
- claude agent, operated by paul@keymail.dev opened SUBundleName = Calls in bundle-mac.py; Settings window navigationTitle
- claude agent, operated by paul@keymail.dev opened Replace PlainNameCommands with RastrilloApple PlainAppNameCommands(name: "Calls"); Quit still leaves the call
- claude agent, operated by paul@keymail.dev opened Pin rastrillo/native to main c989034