Commit Graph

131 Commits

Author SHA1 Message Date
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
andrew phillips
bf12dcee39 Fixing vulnerable NuGet deps.
System.Drawing.Common 4.7.0 => 4.7.2  (https://github.com/advisories/GHSA-rxg9-xrhp-64gj)
MongoDB.Driver 2.11.5 => 2.19.0  (https://github.com/advisories/GHSA-7j9m-j397-g4wx)

#jira UE-194453
#rb francis.hurteau
#lockdown michal.valient

[CL 27715945 by andrew phillips in ue5-main branch]
2023-09-08 12:44:45 -04:00
Josh Adams
cb55033c0a - Disallow SDK.json reading if the platform isn't enabled on the platform
- If no DDPI.ini exists, mark the SDK as not usable on the platform (default the UEBuildPlaformSDK to disabled until the DDPI.ini file is read)
#rb joe.kirchoff
#jira UE-189549

[CL 26271235 by Josh Adams in ue5-main branch]
2023-06-27 17:19:49 -04:00
josh adams
175b7026ef - Fixed ThisManifestDir in Turnkey with UNC style paths
#rb trivial

[CL 26072386 by josh adams in ue5-main branch]
2023-06-16 17:48:20 -04:00
Josh Adams
847e4c5b79 - No longer ask user what directory they want to use for UE_SDKS_ROOT when syncing from p4 because we know the answer is where it synced to
#rb trivial
#preflight skip

[CL 25542859 by Josh Adams in ue5-main branch]
2023-05-19 08:26:49 -04:00
Josh Adams
b80e933e3e - Put machine name into the default Turnkey autosdk client spec name to avoid conflicts between same user on multiple machines, and detect if whatever user chose is in use, and suggest another name with an increasing index appended
#rb brian.white,david.harvey
#preflight 6442e4d7b14f1faacf29c6af

[CL 25152130 by Josh Adams in ue5-main branch]
2023-04-21 15:50:22 -04:00
eric mcdaniel
2c802f8b37 Turnkey: Fix for determining supported device software versions
- issue
  - turnkey verifysdk command is not returning the supported device software version ranges for platforms without specific version ranges per device type
    - this also causes it to not report the current software version on the device
  - the editor uses this turnkey command so it is currently unable to report current or supported device software ranges for some platforms

- fix
  - turnkey verifysdk command now queries for supported device software range for the specific device type
    - if no supported version range is found, it then queries for device type independent versions for that platform

- testing
  - edtior now correctly reports software versions for Windows as well as some NDA'd platform devices

#rb David.Harvey
#jira none
#preflight 641216883c2db40029533b40

[CL 24669703 by eric mcdaniel in ue5-main branch]
2023-03-16 08:47:32 -04: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
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