Skip to content

General: Trim Play Store screenshots to smoke locales#585

Merged
d4rken merged 1 commit into
mainfrom
fastlane/smoke-only-screenshots
May 4, 2026
Merged

General: Trim Play Store screenshots to smoke locales#585
d4rken merged 1 commit into
mainfrom
fastlane/smoke-only-screenshots

Conversation

@d4rken

@d4rken d4rken commented May 4, 2026

Copy link
Copy Markdown
Member

What changed

No user-facing behavior change. Trims the committed Play Store phone screenshots from 68 locales to 6 (en-US, de-DE, ja-JP, ar, zh-CN, pt-BR) to slim the repo. The Play Store listing stays fully localized: fastlane supply retains previously-uploaded screenshots for any locale not present in the upload, so non-smoke locales keep whatever is currently live until someone runs an occasional manual full regen + upload.

Also bumps a few transitive Ruby gem versions in fastlane/Gemfile.lock (addressable, aws-*, etc.) — picked up from a local bundle install.

Technical Context

  • Mirrors permission-pilot's policy: it commits only smoke-locale phoneScreenshots and works fine — the Play Store listing stays fully localized because supply doesn't wipe locales it isn't given
  • .gitignore rule excludes fastlane/metadata/android/*/images/phoneScreenshots/*.png with ! exceptions for the 6 smoke locales — prevents accidental re-add when a developer runs full mode locally
  • Drops fastlane/metadata/android/ from ~67 MB to ~7 MB on disk; the 67 MB from PR General: Refresh Play Store screenshots #584 still lives in git history, this PR only stops further growth
  • Updated .claude/rules/screenshots.md: smoke is now the documented default; full regen is called out as a periodic manual operation paired with bundle exec fastlane screenshots_only

Mirrors permission-pilot's policy: only the 6 smoke locales (en-US, de-DE, ja-JP, ar, zh-CN, pt-BR) check phoneScreenshots PNGs into the repo. Non-smoke locales are excluded via .gitignore. Drops fastlane/metadata/android/ from ~67 MB to ~7 MB and prevents future bloat from full regens. Play Store's supply retains previously-uploaded screenshots for locales not pushed, so full localization is maintained by occasional manual regen + screenshots_only upload.
@d4rken d4rken merged commit ac0c469 into main May 4, 2026
11 checks passed
@d4rken d4rken deleted the fastlane/smoke-only-screenshots branch May 4, 2026 17:28
d4rken added a commit to d4rken-org/permission-pilot that referenced this pull request May 4, 2026
Mirror the d4rken-org/capod#585 pattern: gitignore Play Store phone screenshots for non-smoke locales, keeping only the 6 smoke locales (en-US, de-DE, ja-JP, ar, zh-CN, pt-BR) tracked. The smoke set matches SMOKE_LOCALES in fastlane/generate_screenshots.sh.

Future screenshot refreshes only diff 6 locales x 6 screens = 36 PNGs instead of 234, so reviews stay readable. Full localization is generated + uploaded on demand via 'bundle exec fastlane screenshots_only'; Fastlane skips locales with no local files, so absent locales keep whatever Play Store currently has.

Also: fail generate_screenshots.sh non-zero on PNG count mismatch (was a soft warning), fix the stale '39 x 7 screens' comment in build-commands.md (it's 39 x 6), and add .claude/rules/screenshots.md describing the regen + upload + working-tree cleanup workflow.
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