-
Notifications
You must be signed in to change notification settings - Fork 0
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
Remove legacy localisation script references and actions #2
Remove legacy localisation script references and actions #2
Conversation
We now have newer, better actions to achieve the same results: - `ios_generate_strings_file_from_code` - `ios_extract_keys_from_strings_files` - `ios_download_strings_files_from_glotpress` - `ios_merge_strings_files`
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.
Looking good.
I checked this locally and run the test, which passed.
I didn't go down the route of opening a PR for this on the main repo to trigger CI because I see this is incremental on top of another one and I'd like to know how you plan to merge them.
@@ -7,6 +7,7 @@ | |||
### Breaking Changes | |||
|
|||
- Remove the `skip_glotpress` parameter from the `ios_bump_version_release` action [#443] | |||
- Remove the actions `ios_localize_project` and `ios_update_metadata` |
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.
There's no PR number here, but that's to be expected give this PR is on your fork
files_list = [File.join(ENV['PROJECT_ROOT_FOLDER'], 'config', '.')] | ||
files_list = [File.join(get_from_env!(key: 'PROJECT_ROOT_FOLDER'), 'config', '.')] |
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.
Nice that you updated this while touching the file, and that it was done in a dedicated commit 👍
Thanks @mokagio 👍 My plan is: once wordpress-mobile#443 gets merged, I'll target this PR to the main repo's trunk, but pleas let me know if you have other ideas or if another process is preferred. |
Just merged wordpress-mobile#443 🙂 |
Ah, just noticed that you can't switch forks when editing the Pull Request (which makes sense, the PRs are for a repo), only branches... Anyway, I'll just create another one for this branch to the main repo now that 443 has been merged 🙂 |
EDIT: this PR was re-created in the main repo: wordpress-mobile#447
What does it do?
This is a clean up removing the remainder references to the legacy localisation tooling, following up the #433 PR.
It contains:
ios_localize_project
andios_update_metadata
.localize_project
,update_metadata
andstrings_files
onIos::GitHelper
include_metadata
from the methodIos::GitHelper.commit_version_bump(include_deliverfile:)
Related PRs
Deliverfile
.Checklist before requesting a review
bundle exec rubocop
to test for code style violations and recommendationsspecs/*_spec.rb
) if applicablebundle exec rspec
to run the whole test suite and ensure all your tests passCHANGELOG.md
file to describe your changes under the approprioate existing###
subsection of the existing## Trunk
section.