-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[spaceship] Add language name in stack trace when localization operations fail #20581
[spaceship] Add language name in stack trace when localization operations fail #20581
Conversation
…sage-for-meta-upload
…sage-for-meta-upload
…sage-for-meta-upload
…sage-for-meta-upload
@joshdholtz would you/someone like to have a look at this one? it's just a small QOL improvement 🙂 |
…sage-for-meta-upload
…sage-for-meta-upload
…sage-for-meta-upload
maybe @getaaron can have a quick look at this one? 🙏🏻 |
I just ran into this again. Would really like this to be merged and shipped. Gentle push |
…sage-for-meta-upload
@revolter can you help us with this review? 🙏🏻 |
This looks good to me. Two questions:
Let me know what you think. And thanks for the PR! |
I vote yes for both of Aaron's points. And I think that the custom error class should go into the https://github.com/fastlane/fastlane/blob/master/spaceship/lib/spaceship/errors.rb file 🤔 |
Thank you for the suggestions! Added a couple of error classes with some extra links in the error message for pointing out the Apple docs in case of failure 📓 |
…sage-for-meta-upload
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 😁
@getaaron addressed the suggestions you mentioned. Can you have a 👀 ? |
Looks awesome! Thanks so much for your work on this. |
Thanks for finally merging it! |
Checklist
bundle exec rspec
from the root directory to see all new and existing tests passbundle exec rubocop -a
to ensure the code style is validci/circleci
builds in the "All checks have passed" section of my PR (connect CircleCI to GitHub if not)Motivation and Context
Resolves #20336
Description
When executing
fastlane deliver
and uploading localizations and screenshots there is no way of knowing which language is the one that failed any of the App Store validations. This change adds an additional error with a message about which locale failed to update.Testing Steps
fastlane deliver init
on any app (preferably one for testing purposes)metadata/<language>/
txt files to fail Apple app info requirementsname.txt
or add text longer than 30 characters insubtitle.txt
fastlane deliver
Sample errors before
using an existing app name from another account:
using an existing app name from your account:
using a subtitle longer than 30 characters:
Sample errors after
using an existing app name from another account:
using an existing app name from your account:
using a subtitle longer than 30 characters: