will brown
3a3e27c70e
AutomationTool changes to support game projects overriding how to copy files during staging. InternalUtils.SafeCopyFile now takes an optional delegate to call when copying files. A CustomStageCopyHandler can be implemented to supply the copy operation. This is useful for transforming files during staging.
...
#rb Josh.Adams
[CL 30192577 by will brown in ue5-main branch]
2023-12-07 16:35:45 -05:00
josh adams
e94ead8457
- Replaced System.Environment.MachineName (and System.Net.Dns.GetHostName()) with Unreal.MachineName, since Environment.MachineName is capped at 15 characters, and not every machine name is that short. Uses System.Net.Dns.GetHostName() internally unless is throws an exception, then it falls back to Env.MachineName
...
#rb adam.kinge, joe.kirchoff
[CL 29712082 by josh adams in ue5-main branch]
2023-11-14 09:40:24 -05:00
Ben Marsh
860736cdbd
EpicGames.Core: Record the .NET activity stack on log events. Can be used to supplement logs with context-specific information allowing more granular information about errors and warnings.
...
[CL 26683383 by Ben Marsh in ue5-main branch]
2023-07-28 15:10:41 -04:00
Josh Adams
3b0498006e
- Added a couple functions to CommandUtils for archive to handle copying symlinks properly (with a mode enum to select how to handle symlinks: Follow, Retain, Ignore - with defaults based on platform to be similar to how existing code was setup)
...
- FindFilesAndSymlinks
- CopyFileOrSymlink
#rb joe.kirchoff
#preflight 6449556f1150e908d08bc3ba
[CL 25201543 by Josh Adams in ue5-main branch]
2023-04-26 12:54:36 -04:00
james singer
cd0f3fbd0e
Fix launching on remote Linux box from Windows editor
...
#jira UE-52298
#rb Brandon.Schaefer
#preflight 641e2a97803cb466e86db25c
[CL 24801794 by james singer in ue5-main branch]
2023-03-27 09:25:31 -04:00
Ben Marsh
056933d936
Allow setting executable bits for files in zip archives from Windows, and set the executable permissions on Mac/Linux builds of UGS-CLI by default.
...
#preflight none
[CL 24616578 by Ben Marsh in ue5-main branch]
2023-03-13 13:41:26 -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
Ben Marsh
e141cb6196
More UAT structured logging fixes.
...
#preflight 6408dee3b0544ef0b4bca696
[CL 24564590 by Ben Marsh in ue5-main branch]
2023-03-08 14:32:15 -05:00
Ben Marsh
235eb77726
Change to structured logging in other AutomationTool projects.
...
#preflight 6408c4478c0039bbf750e861
[CL 24562553 by Ben Marsh in ue5-main branch]
2023-03-08 12:43:35 -05:00
Ben Marsh
89d6613573
UAT: Refactor AutomationUtils and BuildGraph to use structured logging.
...
#preflight 6407c4c26e1dadfcdab25849
[CL 24553706 by Ben Marsh in ue5-main branch]
2023-03-07 21:23:47 -05:00
Ben Marsh
136d92f223
Fix order of arguments to unzip command on Mac.
...
#preflight none
[CL 24481713 by Ben Marsh in ue5-main branch]
2023-03-02 10:08:01 -05:00
janurbanech13
ae9fd95e3a
PR #10096 : Added new argument for UnzipTask to allow disabling Overwrite files (Contributed by janurbanech13)
...
#jira UE-176447
#preflight 63ff724a437ce3e7f3059498
[CL 24462934 by janurbanech13 in ue5-main branch]
2023-03-01 10:51:54 -05:00
Ben Marsh
f81c39088b
UAT: Fix exceptions not being thrown if copying a file fails.
...
#preflight none
#jira UE-178656
[CL 24461900 by Ben Marsh in ue5-main branch]
2023-03-01 09:50:43 -05:00
justin marcus
c9749999b5
Automation Tool
...
--Fix directory renames not failing properly
[REVIEW] [at]Mitchell.Fisher [at]Graeme.Thornton [at]Francis.Rouleau
#preflight https://horde.devtools.epicgames.com/job/63f7cdb59009dd70d74cf8bb
#localization none
[FYI] dan.mehler, todd.winchell
#preferred_allowlister graeme.thornton
[CL 24397827 by justin marcus in ue5-main branch]
2023-02-24 04:00:24 -05:00
ryan hummer
c56302e18d
Don't use /as for msi files
...
#rnx
#jira UE-172199
#rb Bryan.Johnson
#preflight 6390f3b31776b8c21c2e7ad2
[CL 23451051 by ryan hummer in ue5-main branch]
2022-12-08 13:51:04 -05:00
ryan hummer
0393f256fe
When signing with sha1 sign with /as to append certs and not override existing certs
...
#rnx
#jira UE-170728
#rb Bryan.Johnson
#preflight 638e47d15624e6da5e9669ec
[CL 23401817 by ryan hummer in ue5-main branch]
2022-12-05 18:56:41 -05:00
david harvey
463563cec9
remove reference to non-existent legacy platform.
...
#jira UE-163620
#rnx
#rb Benjamin.Rouveyrol
#preflight 632463aaea1c94f4c5b3bf2c
[CL 22052189 by david harvey in ue5-main branch]
2022-09-16 12:43:17 -04:00
david harvey
91c1b9068d
remove unnecessary platform references from automation code.
...
#jira UE-163620
#rnx
#rb Wojciech.Krywult, Eric.McDaniel
#preflight 6321fffcbc40358fa2fb22e2
[CL 22014866 by david harvey in ue5-main branch]
2022-09-14 16:09:47 -04:00
justin marcus
e489d8065b
Unzip optimization for archives with lots of small files
...
- Remove redunant exists check when creating directories. Directory.CreateDirectory already does that.
- Use streams directly instead of calling ZipFileExtensions.ExtractToFile.
[REVIEW] [at]Mitchell.Fisher [at]Graeme.Thornton
#preflight https://horde.devtools.epicgames.com/job/62bf34b2b024a2608c89b606
#ROBOMERGE-OWNER: justin.marcus
#ROBOMERGE-AUTHOR: justin.marcus
#ROBOMERGE-SOURCE: CL 20919800 via CL 20919810 via CL 20919999 via CL 20920500
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)
[CL 20923415 by justin marcus in ue5-main branch]
2022-07-01 19:42:38 -04:00
Ryan Hummer
cc00a96d2e
Update MacPlatform.ProcessArchivedProject to use safer file IO operations
...
Added a SafeRenameDirectory similar to SafeReaname file that uses Directory.Move
#rnx
#jira none
#rb none
#preflight 62bf48388d5e6787591b3f8e
[CL 20922943 by Ryan Hummer in ue5-main branch]
2022-07-01 18:52:43 -04:00
Ryan Hummer
21fd84fa16
Changing the order of sha1 timestamp servers
...
comodoca isn't preforming very well resulting in over an hour to sign editor files, changing the order results in ~10 minute or less sign time
#rnx
#jira UE-144557
#preflight 62b5b4157c36e1309750a808
#rb none
[CL 20809284 by Ryan Hummer in ue5-main branch]
2022-06-24 10:50:52 -04:00
Ben Marsh
64b6cb04f1
BuildGraph: Fix UDN documentation output.
...
#preflight none
[CL 20774471 by Ben Marsh in ue5-main branch]
2022-06-22 10:42:19 -04:00
Ryan Durand
d97a71fd5d
Add the ability for engine plugins to retry copying stuff.
...
#rnx
#jira UE-155718
#rb ryan.hummer, bryan.johnson
#preflight
[CL 20541909 by Ryan Durand in ue5-main branch]
2022-06-07 14:12:58 -04:00
mitchell fisher
83dcb95bd5
[FORT-474170] Add support for extracting zip files with hierarchical contents (ignores zip directory entries and otherwise conditionally creates parent dirs as needed)
...
#preflight 6285738d614041edb7af2929
#ROBOMERGE-AUTHOR: mitchell.fisher
#ROBOMERGE-SOURCE: CL 20288288 via CL 20288867 via CL 20288871 via CL 20288878
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)
[CL 20304859 by mitchell fisher in ue5-main branch]
2022-05-20 18:48:46 -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