Commit Graph

4447 Commits

Author SHA1 Message Date
marcelo gomes
9af9cb85fa Accepting SkipInstall, SkipDeploy and SkipCopy arguments to skip build installation.
Uses AutoParam functions to set an AppConfig flag.
This change affects all platforms that in some form implement the "skip install" behavior.

[CL 28470800 by marcelo gomes in ue5-main branch]
2023-10-04 15:38:42 -04:00
zousar shaker
404622bb20 Fix bug in ZenExportSnapshotTask when NOT using a baseline snapshot descriptor.
#rb none
#jira UE-197088

[CL 28468612 by zousar shaker in ue5-main branch]
2023-10-04 14:57:31 -04:00
josh adams
c2437d9b07 - Fixed various issues with making Mac/IOS builds that can be uploaded to AppStore in Xcode
* Missing ThinApp.sh
  * Missing some quotes around a variable in GenerateUniversalDSYM.sh
  * Correctly filter out the stub .app's and such when copying the Staged data directory into the .app
  * Disabled the Mac's Sign To Run Locally option by default, as that causes Xcode's Validation/Upload to not have the team name embedded in it, causing a hassle while pushing up to AppStore/TestFlight
  * Fixed the PRODUCT_NAME for BP projects
  * Made CrashReportClient be a sandboxed app that inherits from parent
  * Fix Hybrid apps to check all platforms before in the project generator, so that if a project needs a temp target for IOS (via a plugin)
  * For hybrid projects, don't append Game to the end of the Game target names, as that is the default, and it makes for better named products
  * Disabled the LoginFlow module from OnlineFramework plugin - this was causing issues with having CEF and EpicWebHelper embedded into a sandboxed .app, and LoginFlow isn't seemingly actually used by anything
#jira UE-196297,UE-196299,UE-196296,UE-196300,UE-196295
#rb adam.kinge

[CL 28463729 by josh adams in ue5-main branch]
2023-10-04 13:25:29 -04:00
leon huang
3850621dd1 Localization:
Introduced the experimental LocalizationTargetEditor UAT command. This command allows users to create, update, delete and query localization targets in the Engine or project. The LocalizationTargetEditor UAT command is set up to have a series of sub-commands which can be executed with different parameters. This allows the LocalizationTargetEditor to be extensible to users for specialized localization target operations.
- Introduced the LocalizationTargetCommand abstract base class. This class is what all othe LocalizationTargetEditor sub-commands should be drived from. A scan of all sub-classes of LocalizationTargetCommand will be scanned for to determine all available localization target commands.
- Introduced the PluginLocalizationTargetCommand abstract base class. All commands to be operated on plugins should derive from this class.
- Introduced the NewPluginLocalizationTarget sub-command which will create localization config files for plugins and make the necessary updates to .uplugin files. All plugins under a provided directory can be operated on at a time to batch create the necessary localization config files.
- The NewPluginLocalizationTarget sub-command has perforce integration and can automatically add/check out all files that have been created/edited.
- Introduced a number of classes to encapsulate all the data in the various localization config files. This allows for generation of localization config files from code.
- Introduced the LocalizationConfigFileBuilder and LocalizationConfigFileGenerator base classes. These classes and their sub-classes are used to generate localization config files in the correct format provided the config file data. Current support is only for modular localization config files. However, the LocalizationConfigFileBuilder can also be used to generate Monolithic localization config files if necessary.also

#rb: Jamie.Dale
#jira: UE-194872, UE-194873, UE-194874,
#test Used the NewPluginLocalizationTarget sub-command to generate a number of plugins. The generated localization config files yield correct localization gather results and the plugin .locres file was successfully loaded at runtime to display the correct localized text.

[CL 28424727 by leon huang in ue5-main branch]
2023-10-03 14:44:56 -04:00
zousar shaker
3a1ca9e925 Fix deserialization of baseline snapshot descriptors.
#rb none

[CL 28413678 by zousar shaker in ue5-main branch]
2023-10-03 10:33:40 -04:00
leon huang
5b2d7c90a8 Localization:
Refactored the Localize UAT command to be more readable.
#rnx
#jira: none
#rb: Jamie.Dale

[CL 28400852 by leon huang in ue5-main branch]
2023-10-02 19:15:04 -04:00
zousar shaker
0b947c9f7f 2nd attempt:
Add support for a baseline when making cloud snapshots.  Also unify File and Cloud snapshot mechanism handling of multiple platforms, output descriptors and input baseline descriptors.

#rb none
[FYI] eric.knapik

[CL 28365921 by zousar shaker in ue5-main branch]
2023-09-30 11:46:22 -04:00
zousar shaker
bdc07cd260 [Backout] - CL28360965
[FYI] Zousar.Shaker
Original CL Desc
-----------------------------------------------------------------
Add support for a baseline when making cloud snapshots.  Also unify File and Cloud snapshot mechanism handling of multiple platforms, output descriptors and input baseline descriptors.

#rb none
[FYI] eric.knapik

[CL 28361101 by zousar shaker in ue5-main branch]
2023-09-29 19:45:10 -04:00
zousar shaker
04ce8c5205 Add support for a baseline when making cloud snapshots. Also unify File and Cloud snapshot mechanism handling of multiple platforms, output descriptors and input baseline descriptors.
#rb none
[FYI] eric.knapik

[CL 28361001 by zousar shaker in ue5-main branch]
2023-09-29 19:42:39 -04:00
carl bystrom
c4c8b2b4c9 BuildGraph: Add target and output parameters to DockerBuildTask
[CL 28341767 by carl bystrom in ue5-main branch]
2023-09-29 10:21:10 -04:00
david harvey
5942347480 Fix: Turnkey uses the AutoSDKPlatformName when setting up AutoSDK & a perforce provider isn't being used
#jira UE-196536
#rb Josh.Adams

