Commit Graph

41 Commits

Author SHA1 Message Date
jonathan adamczewski
90dde181c0 ExitCode:
Move enum from AutomationUtils.Automation to BuildUtilities

#jira none
#trivial
#preflight 60ca8a3d78c3b00001f86b24

[CL 16701095 by jonathan adamczewski in ue5-main branch]
2021-06-17 01:49:00 -04:00
josh adams
98aadf5c36 - Categorized Turnkey commands
- Added ability to have input list options be headers (prefix with ;)
#rb nuno.leiria

#ROBOMERGE-SOURCE: CL 15472185 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15472224 by josh adams in ue5-main branch]
2021-02-19 11:59:55 -04:00
rolando caloca
9adc4e68d0 UE5EA - Fix Turnkey crash with null PossiblePlatforms
Fix a typo
#rb Josh.Adams

#ROBOMERGE-SOURCE: CL 15389446 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15389456 by rolando caloca in ue5-main branch]
2021-02-11 13:47:20 -04:00
josh adams
13682c6497 - Renamed FileRetriever class to ITurnkeyContext
- Enhanced Turnkey error reporting to the editor (TurnkeyContext now has Log and ReportError)
- Improved the SDK display in the editor
- Various bug fixes
- Renamed GetAutoSDKDirectoryForMasterVersion() to GetAutoSDKDirectoryForMainVersion()
#rb brian.white

#ROBOMERGE-SOURCE: CL 15357339 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15360341 by josh adams in ue5-main branch]
2021-02-08 17:07:27 -04:00
Josh Adams
a3869f12d5 - Android Turnkey support for prerequisites (making sure Android Studio has been installed and run once sdk directory creation)
- Updated versioning to pass to SetupAndroid scripts instead of the script hardcoding it
- Added idea of code-based "FileSource" objects that can be used to install an SDK without needing to copy an installer, it's all in the SDKInstall command
- Prereqs are not working yet for Mac/Linux (logic will need to be ported on those platforms to get it right)
#rb chris.babcock

[CL 15298669 by Josh Adams in ue5-main branch]
2021-02-03 14:18:15 -04:00
Josh Adams
dbdede82f3 - C# Turnkey now uses ID, not Name, for proper connection to editor turnkey calls
- Changed RunLocal* functions in UnrealBuildTools.Utils to use UTF-8 stdout
- IOS device detection (TVOS needs some testing still)
#rb jack.porter,axel.riffard

[CL 15277910 by Josh Adams in ue5-main branch]
2021-02-01 22:36:31 -04:00
Josh Adams
f1b16e7ee5 Turnkey for device management and SDK apis for platforms coming online soon:
- Retooled some turnkey device management (DeviceInfo now knows its platform, so we don't need to associate a platform externally)
- Changed Control command to use Gauntlet devices to do the PowerOn etc type stuff since there is already support for device control in Gauntlet. Now Turnkey is more of an interactive/scriptable frontend to Gauntlet
- Allow for a platform to do a manual Sdk installation, which doesn't depend on finding a Turnkey file source
- Allow for a platform SDK to return custom versions. This is solely used by platform-specific code
#rb brandon.schaefer

[CL 15201829 by Josh Adams in ue5-main branch]
2021-01-26 05:30:58 -04:00
Josh Adams
2752e9a381 - Started work on "Control" command that can be used to execute basic functionality that is currently in C++ (poweron, reboot, etc). Work in progress
- Some Turnkey utilities cleanup/refactor for getting platforms/devices from commandline, and generic method for getting options from commandline or user
- Allow multiple Turnkey executions on a single RunUAT commandline (RunUAT Turnkey -command=Control -operation=Reboot Turnkey -command=Control -operation=Disconnect)
#rb sebastian.nordgren

[CL 15144469 by Josh Adams in ue5-main branch]
2021-01-20 10:20:37 -04:00
Josh Adams
e1e753576d - Added FSerializedUATProcess - may move to a header at some point
- Removed ModifyCreateProcParams., it wasn't useful enough
- Split up ExtraProjectBuilds into EngineCustomBuilds and ProjectCustomBuilds, so that engine/Epic specified custom builds don't dirty up the project packaging settings, and the ini system won't cause future additional builds to be lost
- Fixed up a couple of tooltips to indicate compression settings are used for Pak and IoStore
#rb brian.white

[CL 15135998 by Josh Adams in ue5-main branch]
2021-01-19 11:12:59 -04:00
Josh Adams
ae46bd441e - Adding idea of "quick switching" installed SDKs if the platform can detect multiple installed SDKs
#rb turnkeyonly

[CL 15074259 by Josh Adams in ue5-main branch]
2021-01-13 18:45:41 -04:00
Josh Adams
ce7af5910c - Stopped returning SDKNotFound for bad SDKs in VerifySDK, because it's not an actual error case, it's normal operation. Trying to install an SDK and that failing can still return errors
#review-15051866 devin.doucette

[CL 15051923 by Josh Adams in ue5-main branch]
2021-01-12 13:35:42 -04:00
Josh Adams
d02e3bec0b - Fixed crash with getting SDK info on legacy NDA platforms when the Platforms directory doesn't exist
#rb devin.doucette

[CL 15051428 by Josh Adams in ue5-main branch]
2021-01-12 12:49:05 -04:00
Josh Adams
c7360895de - Fixed Turnkey menu not respecting the platform configuration/target platform selections
- Improvements for ExecuteBuild - mostly around project selection, where it will give you options, cache last used project, etc
- Added search/replace modifier to the {....} syntax in the build spec (useful mainly for inivalue basically)
- Editor now just runs -command=ExecuteBuild -build=XYZ instead of parsing the XYZ build params and running UAT directly
- Deleted old #if 0'd code. Can go back in p4 history to find it later.
- Setup VisualStyles in Turnkey so that the project selector looks good on HiDPI
#rb self/turnkey

[CL 15014143 by Josh Adams in ue5-main branch]
2021-01-07 15:27:48 -04:00
Ben Marsh
6f927647b1 Changing C# code over to using EpicGames.Core over DotNETCommon.
#rb none
#rnx

[CL 14962096 by Ben Marsh in ue5-main branch]
2020-12-21 23:07:37 -04:00
Josh Adams
60c8673e12 - Updated Turnkey studio settings (split into separate .xml file so it can be read without trying to hunt down server files, added idea of what platforms are supported by the studio). Set Epic settings
- Return more info from Turnkey so callers can know if Turnkey can install full or autosdks (based on studio settings)
- Added idea of project settings having custom builds that can be run from Turnkey (and with a later checkin, Platforms menu in the editor)
#rb ben.marsh (just the code that chains Automation commands, as seen in ExecuteBuild)

[CL 14916239 by Josh Adams in ue5-main branch]
2020-12-14 14:46:33 -04:00
brian white
d467a8f6d2 [Turnkey] Added null check when AllowedFlashDeviceTypes is unset (and null)
#rb Josh.Adams

[CL 14699848 by brian white in ue5-main branch]
2020-11-10 11:13:16 -04:00
Josh Adams
788aad5cb0 - Updated UEBuildPlatform[SDK] to look in DDPI.ini and not bother setting up SDKs for platforms that aren't enabled (no need to print out errors for missing platform SDKs for platforms that aren't valid, like consoles on Mac)
- Streamlined the logs for bad SDK versions, especially when multiple platforms have bad SDKs
- Skip over non-enabled platforms in some Turnkey commands

