Commit Graph

4604 Commits

Author SHA1 Message Date
ben marsh
5468687551 Horde: Add Meziantou.Analyzer to Horde.Agent and Horde.Server. Many rules currently disabled; will re-enable and fix up some in subsequent commits.
[CL 31186356 by ben marsh in ue5-main branch]
2024-02-05 15:12:50 -05:00
joakim lindqvist
d3ec16574a Corrected documentation on nuget license check task
[CL 31171484 by joakim lindqvist in ue5-main branch]
2024-02-05 09:07:39 -05:00
ben marsh
d95988bb31 BuildGraph: Log the tool id when deploying to Horde.
[CL 31159503 by ben marsh in ue5-main branch]
2024-02-03 12:59:37 -05:00
matt breindel
70abdd189d Adding support to the BuildGraph system to allow properties first declared inside a macro to be flagged as CreateInParentScope causing them to be created in the scope containing the macro invocation. This allows macros to be used to define collections of properties. This pattern is now used in EditorPerf.xml inside the SetupPerfProject macro.
#rb [at]ben.marsh [at]ryan.hummer [at]bryan.johnson
#jira UE-205820

[CL 31149655 by matt breindel in ue5-main branch]
2024-02-02 19:00:11 -05:00
joe kirchoff
f6a2b5e35e Fix some dotnet warnings
#rnx

[CL 31114076 by joe kirchoff in ue5-main branch]
2024-02-01 20:01:12 -05:00
leon huang
f25546bc2b Localization:
Localize UAT command now supports taking multiple directories to include and exclude. The -IncludePluginsDirectory and -ExcludePluginsDirectory now both take multiple relative paths separated by the ";" character.
- Examples uses: RunUAT.bat Localize -IncludePluginsDirectory="Plugins/A;Plugins/B" -ExcludePluginsDirectory="Plugins/C;Plugins/D;Plugins/E"

#jira: FORT-697910
#rb: trivial
#test Locally ran the Localize command with multiple directories for -IncludePluginsDirectory and -ExcludePluginsDirectory. Set breakoints to verify that the directories were being processed and the plugisn were indeed being added to the appropriate lists.
[FYI] Jamie.Dale

[CL 31076947 by leon huang in ue5-main branch]
2024-01-31 20:17:05 -05:00
leon huang
09e2f44d45 Localization:
Fix for Auto localization generating absolute file paths instead of relative files paths causing downloads/uploads to fail for localization targets.

#jira: FORT-697929
#rb: grant.medine

[CL 31073545 by leon huang in ue5-main branch]
2024-01-31 19:09:34 -05:00
zousar shaker
9f1b48b917 Change naming of .projectstore to ue.projectstore to avoid having hidden by default status on Mac/Linux.
#rb dan.engelbrecht

[CL 31054932 by zousar shaker in ue5-main branch]
2024-01-31 13:01:29 -05:00
chris babcock
9ece3c0a0c Add x86_64 architecture to Android installed build
#jira UE-198183
#android
[REVIEW] [at]Jack.Porter
#rb Jack.Porter

[CL 31022164 by chris babcock in ue5-main branch]
2024-01-30 16:50:06 -05:00
zousar shaker
b6455b9efb Project Packaging Settings - Ensure that if bUseIoStore is False and bUseZenStore is True, that bUseZenStore is treated as if it was False, and emit a warning explaining that this combination is unsupported.
#rb dan.engelbrecht

[CL 31015355 by zousar shaker in ue5-main branch]
2024-01-30 14:11:31 -05:00
joshua shlemmer
69cf6ad6b3 Retry of requests for LibToolTelemetry
#rb Ben.Marsh, Eric.Knapik, gary.yuan

[CL 31012523 by joshua shlemmer in ue5-main branch]
2024-01-30 13:05:45 -05:00
ben marsh
d7e9748b6a Horde: Fix broken links in docs.
[CL 30985485 by ben marsh in ue5-main branch]
2024-01-29 22:21:53 -05:00
ben marsh
4ddd631dd0 Missing copyright notice.
[CL 30984582 by ben marsh in ue5-main branch]
2024-01-29 21:43:42 -05:00
ben marsh
5a8f7cff4e BuildGraph: Add a task to check links within a set of markdown files.
#jira UE-205187

[CL 30984048 by ben marsh in ue5-main branch]
2024-01-29 21:20:32 -05:00
brendan lienau
d3db64e6ba [Gauntlet] Adds new LaunchSession to LowLevelTests flow using new TargetDevice functions
This new flow is disabled by default and requires -ExperimentalLaunchFlow to be present to run

#rb Chris.Constantinescu
#jira UE-201402