[CL 28337709 by david harvey in ue5-main branch]
2023-09-29 04:26:24 -04:00
brendan lienau
655515af57 [Backout] - CL28309146
[FYI] bob.tellez
Original CL Desc

Restoring CL 28289106 and 28295841
- Fixes an edge case where no artifacts are created but a process log is still created. This would throw as streamwriter's require the directory already exist
- Added additional exception guarding to ensure minimal loss in artifact generation.

-----------------------------------------------------------------
[Backout] - CL28289106 and 28295841
[FYI] brendan.lienau
Original CL Desc
-----------------------------------------------------------------
[Gauntlet] Updates UnrealSession.SaveRoleArtifacts
- Artifacts are now moved from the device to the destination directory instead of being copied
- User can opt-in to do a copy instead with -RetainDeviceArtifacts
- Adds a Self-Test that verifies the integrity of the SaveRoleArtifacts unit - this iteration and future ones
- Some basic code cleanup/re-ordering

#rb Clayton.Langford
#tests Self-Test

[CL 28329688 by brendan lienau in ue5-main branch]
2023-09-28 17:32:55 -04:00
josh adams
08bfa6ba5f - Fixed an issue with moving remapped files from UFS to NonUFS when making cooked editor, where it was using UnmakeStagedFileReference unnecessarily, and getting it wrong when a file was remapped
- Removed UnmakeStagedFileReference
#rb bernard.lambert

[CL 28325981 by josh adams in ue5-main branch]
2023-09-28 15:23:02 -04:00
bob tellez
02dc4d37eb [Backout] - CL28289106 and 28295841
[FYI] brendan.lienau
Original CL Desc
-----------------------------------------------------------------
[Gauntlet] Updates UnrealSession.SaveRoleArtifacts
- Artifacts are now moved from the device to the destination directory instead of being copied
- User can opt-in to do a copy instead with -RetainDeviceArtifacts
- Adds a Self-Test that verifies the integrity of the SaveRoleArtifacts unit - this iteration and future ones
- Some basic code cleanup/re-ordering

#rb Clayton.Langford
#tests Self-Test

[CL 28309277 by bob tellez in ue5-main branch]
2023-09-28 00:30:01 -04:00
brendan lienau
cc22843010 [Automation] Makes UnrealSessionRole.SaveRoleArtifacts copy/delete crashdumps instead of move.
This prevents an exception caused by MoveTo not being allowed across drives.
#rb trivial

[CL 28296851 by brendan lienau in ue5-main branch]
2023-09-27 18:04:03 -04:00
leon huang
083d45ac4d Updated P4Utils to also support adds and deletes on a list of files to avoid blowing the command line.
#rnx
#jira: none
#rb: Joe.Kirchoff
#test: Have some shelved C# scripts that use the functions and behavior seems to be the same using both the Add() function that takes a list of files vs taking a concatenated string of all the files.

[CL 28296795 by leon huang in ue5-main branch]
2023-09-27 18:02:54 -04:00
brendan lienau
a34470aa16 [Gauntlet] Updates UnrealSession.SaveRoleArtifacts
- Artifacts are now moved from the device to the destination directory instead of being copied
- User can opt-in to do a copy instead with -RetainDeviceArtifacts
- Adds a Self-Test that verifies the integrity of the SaveRoleArtifacts unit - this iteration and future ones
- Some basic code cleanup/re-ordering

#rb Clayton.Langford
#tests Self-Test

[CL 28291888 by brendan lienau in ue5-main branch]
2023-09-27 16:46:47 -04:00
Ben Marsh
a3783d7322 Horde: Add a matcher for Docker disk space errors.
[CL 28222783 by Ben Marsh in ue5-main branch]
2023-09-26 08:53:53 -04:00
Ben Marsh
025a6f2f88 Fix errors building UAT on Windows ARM64 due to invalid PDB debug type.
[CL 28191491 by Ben Marsh in ue5-main branch]
2023-09-25 12:24:22 -04:00
brendan lienau
81e8311e7e [Gauntlet] Resubmit CL 28155910
Rename TestInstallAndRunBase::TestCopyFilesToCopy to TestInstallAndRunBase::TestCopyAppConfigurationFiles
#rb trivial
#rnx

[CL 28166043 by brendan lienau in ue5-main branch]
2023-09-22 20:14:10 -04:00
alex kahn
9c408924a2 [Backout] - CL28155910 - CIS Setup Error
[FYI] brendan.lienau
Original CL Desc
-----------------------------------------------------------------
[Gauntlet] Rename TestInstallAndRunBase::TestCopyFilesToCopy to TestInstallAndRunBase::TestCopyAppConfigFiles
#rb trivial
#rnx

[CL 28161138 by alex kahn in ue5-main branch]
2023-09-22 18:26:19 -04:00
brendan lienau
3e60eff506 [Gauntlet] Rename TestInstallAndRunBase::TestCopyFilesToCopy to TestInstallAndRunBase::TestCopyAppConfigFiles
#rb trivial
#rnx

[CL 28159372 by brendan lienau in ue5-main branch]
2023-09-22 17:54:53 -04:00
Ben Marsh
3b7d176fdd Horde: Use a cache on the local disk to wrap any requests for bundle data.
[CL 28132629 by Ben Marsh in ue5-main branch]
2023-09-22 09:22:32 -04:00
Ben Marsh
ae3ad9b5c0 Fix build error.
[CL 28114134 by Ben Marsh in ue5-main branch]
2023-09-21 19:22:29 -04:00
Ben Marsh
feaf55847d Horde: Fix UAT build error.
[CL 28114013 by Ben Marsh in ue5-main branch]
2023-09-21 19:20:20 -04:00