Skip to content

mozc submodule を upstream master へ rebase(263コミット追従)#2

Merged
unok merged 2 commits into
chore/upstream-divergence-cleanupfrom
feat/mozc-rebase-upstream
Jun 12, 2026
Merged

mozc submodule を upstream master へ rebase(263コミット追従)#2
unok merged 2 commits into
chore/upstream-divergence-cleanupfrom
feat/mozc-rebase-upstream

Conversation

@unok

@unok unok commented Jun 12, 2026

Copy link
Copy Markdown
Owner

概要

PR #1 のスタックPR。docs/upstream-divergence.md §1 の計画に従い、mozc fork を upstream/master(fea1ebace, 2026-06-11)へ rebase した。

mozc fork 側(patch-myime-next ブランチ)

  • patch-myime はそのまま温存(バックアップタグ patch-myime-backup-20260612 も push 済み)。master マージ時に改名予定
  • fork 独自コミット 14 → 11 にスリム化

破棄したパッチ(陳腐化・計画どおり)

  • rules_cc 0.2.16 / rules_python 1.7.0 バンプ(upstream が追い越し済み)
  • rules_swift 3.4.1 pin(新発見: rules_apple 4.5.2 が rules_swift 3.5.0 を要求するため不要化)
  • ARM64 関連2件(棚上げ方針)
  • デバッグログ・実質無変更のノイズ(converter.cc / session.cc / win32_ipc.cc 等)
  • wxs の Windows バージョンチェック無効化(upstream の条件 build≥17763 は Insider でも通過)

upstream 新構造への追従

  • installer: 単一 genrule + universal installer 対応構造に移行し、AzooKey DLL / リソースバンドル / --azookey_dll_dir をグラフト。installer_x64 は後方互換 alias 化
  • UAC インストーラ検出問題は upstream が build_msi 改名で解決済み(#1519)→ RunAsInvoker 回避は原理的に不要に
  • ImmutableConverterInterface::Convert の ConversionOptions API 移行
  • MSI 名は Mozc_x64.msi を維持(myime ビルドスクリプト互換、PATCHEDコメント付き)

保持した独立バグ修正

  • ipc_path_manager.cc の IPCキー生成修正(10行、upstream PR 候補)
  • renderer_client.cc の再接続修正(7行、同上)

検証

  • bazelisk build //win32/installer:installer_x64(Bazel 9.0.2)→ Mozc_x64.msi (84.9MB) 生成成功

備考

  • ローカルの Bazel(JVM) が外部接続できない事象に長時間阻まれたが、マシン再起動で解消(ESET/ネットワークスタック起因とみられる)。調査過程で作った scripts/prefill-bazel-repo-cache.ps1 / scripts/bazel-fetch-loop.ps1 は未追跡のまま(必要なら別途整理)
  • CI はこの PR でも走るが、mozc が Bazel 9.0.2 になるため初回はフルビルド

🤖 Generated with Claude Code

mozc fork を patch-myime-next として upstream/master (fea1ebace) に rebase。
docs/upstream-divergence.md の計画どおり:
- 陳腐化パッチ破棄 (rules_cc/rules_python/rules_swift pin/ARM64/ノイズ/Insider暫定対応)
- installer は upstream の universal installer 構造 + build_msi に移行
  (UACインストーラ検出問題は upstream が改名で解決済み)
- ConversionOptions API 移行 (ImmutableConverterInterface の変更追従)
- fork 独自コミットは 14→11、既存ファイル差分はさらに縮小
- Mozc_x64.msi 生成まで検証済み (Bazel 9.0.2)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 12, 2026 08:45

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Mozc サブモジュールを rebase 済みの新ブランチ patch-myime-next に切り替え、追従状況をドキュメントへ反映する変更です。

Changes:

  • docs/upstream-divergence.md に、mozc fork の upstream/master への rebase 完了(2026-06-12)を追記
  • .gitmodules の mozc サブモジュール追従ブランチを patch-myimepatch-myime-next に更新

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
docs/upstream-divergence.md mozc fork の rebase 状況を記録(ただしサマリ表の更新漏れあり)
.gitmodules mozc サブモジュールの追従ブランチを patch-myime-next に変更

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/upstream-divergence.md Outdated
Comment on lines +15 to +19
## 1. mozc fork(patch-myime → **patch-myime-next に rebase 済み、2026-06-12**)

**2026-06-12 に upstream/master(`fea1ebace`, 2026-06-11時点)へ rebase 完了。** 新ブランチ `patch-myime-next`(旧 `patch-myime` はバックアップタグ `patch-myime-backup-20260612` とともに温存。master マージ時に改名予定)。

rebase 結果: fork 独自コミットは **14 → 11** にスリム化(27ファイル, +2272/-15 程度)。

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

修正しました(サマリ表を rebase 後の状態に更新、コミット数も実数に正確化)

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilotレビュー指摘対応: サマリ表が rebase 前の数値 (patch-myime /
12コミット / 303遅れ) のままで §1 と矛盾していたのを修正。
コミット数の内訳も実数 (12) に正確化。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot finished work on behalf of unok June 12, 2026 10:06
@unok unok merged commit 614576e into chore/upstream-divergence-cleanup Jun 12, 2026
1 check passed
@unok unok deleted the feat/mozc-rebase-upstream branch June 12, 2026 10:11
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