oficina / calendar Public

Native level-up phase 0: works.oficina.calendar everywhere, "Oficina Calendar" in Finder, rastrillo/native main b6a4067

Paul's rulings 2026-11-14: works.oficina.* bundle IDs on every build;
"Oficina Calendar" in Finder/Dock/Spotlight/home screen, plain "Calendar"
inside the app (incl. the menu-bar item). Pins rastrillo/native to main
b6a4067 (Go server module stays 2a5d07b: server/ identical). The Sparkle Mac
build registers works.oficina.calendar via url_schemes. No entitlements or
sign-in code changed. First works.oficina.calendar Sparkle release must be
build >= 3; Paul's Mac may need one manual reinstall.

Reviewed by Fable at 6160eae: APPROVE (make ci, Swift tests, Sparkle, Mac App
Store, iOS and review builds green in a review worktree). Hub CI green. Known,
left to the shared rastrillo fix: SwiftUI's About/Hide/Quit items use the
Finder name.

Squashed from native/levelup-phase0 into main.
claude agent, operated by paul@keymail.dev 5b3d98a028e62b1ea1b7cffb1049688929bbe402 parent 11f5b3f
10 files changed, +25 −15
  • internal/calendar/native_test.go +1 −1
  • native/README.md +2 −1
  • native/apple/Package.resolved +1 −1
  • native/apple/Package.swift +1 −1
  • native/apple/Sources/CalendarApp/CalendarApp.swift +3 −3
  • native/ios/project.yml +3 −3
  • native/mac-updates.json +4 −1
  • native/macos/CalendarMacStore.xcodeproj/project.pbxproj +5 −1
  • native/macos/Info.plist +1 −1
  • native/macos/project.yml +4 −2

CI passed — run details

CI log
=== vet ===
go: downloading go1.26.5 (linux/arm64)
go vet ./...
go vet -tags browser ./internal/calendartest/
=== fmt ===
=== test ===
go test ./...
?   	amadan.net/oficina/calendar/cmd/calendar	[no test files]
?   	amadan.net/oficina/calendar/cmd/calendar-contract	[no test files]
ok  	amadan.net/oficina/calendar/internal/calendar	25.022s
?   	amadan.net/oficina/calendar/internal/calendar/icons	[no test files]
?   	amadan.net/oficina/calendar/internal/calendar/keymailtest	[no test files]
?   	amadan.net/oficina/calendar/internal/calendar/seal	[no test files]
?   	amadan.net/oficina/calendar/internal/calendar/teamstate	[no test files]
ok  	amadan.net/oficina/calendar/internal/calendartest	3.880s
ok  	amadan.net/oficina/calendar/internal/guardstest	0.079s
?   	amadan.net/oficina/calendar/scripts/writeestilo	[no test files]
=== migration-check ===
go tool rastrillo migration check
rastrillo migration check: models and migrations agree

landed from native/levelup-phase0

