me-web? 0.16.1: a bundle for Google Play
Build / Desktop, server and tools (push) Successful in 1m12s
Release / Every platform, the server, the release (push) Successful in 9m24s

Every release now also carries the Android app as a bundle (.aab), the form Google Play accepts, signed with the same
key as the APK. The network data inside it stays uncompressed in the copies Google Play sends to phones, so the app
still reads it straight from storage, and the release stops if that would ever change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
thepraandClaude Opus 5.5 committed 2026-11-22 16:49:01 +01:00
1 parent 25fa10a368
commit cce6eb5aa2
4 files changed
+22 -5

No files matched your search

+9 -1
View File
@@ -152,7 +152,10 @@ The Android release key: alias `meweb`, certificate SHA-256
Brotli chunks of 16,384 rows behind an index: about 32 MB, opened in a millisecond, one chunk decompressed per lookup, nothing else resident. It
is not inside `MeWeb.Core`, because the APK stores every assembly once per processor type: the desktop head and the
screenshot tool embed it in their entry assembly, the Android head ships it as an uncompressed asset
(`AndroidStoreUncompressedFileExtensions`) that `AndroidPlatform.OpenRegistry` reads in place through `OpenFd`.
(`AndroidStoreUncompressedFileExtensions`) that `AndroidPlatform.OpenRegistry` reads in place through `OpenFd`. The
same setting puts `**/*.bin` in the app bundle's `BundleConfig.pb`, so the split APKs Google Play builds keep it
uncompressed too (checked 22 Nov 2026 with bundletool for an arm64 phone: Stored, 4-byte aligned); `tools/release.cs`
refuses a bundle without that line, because a compressed copy would fail only on phones that installed from Play.
`RegistryBuilder` reads IPv4, then IPv6, with the names in a temporary file, into lists sized up front (6.5 million
IPv4 and 2 million IPv6 rows; RIPE alone has 1.48 million IPv6 blocks, and a list that outgrows its size doubles):
about 276 MB peak in October 2026, under the unit's 512 MB, and some four minutes on top of the RouteViews tally. `/api/ip` still answers each caller with its own
@@ -184,6 +187,11 @@ The Android release key: alias `meweb`, certificate SHA-256
`arasaka_repository_known`, or installed copies are treated as edited by hand and left alone. The package owns
`/usr/share/arasaka-repository/meweb`, the marker that keeps the repository configured while any Arasaka package
is installed. The portal app (`arasaka.software`, `arasaka-portal`) carries a byte-identical copy; change both.
- **Google Play takes the app bundle** (since 0.16.1): the release attaches `MeWeb-<version>-android.aab` beside the
APK, signed with the same key. Play App Signing must keep this key (exported with Google's `pepk.jar` through "Use a
key from a Java keystore"), never one Google makes, or Play installs and the F-Droid and website copies can never
update one another. The first upload is by hand. The publisher above ignores the bundle, since it takes only the
files named in `apps/meweb.yml`, and the Play listing uses the same `fastlane/metadata/android/` text and images.
- **The server cannot ping**: `NoNewPrivileges` drops `ping`'s file capability and `ping_group_range` is closed, so
the trace back to a caller uses `tracepath` (UDP, unprivileged) and keeps only public hops outside `Probe:Refuse`,
so the box's own network never reaches an app.