-
Notifications
You must be signed in to change notification settings - Fork 123
fix luis-cross train does not find imported files with locale #1209
Conversation
packages/luis/test/fixtures/testcases/testImportWithLocale/bin/assistant_core.en-us.lu
Outdated
Show resolved
Hide resolved
feich-ms
left a comment
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.
![]()
|
@munozemilio this is a fix for adaptive runtime CI/CD, it's been verified, can you help get it in |
…/botframework-cli into shuwan/fixImportLocale
gabog
left a comment
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 think you missed changing the ignore parameter in the readme files (I still see --ignore there and should be --exclude, right?)
munozemilio
left a comment
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.
Should content be added to the test empty files? Some typos also need to be addressed.
|
@munozemilio The empty content test files are from a real Composer bot, I think it is OK to keep them empty. There are import files with locale. So the test covers the code added in this PR. |
| --log Writes out log messages to console | ||
| --exclude Excludes given folders under the input directory, for example, --exclude bin,obj,lib, this will ignore the /bin, /obj, /lib folders under the input path |
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.
FYI This will be overriden by the doc script.
* fix import file with locale * simplify test * change folder structures * remove only * add cross train config * fix spelling * modify test * change naming * fix readme * fix typo Co-authored-by: Emilio Munoz <emmunozp@microsoft.com>
* fix import file with locale * simplify test * change folder structures * remove only * add cross train config * fix spelling * modify test * change naming * fix readme * fix typo Co-authored-by: Emilio Munoz <emmunozp@microsoft.com>
* fix luis cross train unable to reference external files (#1181) * init * add path resovle * fix import path resolve issue * add tests * fix lint and unused imports * modify config name * retrigger * refactor Co-authored-by: Emilio Munoz <emmunozp@microsoft.com> * fix luis:build write out version in luis setting when the directVersionPublish is not set (#1215) * init * fix tests * retrigger * remove redundent () * up versioned orchestrator-core to 4.13.1 (#1211) * Update package.json Use orchestrator-core v 4.13.1 * Update pnpm-lock.yaml * skip empty lu file, added empty lu file to test * Update orchestratorhelper.ts fixed lint issues * use forward slash for file path in orchestrator.settings.json to be compatible with non windows platform * addressed PR comments Co-authored-by: Emilio Munoz <emmunozp@microsoft.com> * fix luis-cross train does not find imported files with locale (#1209) * fix import file with locale * simplify test * change folder structures * remove only * add cross train config * fix spelling * modify test * change naming * fix readme * fix typo Co-authored-by: Emilio Munoz <emmunozp@microsoft.com> Co-authored-by: Shuai Wang <shuwan@microsoft.com> Co-authored-by: Tien Suwandy <tiens@microsoft.com>
closes: #1205
In this PR, the import resolver for luis and qna files will find the correct import files based on the locale info.
Suppose we have a.en-us.lu with content
The import resolver will find the b.en-us.lu