Commit Graph

123 Commits

Author SHA1 Message Date
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
Josh Adams
e1e330be49 Fixed up Androd installation via Turnkey:
- Moved running AndroidStudio to install the commandline tools into the InstallSDKfunction, out of the Prerequisites, which now just now makes sure AndroidStudio is installed
- Added direct AndroidStudio download to Turnkey, usable by all licensees (no need to host the installer at each studio now)
#preflight 63cea450976daa618c0498ec
#rb chris.babcock

[CL 23812459 by Josh Adams in ue5-main branch]
2023-01-23 10:42:04 -05:00
David Harvey
b43cb93e22 Adding a 'Quick Switch SDKs' Turnkey command that can be used when switching between branches that have different SDK versions.
```RunUAT Turnkey -Command=QuickSwitchSdk [-Platform=...]```

#jira none
#rb Wojciech.Krywult
#preflight 635ff38c1078e98178966403

[CL 22878565 by David Harvey in ue5-main branch]
2022-11-01 05:18:50 -04:00
brian white
71ebdbf5db [Turnkey] Resolve crash while updating device flash when the following conditions occur:
* Use the interactive Turnkey menu (ex. ".uat Turnkey")
* More than one device is available
* The "default" device is disconnected
* The device selected to update is not the default

#jira none, observed locally
#rb David.Harvey
#preflight https://horde.devtools.epicgames.com/job/6352cba6e6096564af78f08e
#rn Fix Turnkey Previously, if multiple devices were available and the default device was not connected a firmware flash could fail when attempting to get the FW flash version information.  Now the process will use the selected device if the default device is not connected.

[CL 22727539 by brian white in ue5-main branch]
2022-10-24 10:56:50 -04:00
Josh Adams
ce4c0b8039 - Allow AutoSDK installation via Turnkey from any copy provider
#rb david.harvey
#preflight 631a48eaa60c539c98a4de0e

[CL 21903506 by Josh Adams in ue5-main branch]
2022-09-08 17:09:00 -04:00
UnrealBot
73409369c0 Branch snapshot for CL 21319338
[CL 21319338 in ue5-main branch]
2022-08-10 16:03:37 +00:00
Robb Surridge
b81ca15f2f Coding standard fixes: gender-inclusive language
#preflight 62d976a8d54af4b9a20784bc
#jira UE-158724
#rb lauren.barnes

[CL 21221236 by Robb Surridge in ue5-main branch]
2022-07-22 11:01:51 -04:00
David Harvey
0032f8235f Turnkey uses "p4 where" to identify the AutoSDK root directory.
- should make it more reliable when working with non-trivial workspace mappings.

#jira UE-159610
#rnx
#rb Josh.Adams
#preflight 62d7c6f33c3df32390787e13

[CL 21175647 by David Harvey in ue5-main branch]
2022-07-20 05:19:47 -04:00
David Harvey
6b48bf288e Turnkey indicates to the platform whether an SDK is already installed when getting the install command, for platforms that need to handle this as a special case (uninstalling the current version, for example).
#jira UE-157918
#rnx
#rb Nuno.Leiria
#preflight 62d66d38185da2495f8281c3

[CL 21159722 by David Harvey in ue5-main branch]
2022-07-19 05:00:41 -04:00
David Harvey
37cb06fcf9 Platform SDK "Force Reinstall Sdk" is only shown in the editor if the 'best' SDK version is already selected, otherwise it shows 'Update Sdk'.
- note: 'best' is approximated as either MainVersion or MaxVersion to avoid touching the sdk file sources on editor startup.

#jira UE-158165
#rb Brian.White, Nuno.Leiria
#rnx
#preflight 62d53617f156340c79b0d02d

[CL 21145740 by David Harvey in ue5-main branch]
2022-07-18 06:38:28 -04:00
jorgenpt
10a64b5de9 PR #9268: Turnkey: Use User_LastPerforceClient for streams (Contributed by jorgenpt)
#preflight 62d51bac8e4b379590a5cf2f

[CL 21143966 by jorgenpt in ue5-main branch]
2022-07-18 04:59:02 -04:00
David Harvey
a9b875d704 Turnkey fast SDK switching is only attempted after the best version has been selected from the file source. This avoids re-downloading & re-installing an SDK unnecessarily.
#jira UE-157382
#rb Brian.White
#preflight 62bc0a773771c5710de2eb27

[CL 20871677 by David Harvey in ue5-main branch]
2022-06-29 04:21:44 -04:00
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