Optimizationof Smartling download and upload.
- Previously, downloading of .po files from Smartling are done in series. Now, each language is downloaded in its own Task. Parallelizing downloads have improved download times anywhere from 2x to 10x.
- Logs for downloads, uploads and authentication token retrieval has been changed to be thread safe. The logs for a single Task will be batched and only printed after the task has completed.
- API for GetAuthenticationToken(), RequestAuthenticationToken() and RetrieveAuthenticationToken() has been changed to facilitate multithreaded logging
- Uploading of .po files has also been changed to be threaded to conform to the changes in APIs for the authentication token retrieval functions.
- Switched from Console.WriteLine to the preferred Logger.LogInformation
#rb: Jamie.Dale
#jira: none
#test: Performed the localization downloads locally. Checked the logs for the download step and compared timings of localization downloads. All tested localization files seems to have been downloaded successfully.
[CL 30252145 by leon huang in ue5-main branch]
[FYI] joshua.shlemmer
Original CL Desc
-----------------------------------------------------------------
Modifies buildtasks that were using HTTPClients so that they use a singleton http client.
Follow up from CL 30122407
#rb Eric.Knapik, Wes.Hunt
[CL 30210278 by ryan hummer in ue5-main branch]
Introduced opt in localization for plugins. Plugins can be set to never have localization config files generated, auto-generated or have the localization pipeline use the user generated localization config files.
- All existing plugins with localization targets will be retrofitted to have a LocalizationConfigGenerationPolicy of Never to match current behavior.
- Introduced the LocalizationConfigGenerationPolicy enum to plugin descriptors and LocalizationTargetDescriptors. This controls whether plugin localization targets use user generated localization config files, auto-generated localization config files or if the plugin is never to have localization config files and thus not localized.
- Introduced a step in the Localize UAT command to auto-generate localization config files with default settings for plugins that opt into the auto-generation feature.
- Added a clean up step in the Localize uAT command to delete all auto-generated files and folders from a run of the command.
- Added a -PreserveAutoGeneratedResources flag for the Localize UAT command to preserve the auto-generated files and directories for debugging.
-Updated both the C# and C++ version of the LocalizationTargetDescriptor to contain the new LocalizationConfigGenerationPolicy and have them read and written from the plugin descriptor files.
- Updated the NewPluginLocalizationTarget command under the LocalizationTargetEditor UAT command to accept a LocalizationConfigGenerationPolicy as a command line argument for all plugin localization targets to be created.
If the parameter is not specified, the parameter defaults to the Auto LocalizationConfigGenerationPolicy for all the plugins specified.
#rb: Jamie.Dale
#jira: UE-194880, UE-194879
#test Used the NewPluginLocalizationTarget sub-command to create plugins with an auto localization target. Used the Localize UAT command to perform a gather for such a plugin. Config files were indeed generated, the plugin was gathered and the loc data stored in PluginName/Content/Localization and then the config files were deleted. No fuss, no muss
[CL 30172150 by leon huang in ue5-main branch]
updates PDB telemetry task to use new client
[REVIEW] [at]Gary.Yuan, [at]Eric.Knapik
#rb Eric.Knapik
[CL 30122489 by joshua shlemmer in ue5-main branch]
Also remove destlocalinstalldir from UnrealSession and adds an equivalent InstallRoot into TargetDeviceDesktopCommon
#jira UE-201400
#rb David.Harvey, Josh.Engebretson
[CL 30120356 by brendan lienau in ue5-main branch]
[FYI] Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
AutomationTool: Check for dotnet instead of always relying on an installed visual studio
#rnx
[CL 30088082 by joe kirchoff in ue5-main branch]
[FYI] j.baumgartner
Original CL Desc
-----------------------------------------------------------------
[SubmitTool]
- Add CheckBalancedMacros validator and functionality to the script to accept a file list
- Added some extra error checking for CheckCopyrightNotices validator
- Add CheckUnacceptableWords validator and functionality to the script to accept a file list
- Fix an unacceptable word in SubmitTool.ini
#rb juan.legaz
[CL 30084969 by grant medine in ue5-main branch]