Commit Graph

111 Commits

Author SHA1 Message Date
Ben Marsh
cbb950c578 UBT: Use ILogger throughout UBT, rather than legacy EpicGames.Core.Log methods. All output going forwards should use structured logging rather than String.Format style logging.
#preflight 628e9dc6e746de4961f60032

[CL 20373777 by Ben Marsh in ue5-main branch]
2022-05-25 19:55:37 -04:00
Josh Adams
5bd689a00d - FIxed a Turnkey bug where flags weren't surrounded in quotes, so the editor wasn't parsting all of the flags properly
#jira none
#rb trivial
#preflight skip

[CL 20053659 by Josh Adams in ue5-main branch]
2022-05-04 20:43:36 -04:00
Josh Adams
604aec8368 - Allow for multiple full sdks for a platform (uses a new SDKCollection class to gather sdk versions and their validityt, etc)
- Windows will be first to use it, but in a future CL, with toolchain separate from Windows SDK
- Cleaned up some of the PlatformSDK API to have fewer public members (mainly so the functions that receive multiple versions can be automatically populated with the current single version functions in the subclasses)
- Updated the Turnkey menu to handle multiple versions

#jira none
#rb david.harvey
#preflight 62508cd8f10bcc0f4fa8b5d1

[CL 19692492 by Josh Adams in ue5-main branch]
2022-04-08 15:34:51 -04:00
jonathan adamczewski
c12d99d854 .net6.0 is not supported in VS2019. Suppress warnings about that when using that IDE (with this change, when building UnrealBuildTool & AutomationTool)
#jira none
#rnx
#rb joe.kirchoff
#preflight 624f2c163c2aff69c54ff9eb

[CL 19675097 by jonathan adamczewski in ue5-main branch]
2022-04-07 15:06:02 -04:00
jonathan adamczewski
c1bb6901bf Upgrade to .NET 6.0
#jira UE-119846
#preflight 624cbb2ecc0872e96b0d5181

[CL 19652696 by jonathan adamczewski in ue5-main branch]
2022-04-06 14:46:50 -04:00
jonathan adamczewski
0a6164bbd3 nullability annotations, rethrow fixes, net6.0 warning suppression
#jira none
#trivial
#rnx
#preflight 62425155c61d8a458f230657

[CL 19536049 by jonathan adamczewski in ue5-main branch]
2022-03-28 20:50:06 -04:00
jonathan adamczewski
5c68d1d9ef Revert //UE5/Main/... changelist 19531725 - return to NET Core 3.1
#preflight 62422fd0470aff98e946bfce
#jira UE-119846

[CL 19534572 by jonathan adamczewski in ue5-main branch]
2022-03-28 18:25:19 -04:00
jonathan adamczewski
18ac15cbb1 Upgrade to .NET 6.0
#jira UE-119846
#preflight 6241fc06470aff98e943c035

[CL 19531725 by jonathan adamczewski in ue5-main branch]
2022-03-28 15:30:56 -04:00
Ben Marsh
cda1b66bba Reformat EpicGames.Core according to standard coding conventions.
#preflight 623cd2e84368f558e30b4a9e

[CL 19502309 by Ben Marsh in ue5-main branch]
2022-03-24 16:35:00 -04:00
Josh Adams
1cac5f0077 - Moved ini struct/map parsing out of Turnkey/WinPlatform to ConfigHierarchy so they can be shared, and used elsewhere
#jira none
#rb brandon.schaefer
#preflight 62352ded48746817f14246b4
#preflight 6238709dc3399da9531164a3

[CL 19450836 by Josh Adams in ue5-main branch]
2022-03-21 08:39:34 -04:00
josh adams
73790836c2 - Added PlatformValues to DeviceInfo in UAT land. Removed the Subtype field and changed it's very limited use to PlatformValues
- Added support for copying remote debugging files to SteamDeck when deploying
- Username is now pulled out of the Device info, or put on the commandline via -deviceuser to override
#rb brandon.schaefer
#jira none
#p4v-preflight-copy 19392535
#preflight 6233ac4af101b8d0afa9abf4

[CL 19428566 by josh adams in ue5-main branch]
2022-03-17 18:23:21 -04:00
Josh Adams
a2fe0691dc - Http Turnkey provider
#rb axel.riffard
#jira none
#preflight 6233acafe12e0da4a5333ccd

[CL 19427816 by Josh Adams in ue5-main branch]
2022-03-17 17:54:56 -04:00
Josh Adams
ed1fb28a68 - New CreateBuild Turnkey command to interactively create builds that can be run now, or saved for later (exposed to Editor Platforms menu)
- Started moving the code that turns ProjectPackagingSettings into BuildCookRun commandline from editor to C# so that we can run scripts without needing to bake out the commandline
- Updated ExecuteBuild to handle some new variables and such (like the new one for importing ProjectPackagingSettings into the commandline dynamically)
- Added ability to update a Default config file in C# (with limited functionality - set value and add array entry, with an enum we can extend later)
- Minor cleanup here and there
#rb david.harvey
#preflight 622b581ddf3960e506cf9a27
#preflight 622bb3f046679d56c3239a8c

[CL 19360380 by Josh Adams in ue5-main branch]
2022-03-11 15:51:57 -05:00
David Harvey
b3a856bc2e Turnkey Google Drive filename matches are not case sensitive.
#rnx
#rb luke.thatcher
#preflight 620cd26d615db7478d58c6e7

