-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
fix: suffix based translation file detection and output subDir #901
Conversation
and remove `Once` usage when not needed
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #901 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 40 40
Lines 1078 1083 +5
Branches 114 115 +1
=========================================
+ Hits 1078 1083 +5 ☔ View full report in Codecov by Sentry. |
actually the file's extension on the real repo translation-meta.xml |
on my side it is fixed with the version in this PR... Are you sure you are using the version of the plugin from this PR ? |
did you pull my last changes in my repo? arielsi@Ariel:/mnt/c/Users/arielsi/IdeaProjects/SgdFlowTranslations$ sfdx plugins:install sfdx-git-delta@dev-901
› Warning: sfdx-cli update available from 7.172.0 to 7.209.6.
This plugin is not digitally signed and its authenticity cannot be verified. Continue installation y/n?: y
Finished digital signature check.
warning "sfdx-git-delta > @salesforce/command > @oclif/test > @oclif/core > [email protected]" has unmet peer dependency "@types/node@*".
warning "sfdx-git-delta > @salesforce/command > @oclif/test > @oclif/core > [email protected]" has unmet peer dependency "typescript@>=2.7".
Installing plugin sfdx-git-delta... installed v5.42.0-dev-901.10410862637-1
arielsi@Ariel:/mnt/c/Users/arielsi/IdeaProjects/SgdFlowTranslations$ sfdx plugins
› Warning: sfdx-cli update available from 7.172.0 to 7.209.6.
sfdx-git-delta 5.42.0-dev-901.10410862637-1 (dev-901)
arielsi@Ariel:/mnt/c/Users/arielsi/IdeaProjects/SgdFlowTranslations$ sfdx sgd:source:delta --to master --from changeFlow --repo . --output .
› Warning: sfdx-cli update available from 7.172.0 to 7.209.6.
(node:670) Warning: Deprecated environment variable: SFDX_AUTOUPDATE_DISABLE. Please use SF_AUTOUPDATE_DISABLE instead.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:670) Warning: Deprecated environment variable: SFDX_DISABLE_AUTOUPDATE. Please use SF_DISABLE_AUTOUPDATE instead.
(node:670) Warning: Deprecated config name: apiVersion. Please use org-api-version instead.
{
"error": null,
"output": ".",
"success": true,
"warnings": []
} |
Yep @ArielS1, I created a new repository and tried with the version of this PR. You can workaround this issue by creating a folder mkdir output
sfdx sgd:source:delta --to master --from changeFlow --repo . -o output I'll ship a fix in this PR to ignore the "output folder filter" when I'll let you know when it is done so you can validate it on your side as well :) |
3954b51
to
e0c8bdf
Compare
e0c8bdf
to
7b95a29
Compare
Code Climate has analyzed commit 7b95a29 and detected 0 issues on this pull request. View more on Code Climate. |
I fixed the issue when output is equal to the repo, could you QA one more time and let me know your finding please @ArielS1 ? |
Shipped in release $ sfdx plugins:install sfdx-git-delta@latest-rc
$ sfdx plugins:install [email protected] Happy incremental deployment! |
Explain your changes
Ensure the flow translation code deals with both
.translation
and.translation-meta.xml
Translation files suffix.Test if the translation file is a sub dir of the output folder when output folder is different than the repository folder
Does this close any currently open issues?
closes #321