[CL 30973702 by brendan lienau in ue5-main branch]
2024-01-29 13:14:27 -05:00
ben marsh
a7a7d64386 Build fix.
[CL 30960714 by ben marsh in ue5-main branch]
2024-01-28 16:36:08 -05:00
ben marsh
ab80ea0a41 Horde: Add separate types for blob handles with a hash (IBlobRef) and blob handles with a hash and serialization options (IBlobRef<T>). Storing serialization options inside IBlobRef<T> implementations removes a lot of boilerplate code to pass options objects around, and ensures consistency when navigating object hierarchies.
[CL 30957772 by ben marsh in ue5-main branch]
2024-01-27 19:24:46 -05:00
joe kirchoff
68c06bfbcc UnrealBuildTool: Remove VS2019 support
#jira UE-190039

[CL 30943783 by joe kirchoff in ue5-main branch]
2024-01-26 17:21:00 -05:00
brendan lienau
028130e2dc [Gauntlet] Adds new UnrealSession.LaunchSession flow using new TargetDevice functions
This new flow is disabled by default and requires -ExperimentalLaunchFlow to be present to run

Changes:
- Current implementation of LaunchSession has been moved to Legacy_LaunchSession(). Adding further references should be avoided.
- Exception guarding happens in several steps, improving clarity on which step failures occur in LaunchSession
- Tests that run several iterations will now clean the device artifacts between each run without needing a full re-install of the build
- UnrealDeviceReservation can now choose to release only problem devices
- When a problem device is encountered during LaunchSession, only the problem device(s) will be released to the pool instead of all devices
- Overall improvements to logging

#rb Ryan.Bazinet, Marcelo.Gomes
#jira UE-201402

[CL 30931650 by brendan lienau in ue5-main branch]
2024-01-26 13:22:42 -05:00
rafa lecina
881b698a18 Scape '(' and ')' in the session name when launching on Android.
Otherwise it will fail to launch from project launcher since session name is like `DeviceName (SerialNumber)` with the error `/system/bin/sh: syntax error: unexpected '('`

[REVIEW] [at]Chris.Babcok

#rb Chris.Babcock

[CL 30922981 by rafa lecina in ue5-main branch]
2024-01-26 09:49:05 -05:00
jerome delattre
0f828e1340 Override Horde testdata filename through ArtifactName option
#jira UE-204256
#rnx

#rb rob.huyett, sean.sweeney, sebastian.lewicki

[CL 30899891 by jerome delattre in ue5-main branch]
2024-01-25 16:09:30 -05:00
leon huang
4ca1807120 Localization:
- Allow Localize UAT command to skip plugins that either have a .uplugin that isn't updated with a localization config generation policy or a config generation policy of Never.
- Added a log to inform user if no localization batches matching the user input criteria were found and early out of the build command.
- Cleaned up the logging for cleaning up auto-generated config files and directories. Now the logs print only when there actually were auto-generated logs and directories.
- All plugins that are a part of the user provided include list that does not have any localization targets or should not be gathered are now removed from the localization list and those plugins are not enabled.
#rb: Jamie.Dale
#jira: FORT-697911

[CL 30837248 by leon huang in ue5-main branch]
2024-01-24 04:20:16 -05:00
lorry li
0980390e94 Migrate retry system total timeout for http request, by adding total timeout feature in http request;
Deprecate HttpTimeout config, use HttpActivityTimeout or HttpTotalTimeout instead;
Deprecate HttpSendTimeout config, only use HttpActivityTimeout;
Make HttpActivityTimeout work on all platforms, not only CurlHttp;
Added corresponding http tests;
Now because timeout migrated, enable new flow by default in retry system to have non-game thread support.

#jira UE-197485, UE-202201
[REVIEW] [at]michael.atchison [at]michael.kirzinger [at]rafa.lecina
#rb michael.atchison, Michael.Kirzinger
#tests Tested through WebTests project on all platforms, also tried the game on PC.

[CL 30817277 by lorry li in ue5-main branch]
2024-01-23 16:08:08 -05:00
ben marsh
eed8d5d68f Allow specifying the content description attribute for signed files, and set appropriate names for the Horde MSIs. These descriptions are displayed in UAC prompts, and default to random numbers if not specified explicitly.
[CL 30814679 by ben marsh in ue5-main branch]
2024-01-23 15:01:32 -05:00
chris varnsverry
f12ea6b8eb - Fix UAT not suggesting -skipcook as an option when Stage is requested and no cook param is provided.
- Note Cook is true when -skipcook is set on command line so the condition itself is valid it just was missing -skipcook in the exception message

[REVIEW] [at]Alejandro.Aguilar [at]Rob.Cannaday

#rb alejandro.aguilar

[CL 30806276 by chris varnsverry in ue5-main branch]
2024-01-23 11:08:05 -05:00