Skip to content

chore(acknowledgements): scope license list to runtime deps + commit MS Package.resolved - #759

Merged
wei18 merged 1 commit into
mainfrom
chore/747-acknowledgements-followups
Jul 11, 2026
Merged

wei18 merged 1 commit into
mainfrom
chore/747-acknowledgements-followups

Conversation

@wei18

@wei18 wei18 commented Jul 11, 2026

Copy link
Copy Markdown
Owner

What

#747 items 1+3 (item 2 — Settings.bundle Root.strings localization — owner-ruled won't-fix, keep English):

  • Item 3: both apps' license_plist.yml gain a top-level exclude: block for the four test-only dependencies (swift-custom-dump, swift-snapshot-testing, swift-syntax, xctest-dynamic-overlay) — the generated Acknowledgements page now lists runtime deps only (GoogleMobileAds + UserMessagingPlatform), both apps identical. Schema trap documented in the ymls: LicensePlist silently ignores excludes: nested under options:; the working form is top-level exclude: with - name: dictionary entries (bare strings don't work either) — confirmed against the upstream README and verified empirically.
  • Item 1: Packages/MinesweeperKit/Package.resolved is now committed (via a .gitignore negation; SudokuKit's/AppMonetizationKit's were tracked-before-ignore) for mirror parity. Its pins are byte-identical to SudokuKit's committed resolved — only originHash differs, as it must (per-package-graph hash). Notably swift-custom-dump stays at 1.5.0 (a fresh resolve would drift to 1.6.0), so the two apps pin the same versions everywhere; swift build accepts the file without rewriting it.

Part of #747 — the issue gets closed manually with the item-2 ruling recorded.

Verification

  • Regeneration log shows all 4 excludes firing for both apps; generated plists (gitignored build output) contain only GoogleMobileAds + GoogleUserMessagingPlatform; committed Root.plist seeds untouched.
  • git check-ignore Packages/MinesweeperKit/Package.resolved → not ignored; negation confirmed at the right position (after the blanket pattern).
  • swift build --package-path Packages/MinesweeperKit → Build complete, resolved-file md5 identical before/after (no pin churn); swift-custom-dump 1.5.0 satisfies the declared from: "1.3.3" range.
  • mise run scan:l10n → passes.
  • Dual code review: round-1 catch — the in-worktree swift package resolve had silently drifted 4 pins to newer versions than Sudoku's (AdMob 13.6.0 vs 13.4.0 etc.); fixed by pinning byte-identical to SudokuKit's file. The related chore(deps): AdMob SDK version skew between apps (Sudoku 13.4.0 vs Minesweeper 13.6.0) #758 was withdrawn (skew was this artifact, not pre-existing).

🤖 Generated with Claude Code

…MS Package.resolved

Part of #747 (items 1 and 3; item 2 owner-ruled won't-fix, kept English).

Item 3: both apps' license_plist.yml gain a top-level exclude: block for
the four test-only dependencies (swift-custom-dump, swift-snapshot-testing,
swift-syntax, xctest-dynamic-overlay) so the generated Acknowledgements
page lists runtime deps only (GoogleMobileAds + UserMessagingPlatform).
Schema trap documented in the ymls: LicensePlist silently ignores an
excludes: list nested under options:; the working form is top-level
exclude: with dictionary entries (- name: <pkg>).

Item 1: Packages/MinesweeperKit/Package.resolved is now committed (with a
.gitignore negation) for mirror parity with SudokuKit. Its pins are
byte-identical to SudokuKit's committed resolved (only originHash differs,
as it must — per-package-graph hash); notably swift-custom-dump stays at
1.5.0 rather than the 1.6.0 a fresh resolve would pick, so the two apps
pin the same versions everywhere. swift build accepts the file without
rewriting it (no pin churn).

Co-Authored-By: Claude Fable 5 <[email protected]>
@wei18
wei18 enabled auto-merge (squash) July 11, 2026 07:42
@wei18
wei18 merged commit 7a65140 into main Jul 11, 2026
4 checks passed
@wei18
wei18 deleted the chore/747-acknowledgements-followups branch July 11, 2026 07:42
wei18 added a commit that referenced this pull request Jul 11, 2026
Records the #741 board-l10n fix (PR #756, sweep boundary -> #755), the
#747 acknowledgements follow-ups (PR #759, item-2 owner ruling, the
LicensePlist exclude schema trap, the resolve-drift review catch and the
#758 withdrawal), and the open-queue deltas.

Co-authored-by: Claude Fable 5 <[email protected]>
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.

1 participant