Commit Graph

677 Commits

Author SHA1 Message Date
carl bystrom
b320aa8a24 UGS: Fix HordeHandler compile error
[CL 30641818 by carl bystrom in ue5-main branch]
2024-01-16 15:07:56 -05:00
ben marsh
770ec01c08 Horde: Include P4VUtils and UGS with Horde server installer. All tools are now bundled prior to install rather than as a post-install step, so are correctly removed automatically by uninstall. Port setting is also persisted via registry key to avoid modification to installed config file.
[FYI] Josh.Engebretson

[CL 30375105 by ben marsh in ue5-main branch]
2023-12-18 09:20:51 -05:00
wojciech krywult
d248b59b9a UGS: Extended the "SDK Info" window to support adding arbitrary badge buttons.
Previously, this dialog only had fixed support for Install and Browse commands. While sufficient in most cases, on some platforms they lacked a bit of additional flexibility.

Now, we may add badges with custom names launching arbitrary programs with optional command-line parameters. For instance,

    ReleaseNotes=(Program="notepad.exe", Args="notes.txt")

Note that now actions are added in the order in which are defined in the .ini config.

The underlying implementation has been unified so Install, Browse and the new actions launch programs in exactly the same way, but the previous behavior and syntax for Install and Browse is still supported.

#rb David.Harvey, randy.jones
#rnx

[CL 30217662 by wojciech krywult in ue5-main branch]
2023-12-08 15:00:47 -05:00
ben marsh
5ade0840be UGS: Support for enumerating/downloading tools from Horde.
[FYI] randy.jones

[CL 30212804 by ben marsh in ue5-main branch]
2023-12-08 11:58:29 -05:00
ben marsh
f43f531495 UGS: Refactor tool manager to make it easier to add different sources.
* State of synced tools is now stored in a JSON file, includes uninstall commands to allow correctly removing tools that are no longer available.
* State is now read immediately on startup, without having to fetch data from Perforce before buttons are available.
* Fixed an issue where tools may not update until next change is detected in tools depot path.

[CL 30205586 by ben marsh in ue5-main branch]
2023-12-07 22:23:19 -05:00
ben marsh
da6a8f045e UGS: Merge UnrealGameSync and UnrealGameSyncLauncher.
Having one application for launching and running UGS makes for simpler and easier deployment, and allows easier code sharing between the tools. By default, debug builds of UGS will launch directly into the UI, while release builds will do the standard upgrade check. Passing -noupgradecheck will force it to launch directly, and passing -settings will open the update configuration UI.

[FYI] randy.jones

[CL 30190273 by ben marsh in ue5-main branch]
2023-12-07 15:01:34 -05:00
ben marsh
a554d394b2 UGS: Add support for updating UGS from Horde. Still defaults to using Perforce.
When using Horde,
[FYI] randy.jones

[CL 30184209 by ben marsh in ue5-main branch]
2023-12-07 12:45:26 -05:00
ben marsh
c1c26e32b3 UGS: Move MetadataServer into its own solution, since it uses a different (unsupported) NET Framework and is not actively being developed.
[FYI] Randy.Jones

[CL 30178123 by ben marsh in ue5-main branch]
2023-12-07 08:53:33 -05:00
ben marsh
312732682a UGS: Add an "Analyze" configuration to the UGS solution that builds all projects with static analysis enabled. Disable analyzers during regular builds to improve build times.
[FYI] randy.jones

[CL 30177111 by ben marsh in ue5-main branch]
2023-12-07 07:33:10 -05:00
ben marsh
2cd368267c UGS: Various static analysis fixes.
[CL 30177010 by ben marsh in ue5-main branch]
2023-12-07 07:26:28 -05:00
ben marsh
3cc0a417aa Horde: Add a build step to publish UGS binaries to Horde.
[CL 30126356 by ben marsh in ue5-main branch]
2023-12-05 13:29:07 -05:00
ben marsh
71f3b9c45c UGS: Move global settings for application updates into UnrealGameSyncShared.
[CL 30118323 by ben marsh in ue5-main branch]
2023-12-05 09:57:25 -05:00
ben marsh
1ce9b3b251 UGS: Add a URL handler to download a build from Horde using native storage primitives.
Format is: ugs://download?server=<SERVER-URL>&ns=<NAMESPACE>&refName=<REF-NAME>

[FYI] Randy.Jones

[CL 30088278 by ben marsh in ue5-main branch]
2023-12-04 13:07:30 -05:00
ben marsh
06b7a6949b UGS: Fix a few more static analysis warnings.
[CL 30080527 by ben marsh in ue5-main branch]
2023-12-04 10:00:16 -05:00
ben marsh
2b6b83d0ab UGS: Minor static analyzer fixes.
[FYI] Randy.Jones

[CL 30080038 by ben marsh in ue5-main branch]
2023-12-04 09:41:02 -05:00
randy jones
1d7a91568f UGS: Change the default UGS build config from DebugGame to Development. Only affects new UGS installs.
[CL 30060607 by randy jones in ue5-main branch]
2023-12-01 19:04:55 -05:00
ben marsh
635fb19ce3 UGS: Fix hang when trying to show a large number of files to remove. Performance adding items to a list control seems to degrade significantly with large numbers of items.
Also split removal up into separate requests for performance reasons.

[FYI] Randy.Jones

[CL 29887820 by ben marsh in ue5-main branch]
2023-11-22 09:43:31 -05:00
juan legaz
cdb03aa180 Added a button in UGS to force the update of the tools without needing to reboot
#rb randy.jones

[CL 29780796 by juan legaz in ue5-main branch]
2023-11-16 12:05:31 -05:00
juan legaz
3793da70dc Replaced Unreal.MachineName with System.Net.Dns.GetHostName() so that we don't need to add an extra dependency on EpicGames.Build
#rb Josh.Adams, randy.jones

[CL 29780684 by juan legaz in ue5-main branch]
2023-11-16 12:02:10 -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
randy jones
8929428349 UGS: Fix a bug where switching streams could sometimes cause "Finding last code change..." to fail.
[CL 28386741 by randy jones in ue5-main branch]
2023-10-02 14:20:06 -04:00
randy jones
8bbffcd867 UGS: If we clean the workspace, clear out the last synced editor archive in the state.json
[CL 28283455 by randy jones in ue5-main branch]
2023-09-27 14:16:05 -04:00
randy jones
6cd489f2ce [Backout] - CL28189999
[FYI] randy.jones
Original CL Desc
-----------------------------------------------------------------
UGS: Update PostBadgeStatus from .NET 4.5 to .NET 4.8

[CL 28210977 by randy jones in ue5-main branch]
2023-09-25 19:12:40 -04:00
randy jones
22efeb3743 UGS: Second attempt to speed up "finding last code change..."
Added a fallback in case the fast p4 query fails.

[CL 28190088 by randy jones in ue5-main branch]
2023-09-25 11:53:47 -04:00
randy jones
0f26818ffc UGS: Update PostBadgeStatus from .NET 4.5 to .NET 4.8
[CL 28190006 by randy jones in ue5-main branch]
2023-09-25 11:49:18 -04:00