[CL 19012249 by David Harvey in ue5-main branch]
2022-02-16 05:35:38 -05:00
david harvey
d6a2b885ae Don't create devices for CookedCooker targetplatform (CookedEditor TP was already correct)
- Harden Turnkey device querying to print a message on device exceptions, but not fail out

#rb Josh.Adams, Nuno.Leiria
#jira UE-141524
#rnx
#preflight 62067544ad10bdb30a9f31a4

#ROBOMERGE-AUTHOR: david.harvey
#ROBOMERGE-SOURCE: CL 18952338 in //UE5/Release-5.0/... via CL 18952418 via CL 18952518
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18952528 by david harvey in ue5-main branch]
2022-02-11 10:37:32 -05:00
dave hunter
f3ae77f168 Prevent exceptions from propagating when verifying sdks
An exception was getting thrown on the Mac when checking for hololens when looping through all possible platforms.  I felt the safest option was to prevent any exceptions when checking for SDK versions, that way we can simply treat the SDK as not present if an exception occurs.

#rb will.damon
#jira UE-135899
#preflight n/a

#ROBOMERGE-AUTHOR: dave.hunter
#ROBOMERGE-SOURCE: CL 18806616 in //UE5/Release-5.0/... via CL 18808573 via CL 18822182
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18822494 by dave hunter in ue5-main branch]
2022-02-02 02:46:19 -05:00
david harvey
39567b7925 Catch and report Google Drive verification errors for Turnkey.
#jira UE-140459
#rnx
#preflight 61f822a668795b2f457c82a0
#rb Josh.Adams
#preflight 61f822a668795b2f457c82a0

#ROBOMERGE-AUTHOR: david.harvey
#ROBOMERGE-SOURCE: CL 18792832 in //UE5/Release-5.0/... via CL 18793060 via CL 18794467
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18794913 by david harvey in ue5-main branch]
2022-01-31 14:54:19 -05:00
david harvey
5c7a628097 Turnkey will show the current device software version when updating.
#jira UE-139445
#rnx
#rb Eric.McDaniel
#preflight 61ead7dae4313f36f01ceff6

#ROBOMERGE-AUTHOR: david.harvey
#ROBOMERGE-SOURCE: CL 18690055 in //UE5/Release-5.0/... via CL 18690062 via CL 18690071
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18690077 by david harvey in ue5-main branch]
2022-01-21 11:08:21 -05:00
david harvey
d1afce7870 fix for turnkey install sdk crash when there are no valid sdks available.
#jira UE-139480
#rnx
#rb Nuno.Leiria
#preflight 61e98408963d324152f23a3b

#ROBOMERGE-AUTHOR: david.harvey
#ROBOMERGE-SOURCE: CL 18675544 in //UE5/Release-5.0/... via CL 18675830 via CL 18675908
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v902-18672795)

[CL 18679759 by david harvey in ue5-main branch]
2022-01-20 15:25:38 -05:00
jonathan adamczewski
fb9901fe24 AutomationTool: Remove UE4 references
#jira UE-111740
#preflight none
#trivial

#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 18576039 in //UE5/Release-5.0/... via CL 18576055 via CL 18576072
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18576082 by jonathan adamczewski in ue5-main branch]
2022-01-11 15:16:51 -05:00
jonathan adamczewski
5765f4595e AutomationTool: Remove UE4 references
#jira UE-111740
#preflight none
#trivial

#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 18576039 in //UE5/Release-5.0/... via CL 18576055
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18576072 by jonathan adamczewski in ue5-release-engine-test branch]
2022-01-11 15:15:59 -05:00
jonathan adamczewski
674acb7bbd Turnkey.Automation.csproj: Ensure referenced dlls are copied to binary directory
#jira UE-136592
#preflight 61d6186b1f62d3ad4d5c9e71

#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 18526006 in //UE5/Release-5.0/... via CL 18526026 via CL 18526033
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18526035 by jonathan adamczewski in ue5-main branch]
2022-01-05 17:55:04 -05:00
jonathan adamczewski
b0ce2b7844 Turnkey.Automation.csproj: Ensure referenced dlls are copied to binary directory
#jira UE-136592
#preflight 61d6186b1f62d3ad4d5c9e71

#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 18526006 in //UE5/Release-5.0/... via CL 18526026
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18526033 by jonathan adamczewski in ue5-release-engine-test branch]
2022-01-05 17:54:23 -05:00
Ben Marsh
6a2855f64c UAT: Add support for async build commands and BuildGraph tasks.
#preflight 61b3aa86e928cffe866fa918

[CL 18433916 by Ben Marsh in ue5-main branch]
2021-12-10 15:36:47 -05:00
josh adams
1386a55120 - Enabling UAT built on Windows to run on Linux, by pulling WinForms stuff out into a premade assembly (UnrealWindowsForms.dll)
- Note that for Windows to work, the AutomationTool.exe needs to be marked as a Desktop app, so when running on Linux, this command is needed one time: sed -i 's/WindowsDesktop/NETCore/' AutomationTool.runtimeconfig.json
- Removed some platform-specific checks for the platform building it, and #if WINDOWS type checks (not all gone, but getting better)
#rb jonathan.adamczewski
#preflight 6195a7de841fa7e69d5964d4
[FYI] graeme.thornton

#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 18237766 via CL 18242422 via CL 18242492 via CL 18242564 via CL 18244551 via CL 18244617
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18244669 by josh adams in ue5-release-engine-test branch]
2021-11-18 16:57:11 -05:00