diff --git a/internal/calendar/native_test.go b/internal/calendar/native_test.go
index 73c8bc7..ff4b011 100644
--- a/internal/calendar/native_test.go
+++ b/internal/calendar/native_test.go
@@ -85,7 +85,7 @@ func TestNativeCalendarRoundTrip(t *testing.T) {
}
input, _ := json.Marshal(map[string]any{"origin": server.URL, "credential": credential, "output": os.Getenv("NATIVE_REVIEW_OUTPUT")})
if simulator := os.Getenv("NATIVE_REVIEW_SIMULATOR"); simulator != "" {
- bundle := "net.amadan.oficina.calendar.review"
+ bundle := "works.oficina.calendar.review"
run := func(args ...string) []byte {
t.Helper()
out, err := exec.CommandContext(t.Context(), "xcrun", append([]string{"simctl"}, args...)...).CombinedOutput()
diff --git a/native/README.md b/native/README.md
index d6c2c1f..d1e36b2 100644
--- a/native/README.md
+++ b/native/README.md
@@ -15,7 +15,8 @@ the iOS project with `xcodegen generate --spec native/ios/project.yml`, then bui
`CalendarPhone` in Xcode. Physical devices require your development team.
The generated projects and build products are ignored.
-The Swift and Go dependencies pin Rastrillo Native main `2a5d07b2c8d3dfb3fd8526dc7e1c802f97865c67`.
+The Swift dependency pins Rastrillo Native main `b6a4067e39efd641fd5fa149cc666fee47bdb9b5`.
+The Go server module stays at `2a5d07b`: `server/` is unchanged between the two.
Browser sign-in requires the new backend `/native/` routes. A server that has
not received this update reports that native support is unavailable.
diff --git a/native/apple/Package.resolved b/native/apple/Package.resolved
index 5660560..99828f4 100644
--- a/native/apple/Package.resolved
+++ b/native/apple/Package.resolved
@@ -5,7 +5,7 @@
"kind" : "remoteSourceControl",
"location" : "https://amadan.net/rastrillo/native",
"state" : {
- "revision" : "2a5d07b2c8d3dfb3fd8526dc7e1c802f97865c67"
+ "revision" : "b6a4067e39efd641fd5fa149cc666fee47bdb9b5"
}
},
{
diff --git a/native/apple/Package.swift b/native/apple/Package.swift
index 69bb145..f14a9d1 100644
--- a/native/apple/Package.swift
+++ b/native/apple/Package.swift
@@ -3,7 +3,7 @@ import PackageDescription
import Foundation
let sharedNative: Package.Dependency = ProcessInfo.processInfo.environment["OFICINA_NATIVE_PACKAGE_PATH"].map { .package(name: "native", path: $0) }
- ?? .package(url: "https://amadan.net/rastrillo/native", revision: "2a5d07b2c8d3dfb3fd8526dc7e1c802f97865c67")
+ ?? .package(url: "https://amadan.net/rastrillo/native", revision: "b6a4067e39efd641fd5fa149cc666fee47bdb9b5")
let package = Package(name: "CalendarNative", platforms: [.macOS(.v14), .iOS(.v17)],
products: [.library(name: "CalendarKit", targets: ["CalendarKit"]), .executable(name: "CalendarMac", targets: ["CalendarMac"])],
diff --git a/native/apple/Sources/CalendarApp/CalendarApp.swift b/native/apple/Sources/CalendarApp/CalendarApp.swift
index 78368d4..1d77478 100644
--- a/native/apple/Sources/CalendarApp/CalendarApp.swift
+++ b/native/apple/Sources/CalendarApp/CalendarApp.swift
@@ -21,7 +21,7 @@ import AppKit
if let client = connection.client {
CalendarWorkspace(client: client, model: model, accounts: { model.clear(); connection.showAccounts(); model = CalendarModel() }, signOut: { model.clear(); connection.signOut(); model = CalendarModel() })
} else {
- NativeAccountsView("Oficina Calendar", systemImage: "calendar", connection: connection)
+ NativeAccountsView("Calendar", systemImage: "calendar", connection: connection)
}
}.id(connection.activeAccountID).onOpenURL(perform: connection.handleOpenURL).tint(Color(red: 0.78, green: 0.22, blue: 0.29))
#if os(macOS)
@@ -37,11 +37,11 @@ import AppKit
#if os(macOS)
Settings { CalendarSettingsView() }
// MenuBarExtra can echo its current visibility; avoid a UserDefaults update loop.
- MenuBarExtra("Oficina Calendar", systemImage: "calendar", isInserted: Binding(get: { showMenuBar }, set: { if showMenuBar != $0 { showMenuBar = $0 } })) {
+ MenuBarExtra("Calendar", systemImage: "calendar", isInserted: Binding(get: { showMenuBar }, set: { if showMenuBar != $0 { showMenuBar = $0 } })) {
if let client = connection.client {
CalendarMenuView(client: client, model: model).tint(Color(red: 0.78, green: 0.22, blue: 0.29))
} else {
- NativeAccountsView("Oficina Calendar", systemImage: "calendar", connection: connection)
+ NativeAccountsView("Calendar", systemImage: "calendar", connection: connection)
.frame(width: 380, height: 480)
}
}.menuBarExtraStyle(.window)
diff --git a/native/ios/project.yml b/native/ios/project.yml
index 5745b2c..3ddd678 100644
--- a/native/ios/project.yml
+++ b/native/ios/project.yml
@@ -1,6 +1,6 @@
name: CalendarPhone
options:
- bundleIdPrefix: net.amadan.oficina
+ bundleIdPrefix: works.oficina
deploymentTarget:
iOS: '17.0'
packages:
@@ -8,7 +8,7 @@ packages:
path: ../apple
RastrilloNative:
url: https://amadan.net/rastrillo/native
- revision: 2a5d07b2c8d3dfb3fd8526dc7e1c802f97865c67
+ revision: b6a4067e39efd641fd5fa149cc666fee47bdb9b5
settings:
base:
SWIFT_VERSION: '5.0'
@@ -65,7 +65,7 @@ targets:
product: RastrilloApple
settings:
base:
- PRODUCT_BUNDLE_IDENTIFIER: net.amadan.oficina.calendar.review
+ PRODUCT_BUNDLE_IDENTIFIER: works.oficina.calendar.review
TARGETED_DEVICE_FAMILY: 1,2
GENERATE_INFOPLIST_FILE: true
INFOPLIST_KEY_UILaunchScreen_Generation: true
diff --git a/native/mac-updates.json b/native/mac-updates.json
index 24abb3c..8f9d67b 100644
--- a/native/mac-updates.json
+++ b/native/mac-updates.json
@@ -1,5 +1,8 @@
{
- "bundle_id": "net.amadan.oficina.calendar",
+ "bundle_id": "works.oficina.calendar",
+ "url_schemes": [
+ "works.oficina.calendar"
+ ],
"feed_url": "https://raw.amadan.net/oficina/native-releases/main/calendar/appcast.xml",
"public_ed_key": "/FxO7cZnM7P5c9ZrUPUJvpCnR65sNmrzte+I5vHarE8=",
"keychain_account": "oficina"
diff --git a/native/macos/CalendarMacStore.xcodeproj/project.pbxproj b/native/macos/CalendarMacStore.xcodeproj/project.pbxproj
index 261aff9..038b159 100644
--- a/native/macos/CalendarMacStore.xcodeproj/project.pbxproj
+++ b/native/macos/CalendarMacStore.xcodeproj/project.pbxproj
@@ -181,6 +181,8 @@
"@executable_path/../Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = works.oficina.calendar;
+ PRODUCT_MODULE_NAME = CalendarMacStore;
+ PRODUCT_NAME = "Oficina Calendar";
PROVISIONING_PROFILE_SPECIFIER = "$(OFICINA_PROVISIONING_PROFILE)";
SDKROOT = macosx;
};
@@ -198,6 +200,8 @@
"@executable_path/../Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = works.oficina.calendar;
+ PRODUCT_MODULE_NAME = CalendarMacStore;
+ PRODUCT_NAME = "Oficina Calendar";
PROVISIONING_PROFILE_SPECIFIER = "$(OFICINA_PROVISIONING_PROFILE)";
SDKROOT = macosx;
};
@@ -366,7 +370,7 @@
repositoryURL = "https://amadan.net/rastrillo/native";
requirement = {
kind = revision;
- revision = 2a5d07b2c8d3dfb3fd8526dc7e1c802f97865c67;
+ revision = b6a4067e39efd641fd5fa149cc666fee47bdb9b5;
};
};
/* End XCRemoteSwiftPackageReference section */
diff --git a/native/macos/Info.plist b/native/macos/Info.plist
index dd46943..4f78167 100644
--- a/native/macos/Info.plist
+++ b/native/macos/Info.plist
@@ -15,7 +15,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
- <string>Oficina Calendar</string>
+ <string>Calendar</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
diff --git a/native/macos/project.yml b/native/macos/project.yml
index 7e8ae5f..72fe4ad 100644
--- a/native/macos/project.yml
+++ b/native/macos/project.yml
@@ -7,7 +7,7 @@ packages:
path: ../apple
RastrilloNative:
url: https://amadan.net/rastrillo/native
- revision: 2a5d07b2c8d3dfb3fd8526dc7e1c802f97865c67
+ revision: b6a4067e39efd641fd5fa149cc666fee47bdb9b5
settings:
base:
SWIFT_VERSION: '5.0'
@@ -36,7 +36,7 @@ targets:
path: Info.plist
properties:
CFBundleDisplayName: Oficina Calendar
- CFBundleName: Oficina Calendar
+ CFBundleName: Calendar
CFBundleShortVersionString: $(MARKETING_VERSION)
CFBundleVersion: $(CURRENT_PROJECT_VERSION)
CFBundleIconFile: AppIcon
@@ -51,4 +51,6 @@ targets:
base:
PROVISIONING_PROFILE_SPECIFIER: $(OFICINA_PROVISIONING_PROFILE)
PRODUCT_BUNDLE_IDENTIFIER: works.oficina.calendar
+ PRODUCT_NAME: Oficina Calendar
+ PRODUCT_MODULE_NAME: CalendarMacStore
CODE_SIGN_ENTITLEMENTS: AppStore.entitlements