-
Notifications
You must be signed in to change notification settings - Fork 32
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
feat!: remove Transifex calls for OEP-58 | FC-0012 #1060
feat!: remove Transifex calls for OEP-58 | FC-0012 #1060
Conversation
Thanks for the pull request, @hopewise! Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1060 +/- ##
=======================================
Coverage 85.46% 85.46%
=======================================
Files 505 505
Lines 11025 11025
Branches 2318 2318
=======================================
Hits 9422 9422
Misses 1559 1559
Partials 44 44 ☔ View full report in Codecov by Sentry. |
Thanks @hopewise. I checked the error in the test results and here's how we should fix it: Please create another pull request from master to do the following:
Why this is needed?
After the other pull request is merged, please rebase this pull request and the errors should go away. |
a40128e
to
1d27897
Compare
@OmarIthawi I have applied the suggestions, but the error is still there when running |
56f0f4f
to
99cb156
Compare
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.
@hopewise there's a typo in the Makefile, please fix it and the error should go away.
Makefile
Outdated
@@ -1,5 +1,6 @@ | |||
transifex_utils = ./node_modules/.bin/transifex-utils.js | |||
intl_imports = ./node_modules/frontend-platform-shim/node_modules/.bin/intl-imports.js | |||
intl_imports = ./node_modules/frontend-platform/node_modules/.bin/intl-imports.js |
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.
intl_imports = ./node_modules/frontend-platform/node_modules/.bin/intl-imports.js | |
intl_imports = ./node_modules/.bin/intl-imports.js |
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.
@OmarIthawi thanks, I've fixed it, but I got this error:
Translations pulled successfully!
./node_modules/.bin/intl-imports.js paragon frontend-app-admin-portal
intl-imports.js: Not creating 'frontend-app-admin-portal/index.js' because no .json translation files were found.
intl-imports.js: Skipped import due to missing 'frontend-app-admin-portal/index.js' likely due to empty translations.
as I noticed all translation files were downloaded to src/i18n/messages/paragon
, I fixed the issue by setting $(intl_imports) paragon frontend-app-admin-portal
to $(intl_imports) paragon
, please check the PR again and test result.
@@ -1,11 +0,0 @@ | |||
{ |
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.
In case you haven't, please run rm -rf packages/frontend-platform-shim/
. This shim is no longer needed.
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.
I already did this step
9910204
to
a4d1440
Compare
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.
Now it should work fine. Please check my latest comment @hopewise.
Hey @OmarIthawi, I see that you reviewed and approved this PR last week. Just to confirm, it still needs to wait for Redwood, right? |
Yes I added one fix and the pull request is ready. I'll check with @brian-smith-tcril and the timing and way we'll handle those pull requests but overall, they should be merged before Redwood anytime 2U is ready to accept this breaking change. Some breaking changes have happened already so we might be merging those pull requests soon. |
@OmarIthawi Thanks for the update! A couple follow-up questions:
Would now be a good time for you to remove the PR from Draft state? :)
|
Unfortunatley no. We need 2U confirmation because these PRs affect those working from But it's getting close:
Yes. Besides merge conflicts, we think those PRs are ready. |
@OmarIthawi OK great, I'll go ahead and mark those PRs as unblocked, then. And thanks for pointing me to the FC-0012 Slack channel! I joined it and will be checking it for updates going forward. |
c393f4f
to
ccbf548
Compare
@hopewise please mark this one as "Ready for merge" @timmc-edx please merge whenever you think it's ready for 2U |
@brian-smith-tcril @hopewise Kindly move out of |
@OmarIthawi @hopewise Glad to see this project moving forward! Looks like the changes will need a rebase. I'll leave the PR in |
ccbf548
to
16ed48a
Compare
@itsjeyd done. |
@hopewise 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
Breaking change!
This change breaks the Jenkins transifex integration which has been deprecated in favor of the new GitHub Transifex App integration as part of OEP-58.
Changes
tx pull
andtx push
commands from the micro-frontend in favorof the
atlas pull
command..json
files will be committed into the repos.src/i18n/index.js
should export and empty array so themake pull_translations
override it with the dynamic list of languages.OPENEDX_ATLAS_PULL
flag to makeatlas pull
the default.Makefile
targets and other files.Test results
make pull_translations
works as expected.make pull_translations test results
Merge timeline
This should only be merged after Translation Infrastructure update OEP-58 is fully implemented.
The timing announcement will be shared by @brian-smith-tcril on #translations-project-fc-0012 Open edX Slack channel.
Keep this pull request as a draft to prevent accidental merge.
Pre-merge checklist
References
This contribution is part of the FC-0012 project which is sparked by the Translation Infrastructure update OEP-58.
Up-to-date project overview and details are available in the Approach Memo and Technical Discovery: Translations Infrastructure Implementation document.
Join the conversation on Open edX Slack #translations-project-fc-0012.
Check the links above for full information about the overall project.