Commit Graph

522 Commits

Author SHA1 Message Date
Ben Marsh ac024dfb04 UGS: Duplicate shared projects which UGS depends on, including files from their original locations, so we can upgrade shared projects to NET 6 without requiring all users to have it installed. (In-engine projects all use NET SDK distributed with the engine, whereas UGS does not).
#preflight none
#fyi Joe.Kirchoff, Joakim.Lindqvist

[CL 22272964 by Ben Marsh in ue5-main branch]
2022-09-30 12:29:12 -04:00
Ben Marsh 522c445abf UGS: Support for manually refreshing list of changes, by pressing Ctrl+R or F5.
#preflight none

[CL 22224494 by Ben Marsh in ue5-main branch]
2022-09-28 12:11:13 -04:00
Edstub207 1e997f7ce2 UGS: Add random variance to background refresh times, to avoid DDOSing Perforce server. Also increase refresh times to 5m (when active) or 30m (when running the background). (#9584)
#preflight none
#jira UE-164680

[CL 22221917 by Edstub207 in ue5-main branch]
2022-09-28 10:32:49 -04:00
Ben Marsh d3f3ac7186 UGS: Disable debug/trace level output for syncing.
#preflight none

[CL 22221778 by Ben Marsh in ue5-main branch]
2022-09-28 10:25:22 -04:00
Edstub207 44b67593c9 UGS: Improve performance of ranged changelist queries. (PR #9584)
* Querying for changelists using @n,m syntax allows the Perforce server to execute queries using an optimized codepath. Attempt to query for code changes using this syntax by default (with an arbitrary lower bound for the range), and fallback to the legacy query syntax if we don't find any results.
* Use the -e argument when executing p4 changes commands to specify a minimum changelist number. This query syntax is more efficient than specifying a wildcard with revision range.
* Use PerforceUtils.CodeExtensions as the list of code extensions, to unify with UAT/Horde.

#preflight none
#jira UE-164680, UE-160465

[CL 22221689 by Edstub207 in ue5-main branch]
2022-09-28 10:18:31 -04:00
Ben Marsh a29efbdaa5 UGS: Speculative fix for out-of-bounds access reported in Sentry.
#preflight none

[CL 22073681 by Ben Marsh in ue5-main branch]
2022-09-19 10:23:32 -04:00
jonathan bard fdd30e0f6f UGS : added the changelist context menu to current changelist
#rb ben.marsh
#jira none
#preflight none

[CL 21810398 by jonathan bard in ue5-main branch]
2022-09-06 05:50:49 -04:00
Mike Beach 1bc4d2895b Fix to 'changes' cmd -- clamping linecount to address out-of-bounds exception.
#rb Ben.Marsh
#fyi Ben.Marsh
#preflight trivial

[CL 21749684 by Mike Beach in ue5-main branch]
2022-09-01 18:34:46 -04:00
Ben Marsh befe73e25f UGS: Fix some build issues after recent changes to EpicGames.Perforce.
#preflight none

[CL 21719842 by Ben Marsh in ue5-main branch]
2022-08-31 09:25:44 -04:00
Ben Marsh cc600b6029 UGS: Fix clean workspace task not correctly identifying writable files.
#preflight none

[CL 21719629 by Ben Marsh in ue5-main branch]
2022-08-31 09:10:10 -04:00
Ben Marsh e5bdf811e5 UGS: Add support for syncing binaries from CLI (with the "-binaries" argument).
#preflight none

[CL 21566394 by Ben Marsh in ue5-main branch]
2022-08-25 12:00:10 -04:00
Joe Kirchoff c800810383 SyncBinariesFromUGS: Retrieve correct compatible changelist using the existing P4Env
Move list of extensions treated as code to common location

#rnx
#rb ben.marsh
#preflight 63052cb8a45b007ea2836cc7

[CL 21518406 by Joe Kirchoff in ue5-main branch]
2022-08-23 16:08:29 -04:00
Ben Marsh 8636c6db51 UGS: Fix crash opening UGS without any project.
#fyi Joakim.Lindqvist
#preflight none

[CL 21072742 by Ben Marsh in ue5-main branch]
2022-07-13 12:11:40 -04:00
Ben Marsh 334567807c UGS: Add a better error for missing a file for post-sync steps.
#preflight none

[CL 21070935 by Ben Marsh in ue5-main branch]
2022-07-13 10:39:41 -04:00
Ben Marsh ff734b26c6 UGS: Add a setting to force projects to look for the shared editor receipt rather than a project-specific one.
Also include more information in the "you need to build the editor" dialog explaining why UGS thinks it's out of date.

#preflight none
#jira UE-155608

[CL 21070606 by Ben Marsh in ue5-main branch]
2022-07-13 10:07:27 -04:00
Ben Marsh a73341ca1d UGS: Install the ugs:// protocol handler by default for the current user, so people can use Horde integration out-of-the-box. Previous setting reworded to apply to all users.
#preflight none

[CL 21070231 by Ben Marsh in ue5-main branch]
2022-07-13 09:30:54 -04:00
Ben Marsh e8bab1b2e3 UGS: Fix missing notification when switching streams with open files.
#jira UE-158721
#preflight none

[CL 21058313 by Ben Marsh in ue5-main branch]
2022-07-12 13:01:35 -04:00
Ben Marsh 52b72de687 UGS: Fix some null reference warnings.
#preflight none

[CL 21058144 by Ben Marsh in ue5-main branch]
2022-07-12 12:50:33 -04:00
Joe Kirchoff 0b5443bda1 UnrealGameSync: Also support PrimaryProjectName.txt when finding the name of a project
#rnx
#rb trivial
#preflight 62c8a4d9f671e8d2fae2bc89

[CL 21015888 by Joe Kirchoff in ue5-main branch]
2022-07-08 17:46:11 -04:00
Joakim Lindqvist c5e34c8655 UnrealGameSync - Added login command which can be used to make sure we have a offline token available to use by UGS or other tools. This will spawn a browser to complete the interactive login so while its useable from a command line you do need to have access to a interactive session to complete the login.
#preflight none

[CL 20911870 by Joakim Lindqvist in ue5-main branch]
2022-07-01 04:39:56 -04:00
Joakim Lindqvist 3ccacbb4ea OidcToken - Reworked configuration so that its built into our shared library, and allows for configuration in more traditional ways with Engine, Game and Restricted folders being supported.
Ugs - Updated ugs to read the configuration via the shared library, thus removing the support to read it from UnrealGameSync.ini. Added a ini setting to allow which providers to use though, so that we can have more providers listed in the configuration then UGS will want to care about but also to allow us to control opt in of this feature per project.

#preflight none

[CL 20911818 by Joakim Lindqvist in ue5-main branch]
2022-07-01 04:36:09 -04:00
Ben Marsh 298b394164 UGS: Fix static analysis warnings.
#preflight none

[CL 20779281 by Ben Marsh in ue5-main branch]
2022-06-22 15:12:57 -04:00
Ben Marsh f8929503e5 Missing solution file.
#preflight none
#fyi Joakim.Lindqvist

[CL 20760299 by Ben Marsh in ue5-main branch]
2022-06-21 13:06:54 -04:00
Joakim Lindqvist 74584eb443 UnrealGameSync - Started using EpicGames.OIDC for token management (deleting the old duplicated code we had in UGS). This is not enabled by default unless you have a ini that configured which IdP to use.
#rb none
#preflight none

[CL 20755448 by Joakim Lindqvist in ue5-main branch]
2022-06-21 06:54:46 -04:00
Ben Marsh cfc95813f7 UGS: Reformat to standard C# style conventions.
#preflight none

[CL 20741662 by Ben Marsh in ue5-main branch]
2022-06-20 14:31:50 -04:00