Commit Graph

42 Commits

Author SHA1 Message Date
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
61898204da - Worked around p4.exe having a bad interaction with Windows parsing the commandline with a * in it in a server path, by passing commands with a * in the parameters through in a file and the -x global option. (Windows would treat //UE4/Main as \\UE4\Main and take forever to timeout looking for a server named UE4)
#rb brandon.schaefer

[CL 14666987 by Josh Adams in ue5-main branch]
2020-11-05 14:23:24 -04:00
Joakim Lindqvist
bd18d9e6e8 Disabled copy local on project references for netcore projects, fixes build warnigns caused by multiple copies trying to write to the same output files.
Also reduces footprint on disk and speedsup builds slightly.

Also took a pass over all projects to fixup their output paths as there were some inconsitencies from my port to netcore.
Lastly I disabled the resource folders for everything but english to reduce some of the noise in the output folder, this just impacts which languages you get code analysis.

#jira UE-102147
#rb none

[CL 14651855 by Joakim Lindqvist in ue5-main branch]
2020-11-04 09:48:49 -04:00
Joakim Lindqvist
f90e40ffb0 UAT can now build as a netcore application.
Added a NET_CORE define to allow us to have changes side by side.
The AWS S3 changes are required due to us requiring to upgrade the S3 assembly version to get net core support (which made all methods async).
The ACL checks for files are not available in the system libraries of net core, as such the api is a bit different.

AutomationToolLauncher now just spawns a subprocess when used in netcore, as netcore does not support custom AppDomains and shadow copying. We will generally need to revisit this for netcore as this whole feature of building the source for UAT in UAT is not really possible.

To enable this set environment variable "UE_USE_DOTNET=1", note that with netcore all applications change their output path so this will likely break a bit of tooling when enabled.

#rb ben.marsh

[CL 14572339 by Joakim Lindqvist in ue5-main branch]
2020-10-26 06:08:59 -04:00
Joakim Lindqvist
2750553a40 UAT Net Core - Copied project files into net core compatible format
#rb none

[CL 14572287 by Joakim Lindqvist in ue5-main branch]
2020-10-26 06:05:41 -04:00
Josh Adams
0f3de44fbd - Added Turnkey Studio setting for GoogleDrive app name, and added a log to show user that they may need to check their web browser for Google authentication
[CL 14472507 by Josh Adams in ue5-main branch]
2020-10-12 11:57:22 -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
6eb011c10d - Turnkey can now delete User setting by passing it null
[CL 14397523 by Josh Adams in ue5-main branch]
2020-09-25 12:57:50 -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
24acd6cfeb - Fixed up AutoSDK on Mac in UE5
#fyi ryan.durand

[CL 14359881 by Josh Adams in ue5-main branch]
2020-09-21 17:53:19 -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
b7ae971259 - Renamed a poorly named PlatformSDK function for AutoSDK (GetDesiredVersion -> GetMainVersion)
- Now allow AutoSDK directory name and internal version to be separate (Android only using this for now)
- Some code cleanup with associated functions

[CL 14283427 by Josh Adams in ue5-main branch]
2020-09-09 15:45:53 -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
863cc0dfbd - Quick fix for Android SDK detection before bigger re-write in Main
#jira UE-98153
#robomerge release-5.0-m2

[CL 14282340 by Josh Adams in ue5-main branch]
2020-09-09 14:14:12 -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
Josh Adams
3d96cf53bd - Fixed a typo I made when editing on checkin, oops
[CL 13966532 by Josh Adams in ue5-main branch]
2020-07-29 16:22:29 -04:00
Josh Adams
88c2ccf6bc Massive Turnkey refactor for simplicity for licensees:
- Moved installation from manifest.xml to Automtion platform functions
- SdkInfo has been removed, now it's just FIleSource, which can be used generically
- Redid Expansion stuff completely, so it's inline into the FileSource fields
- Added support for list expansions (so we can use a variable in the .xml instead of enumerating a CopyProvider, can speed things up)
- Allow full wildcard support in GoogleDrive provider
- Not all SDkInfos have been converted to FileSources

[CL 13965630 by Josh Adams in ue5-main branch]
2020-07-29 14:40:30 -04:00
Josh Adams
eb7bb54a86 - Turnkey IOS cert usability improvements.
- Can now base on Provision Name, instead of just bundle id
- Added concept of StudioSettings, but they aren't being loaded yet from anywhere (and you can't set them with ManageSettings, by design, and am about to redo how Manifests/SdkInfo installers/etc are all managed)

[CL 13923256 by Josh Adams in ue5-main branch]
2020-07-22 10:29:24 -04:00
Josh Adams
1439675a3e - Added tagged retrieval to work with regex'd tags
- Added some Turnkey settings to IOSRuntimeSettings
- Added some of the IOSRuntimeSettings to be stripped out in the IniKeyBlacklist so that passwords aren't shipped
- Fixed smb: volume mounting in Turnkey
- Changed IOS prereq validation to be driven more by the bundleid, and then will hunt down a cert that matches the "best" provision that matches the bundleid. Then, uses the bundleid (with regex) to find a cert to install via Turnkey. Full wildcards can break it, so TeamID can be used to narrow down valid provisions

[CL 13886561 by Josh Adams in ue5-main branch]
2020-07-17 16:07:26 -04:00
Josh Adams
441b2d296d - Close the popup windows for IOS prerequisities if there were no errors
[CL 13874312 by Josh Adams in ue5-main branch]
2020-07-16 10:04:39 -04:00
Josh Adams
6ff7f16d09 - Update IOS prerequisite handling (now fully interactive, even if not super smooth, with AppleScript to show dialog/Terminal windows)
- Added support for smb:// paths on Mac (mounts a volume and uses /Volumes, C# doesn't understand UNC paths)
- Updated path to .p12, and the signing identity from Apple Developer to Apple Development (as seen in latest certs)
- Added a new SdkInfo state (InvalidPrerequisites)
- Made IOS prerequisites not actually do any fixing if -UpdateIfNeeded is not specified

[CL 13864007 by Josh Adams in ue5-main branch]
2020-07-15 12:20:35 -04:00