Commit Graph

897 Commits

Author SHA1 Message Date
David Harvey
783909a793 Adding hook for any platform-specific files that are needed when staging DLC.
#rnx
#jira UE-127706
#rb trivial
#preflight 6464c553fa4cf416512efcc5

[CL 25505256 by David Harvey in ue5-main branch]
2023-05-17 08:41:19 -04:00
Wojciech Krywult
9fe0243168 AutomationTool: Fixed 'Launch failed' messages in the editor after terminating a successfully launched game.The problems was caused by us treating all non-zero results as errors while some platforms return different non-zero codes to provide additional information.
Resolved by adding IProcessResult::bExitCodeSuccess virtual property which may be overridden on the affected platforms to explicitly indicate which exit codes are allowed.

#preflight 6462a07a592448f08bde34e4
#rb David.Harvey
#jira UE-178885
#rnx

[CL 25497459 by Wojciech Krywult in ue5-main branch]
2023-05-16 16:56:31 -04:00
Josh Adams
9d4caec55a - Brought the idea of hybrid/temp targets for content only projects that need to be treated as code, to UBT instead of UAT. Generate temp targets when building or generating projects
- Only active when the project generator says it supports ContentOnly projects, although that is just for now until Xcode can test it out, in case it causes Visual Studio issues
#rb joe.kirchoff
#preflight 64638f4a4404e3cdd240327f

[CL 25490732 by Josh Adams in ue5-main branch]
2023-05-16 11:49:47 -04:00
dan engelbrecht
df83c93b28 Use UnRealPak to copy loose files using a special package enabling zenstore usage.
#precommit 6461fa95592448f08b9df249
#rb zousar.shaker

[CL 25472827 by dan engelbrecht in ue5-main branch]
2023-05-15 09:49:17 -04:00
gary yuan
667f83e6c8 [LaunchIt] Have a way for ParamHelpAttribute markup on class types to explicitly override the same key from a parent class.
#rb eric.knapik
#preflight 645bdca20827e227301e05f9

[CL 25420181 by gary yuan in ue5-main branch]
2023-05-10 20:28:49 -04:00
Josh Adams
d1511ade28 - Fixed generatingXcode temporary projects (hybrid content-only-as-code projects)
- Updated the temp .Target.cs to use modern include order to avoid some warning spam
#preflight 645871664c3ec54e6ef344ca
#rb none (but tested by wei.lu)

[CL 25370095 by Josh Adams in ue5-main branch]
2023-05-08 09:44:42 -04:00
Ben Marsh
010075a0b0 UAT: Reduce number of decimal places when logging how long it took to execute an external program.
#preflight none

[CL 25366147 by Ben Marsh in ue5-main branch]
2023-05-06 14:11:41 -04:00
Ben Marsh
b1930d01d6 Missing file
#preflight none

[CL 25245959 by Ben Marsh in ue5-main branch]
2023-04-28 19:31:17 -04:00
Josh Adams
3b0498006e - Added a couple functions to CommandUtils for archive to handle copying symlinks properly (with a mode enum to select how to handle symlinks: Follow, Retain, Ignore - with defaults based on platform to be similar to how existing code was setup)
- FindFilesAndSymlinks
  - CopyFileOrSymlink
#rb joe.kirchoff
#preflight 6449556f1150e908d08bc3ba

[CL 25201543 by Josh Adams in ue5-main branch]
2023-04-26 12:54:36 -04:00
Josh Adams
97fae42953 - Fixed QuickLaunch for IOS working with Modern xcode
- No longer try to grab the output from IOS with QuickLaunch as idevicedebug is killing the app too quickly
- The modern Staged directory can now be shared between Development/Shipping/etc, for grabbing any non-Framework .dylibs (like steam)
- Removed the extra --generate-entitlements-der option now that Xcode also always adds it
#preflight 6447d49a024bc608e64072f9
#rb adam.kinge
#preflight 6447d6643d1be392df890776

[CL 25179459 by Josh Adams in ue5-main branch]
2023-04-25 09:51:37 -04:00
Joe Kirchoff
ddf8e2a79a P4WriteConfig: If an ignore file is found in the root, set P4IGNORE to the file name rather than the path
#rnx
#rb trivial
#preflight 6446bffe0206a6e20f38d4db

