Commit Graph

885 Commits

Author SHA1 Message Date
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
Ben Marsh
056933d936 Allow setting executable bits for files in zip archives from Windows, and set the executable permissions on Mac/Linux builds of UGS-CLI by default.
#preflight none

[CL 24616578 by Ben Marsh in ue5-main branch]
2023-03-13 13:41:26 -04:00
Joe Kirchoff
c8ec11fad2 P4WriteConfig: Prefer ignore file in the root folder if it exists
#rb trivial
#preflight 640a5e96363e9b40ab6b96bc

[CL 24584216 by Joe Kirchoff in ue5-main branch]
2023-03-09 17:52:01 -05:00
Ben Marsh
7e26c34d2b EpicGames.Core: Deprecate legacy log methods to prefer structured logging interface.
#preflight 640a23d928026468d9de7cbd

[CL 24580590 by Ben Marsh in ue5-main branch]
2023-03-09 14:51:40 -05:00
Ben Marsh
cbf077c130 More AutomationTool structured logging changes.
#preflight 6408f4bcb0544ef0b4c2c5c6

[CL 24566694 by Ben Marsh in ue5-main branch]
2023-03-08 16:11:38 -05:00
Ben Marsh
e141cb6196 More UAT structured logging fixes.
#preflight 6408dee3b0544ef0b4bca696

[CL 24564590 by Ben Marsh in ue5-main branch]
2023-03-08 14:32:15 -05:00
Ben Marsh
235eb77726 Change to structured logging in other AutomationTool projects.
#preflight 6408c4478c0039bbf750e861

[CL 24562553 by Ben Marsh in ue5-main branch]
2023-03-08 12:43:35 -05:00
Ben Marsh
89d6613573 UAT: Refactor AutomationUtils and BuildGraph to use structured logging.
#preflight 6407c4c26e1dadfcdab25849

[CL 24553706 by Ben Marsh in ue5-main branch]
2023-03-07 21:23:47 -05:00
eric mcdaniel
391d5185c3 Turnkey: Turnkey and editor support for controlling auto software update modes on platform devices
- this change just adds support to Turnkey and the editor UI to expose this support for supported platforms
  - follow on changes will be required to support the feature on a given platform

- Turnkey now tracks the auto software update mode per device
  - unknown/enable/disable
    - will be unknown for devices which do not support auto software updates or platforms which have not yet implemented support
- new UAT platform method SetDeviceAutoSoftwareUpdateMode() must be implemented for supporting platforms
- new Turnkey command DeviceAutoSoftwareUpdates for changing auto software update state on a device
- edtior exposes this functionality under the device entries in the platforms menu
  - devices which support auto software updates will expose an "Enable auto software updates" check box item in their Sdk Info menu
    - toggling this checkbox changes the auto software update policy on the device

#rb David.Harvey, Wojciech.Krywult
#jira UE-160691
#preflight 64012d69d249add4a205fe9c, 64078e72aa0042333551c821

[CL 24552009 by eric mcdaniel in ue5-main branch]
2023-03-07 19:11:50 -05:00
bryan sefcik
836b14219e * Added an interface that contains ParamHelp attributes for ProjectParam so we can reflect the parameters in other tools.
* Updated LauncherTool to traverse the class interfaces looking for attributes. Using GetCustomAttributes is not good enough because it will not find the HelpAttributes because the base attribute class(DescriptionAttribute) does not explicitly mark itself that the attribute is inherited.

#rb gary.yuan
#preflight 64028b895515f4f57b0a62c0

[CL 24511953 by bryan sefcik in ue5-main branch]
2023-03-03 20:48:42 -05:00
Matt Peters
7bbd3c4bf0 Cooker,AssetRegistry,AssetManager: Remove deprecation handling for fields deprecated in 5.1 and earlier.
Make AssetManager required; engine startup gives a fatal error if AssetManager is not present.
#rn Minor, Cooking
#rb Zousar.Shaker
#preflight 63ffd322df66ed5fc11d963e

[CL 24493164 by Matt Peters in ue5-main branch]
2023-03-02 19:37:50 -05:00
josh adams
bb86736ace - Fixed targets with names like Foo_Mac to not think they are platform extensions if they aren't under a Mac directory (platform extensions will be named with Platform name always)
#jira UE-178334
#rb David.Harvey
#preflight 640013dcdf66ed5fc1367d6a

[CL 24485971 by josh adams in ue5-main branch]
2023-03-02 13:21:06 -05:00
Ben Marsh
136d92f223 Fix order of arguments to unzip command on Mac.
#preflight none

[CL 24481713 by Ben Marsh in ue5-main branch]
2023-03-02 10:08:01 -05:00