feat(mobile/ios): 実機のアプリ 112 本を宣言に取り込む - #342
Merged
Merged
Conversation
実機 (iPhone 16 / iOS 26.6) から全アプリを吸い出して apps.tsv を総入れ替えした。 それまでの 12 行のうち 5 行が実機と食い違っていて、差分検出として機能していなかった。 AltStore は再署名で bundleId に team id を差し込む (net.gapul.blink → net.gapul.blink.S3H296G6Q5、AltStore 自体は com.S3H296G6Q5. 接頭辞)。宣言には 配布元の id を書き、apps.sh 側で実機の id を正規化して突き合わせるようにした。 配布元が AltStore 形式の JSON を出していないもの (PAL のマーケットプレイス本体、 Epic Games、まだ source に載せていない自ビルド) 用に source 種別 manual を足した。 Aidoku と AltStore 公式の source は sources.tsv に追加して verify を通した。
grep | head -1 のパイプは、宣言が長いと head が先に閉じて grep が SIGPIPE で 死ぬ。pipefail でそれを拾って全体が失敗していた (CI で実際に落ちた)。 awk 一発に置き換えてパイプ自体を無くした。Android 側も同じ書き方なので直した。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
実機 (iPhone 16 / iOS 26.6) から全アプリを吸い出して
mobile/ios/apps.tsvを総入れ替えした。なぜ
それまでの宣言は 12 行で、そのうち 5 行が実機と食い違っていた。差分検出として機能していなかった。
io.tailscale.ipn.macosio.tailscale.ipn.ios(macOS の id を書いていた)im.vector.appio.element.elementx(Element X に移行済み)org.jellyfin.swiftfinorg.jellyfin.expo(公式クライアントに移行済み)org.mqttitude.MQTTitudecom.aaronpk.overland(位置ログは Overland に移行済み)com.kodjodevf.mangayomi中身
apps.tsv… 112 行。用途でグループ分けして、4 列目の同期経路も埋めた (Obsidian → LiveSync、Overland → Dawarich、Paperless → paperless-ngx など)apps.sh… AltStore は再署名で bundleId に team id を差し込む (net.gapul.blink→net.gapul.blink.S3H296G6Q5、AltStore 自体はcom.S3H296G6Q5.接頭辞)。宣言には配布元の id を書き、実機側を正規化して突き合わせるようにしたapps.sh… source 種別manualを追加。配布元が AltStore 形式の JSON を出していないもの (PAL のマーケットプレイス本体、Epic Games、まだ source に載せていない自ビルド) 用で、verify は素通しするsources.tsv… Aidoku と AltStore 公式の source を追加。これで Aidoku と classic 版 AltStore が機械で確かめられる確認
mobile/ios/apps.sh verify… 「宣言したアプリはすべて経路上に実在する」(CI の mobile-drift がこれを回す)mobile/ios/test.sh… 4 項目すべて okjust docs/just fmt残り
apps.sh statusは USB 接続が要るので、この PR では回せていない (今の実機は無線デバッグのみ)。次にケーブルを挿したときにjust ios-appsで確認したいgapul/altstore-sourceに載せればmanualからaltstore-classicに格上げできる