[CL 25167713 by Joe Kirchoff in ue5-main branch]
2023-04-24 13:53:02 -04:00
David Harvey
bf4d7523a2 Fixes for multiple build targets:
- do not need to specify a default server target when doing -cook
 - UFE allows launching default Game and Client targets now that a default can be specified in BuildSettings (note that it won't verify that a default has been configured - UAT handles this)


#jira UE-181924
#rb Josh.Adams
#preflight 6446823027014596f36a5411

[CL 25163212 by David Harvey in ue5-main branch]
2023-04-24 09:30:03 -04:00
bryan sefcik
badffe3f69 Reverted back to using the AsyncLocalScopeManager to manage the active span. This appears to be passing the tests I added.
Added another test for Parallel.ForEachAsync.

#preflight 6435ac93d03b1c87dd42103c

[CL 24996101 by bryan sefcik in ue5-main branch]
2023-04-11 15:15:56 -04:00
bryan sefcik
e396637ca2 Updated JsonTracer to derive from IDisposable.
#preflight 642cbffcda7f958370a54c96

[CL 24923041 by bryan sefcik in ue5-main branch]
2023-04-04 21:16:36 -04:00
VesCodes
a224895a15 PR #10253: AutomationTool: Respect specified error level for commandlets (Contributed by VesCodes)
#preflight 642b5dc7da7f9583701e8fd6

[CL 24904038 by VesCodes in ue5-main branch]
2023-04-03 19:29:18 -04:00
dan engelbrecht
db5e568754 Game client no longer needs -zenstoreproject or -zenstorehost arguments to correctly run with a COTF server which uses Zen.
Game client now accepts only -filehostip for connection to a CTOF server, -cookonthefly is no longer necessary and is ignored.
Game client will now receive ProjectName (ProjectId), Platform (OplogId), Zen server host name and port from COTF server if running with zenstore.
Fixed issues with generating the ProjectId from a path where drive letters where lower case.

#rb zousar.shaker pj.kack
#preflight

[CL 24889513 by dan engelbrecht in ue5-main branch]
2023-04-03 01:51:40 -04:00
james doverspike
2ebe5e964e Adds bStageLoose to pakfilerules which stages loose files and gathers them up into a new ondemand pak.
[CL 24868106 by james doverspike in ue5-main branch]
2023-03-31 02:58:47 -04:00
zach harris
166eb97912 Adding a program that can be used to delete the PersistentDownloadDir on Windows at uninstall time.
#rb james.doverspike

[CL 24831863 by zach harris in ue5-main branch]
2023-03-29 02:28:20 -04:00
Tim Smith
462384ddaa Updating code analysis to 4.2 and text encoding to 6.0.
#rb josh.adams
#preflight 64230e0ab72410fc17da10e4

[CL 24820881 by Tim Smith in ue5-main branch]
2023-03-28 12:21:16 -04:00
paul chipchase
6cbfb3faa0 Improve the P4WriteConfig automation script.
#rb Ryan.Hummer
#jira UE-180842
#preflight 642142d714423a492de3337d

- The script now takes any existing P4CONFIG value set in the environment into account. If the value is set then we use that as the filename rather than our default
-- This prevents the script from breaking pre-existing P4CONFIG set ups.
- If the user uses the -Path cmdline option to set a specific name for the file we will throw an error if it would conflict with an existing P4CONFIG setting. To override this the user can pass in a new cmdline flag '-ReplaceEnv' which is present will cause any pre-existing P4CONFIG value to be replaced with the one supplied on the cmdline.
- Added some minor tweaks to existing logging for readability.

[CL 24815268 by paul chipchase in ue5-main branch]
2023-03-28 02:28:04 -04:00
james singer
cd0f3fbd0e Fix launching on remote Linux box from Windows editor
#jira UE-52298
#rb Brandon.Schaefer
#preflight 641e2a97803cb466e86db25c

[CL 24801794 by james singer in ue5-main branch]
2023-03-27 09:25:31 -04:00
rob perren
f6c30cddf9 Added the ability to get the crashes directory for a project
#rb Mitchell.Fisher
[REVIEW] https://p4-swarm.epicgames.net/reviews/24657677/
#preflight 641acbd96f1ceb81be5d44f3
#RNX

[CL 24748023 by rob perren in ue5-main branch]
2023-03-22 11:06:14 -04:00
bryan sefcik
ab8961a2f0 Added zenstore and iterate arguments to the ProjectParams.
Updated CookProfile.

#preflight

[CL 24734295 by bryan sefcik in ue5-main branch]
2023-03-21 13:03:34 -04:00
carl bystrom
147387e43d UAT: Skip detecting msbuild path under Wine
Right now, it's expected that .NET Core dependencies are compiled outside of Wine.
#preflight 6412eb89e62652b594188ab1

[CL 24668904 by carl bystrom in ue5-main branch]
2023-03-16 06:31:20 -04:00
carlmagnus nordin
30c0f28fc0 ZenCook: Merge the oplog and package store manifest. Write an oplog instead of a package store manifest when cooking to loose files and read the oplog instead of the package store manifest to find cooked files in UAT when staging from Zen.
#rb per.larsson
#preflight 640efc9bc41a0a2a7799d470
#rnx

[CL 24632735 by carlmagnus nordin in ue5-main branch]
2023-03-14 06:43:23 -04:00