[CL 14462457 by Josh Adams in ue5-main branch]
2020-10-09 13:20:15 -04:00
Josh Adams
57691b9c28 - Locally copied remote files are now remembered so won't be re-downloaded within one run of Turnkey (helps if updating multiple devkits with windows share sources)
- Don't attempt to install an flash SDK on a device that can't be connected to

[CL 14386709 by Josh Adams in ue5-main branch]
2020-09-24 10:31:16 -04:00
Josh Adams
c7c7f696d4 - Removed some debug logging
[CL 14386180 by Josh Adams in ue5-main branch]
2020-09-24 09:06:49 -04:00
Josh Adams
d0daf0380c - Moved valid device software (flash) versions into UEBuildPlatformSDK subclasses to put alongside the SDK version, and made them min-max
- General fixes for some platforms
- DDPI now remembers the SDK version information from Turnkey
- Updated Turnkey Launch menu to have SDK information, including device software versions,
- Moved the initial turnkey query earlier before AutoSDKs are setup so envvars are not blown away for the child process
- Added concept of "Prepare For Debugging", but not enabled on any platforms yet (what it means is per platform, and is somewhere between cooking and packaging)
- VerifySdk Turnkey command now puts its output into a (x=y, z=w) format for easier parsing in C++
- NullCopyProvider now copies large remote files, and remote directories, locally before using

[CL 14377385 by Josh Adams in ue5-main branch]
2020-09-23 11:47:14 -04:00
Josh Adams
0a24db7bbe - Fixed some turnkey ios profile sorting issues
- Allow clearing of Turnkey User settings, or setting to empty string
#jira UE-98200
#robomerge release-5.0-m2

[CL 14291953 by Josh Adams in ue5-main branch]
2020-09-10 15:35:38 -04:00
Josh Adams
38b4228661 - Deprecating XboxOne (removing from builds, and no longer registering it in UBT)
#fyi ryan.durand

[CL 14282710 by Josh Adams in ue5-main branch]
2020-09-09 14:52:14 -04:00
Josh Adams
de850319ff Turnkey:
- Added SDK installation pre/post-ambles so the platform can give user more
information on what's happening, and what to do on a failure (or a success)
- Added some defaults for Studio settings in TurnkeyManifest.xml, to show how to set in a studio's .xml file
- Added/updated some Studio settings/names
- Added bCanConnect flag to DeviceInfo (in case a platform can list devices even if they are unable to flash/run/etc - in which case the fields may or may not be correct)
- Added $(AllPlatforms) and $(AutoSDKPlatforms) built-in variables

[CL 14219769 by Josh Adams in ue5-main branch]
2020-08-31 12:05:23 -04:00
Josh Adams
d6a9409268 - Updated some turnkey installations
- Removed BuildSource type, and just use the generic FileSource for finding builds
- Improved support for $[x] captures

[CL 14170018 by Josh Adams in ue5-main branch]
2020-08-24 08:54:52 -04:00
Josh Adams
18d2cc10dd - Fixed RetrieveFIleSource as used from IOSPlatform.Automation to use the new FileSource stuff instead of Custom SdkInfo
[CL 13966949 by Josh Adams in ue5-main branch]
2020-07-29 17:10:58 -04:00