Commit Graph

22 Commits

Author SHA1 Message Date
Ben Marsh
e16e41aa10 Horde: Include the hash of the target node in refs, allowing TreeNodeRef objects to be constructed directly.
#preflight none

[CL 23317101 by Ben Marsh in ue5-main branch]
2022-11-29 16:00:26 -05:00
josh adams
c73c7c2c1d - Added missing param comment for a new function in EpicGames.Core
#preflight skip
#rb trivial

[CL 23049850 by josh adams in ue5-main branch]
2022-11-09 04:11:23 -05:00
josh adams
f7bf13d747 - Added CreateObjectList to StringUtils, this is helpful for some refactoring in other code, but it could be a useful utility function to have
#rb tim.smith
#preflight 636a798cdc30a4ce96a496e7

[CL 23039093 by josh adams in ue5-main branch]
2022-11-08 16:01:44 -05:00
Ben Marsh
075162706e EpicGames.Core: Fix static analysis warnings.
#preflight 633b4ae16b10157eac6f1f15

[CL 22314153 by Ben Marsh in ue5-main branch]
2022-10-03 17:01:13 -04:00
Ben Marsh
1954a2c519 Horde: Updated blob store API.
* BlobIds now have a fixed structure, consisting of a server id (a list of identifiers separated by colons, indicating topology of the hierarchy) and content id (a globally unique identifier, which may contain path elements). Expectation is that any node in the storage hierarchy can retrieve a blob by using the server id to navigate the hierarchy until reaching a host that can provide the blob.
* Refs are now explicitly mappings from names to blob ids, and can be queried separately to the blob content. Overloads for transferring blob content inline are defined, for stores that choose to store the payload inline as an optimization.
* Ref queries now specify a time parameter, indicating required coherency of any cached values that may be returned without forwarding the request to the root storage node.
* Default implementation of the blob store now uses MongoDB to store refs (ie. name -> blob id mappings).
* Updated existing use cases to use new API and added tests.

#preflight none

[CL 21625328 by Ben Marsh in ue5-main branch]
2022-08-27 16:18:15 -04:00
Ben Marsh
80c440a503 Fix Xmldoc warnings in EpicGames.Core prior to enabling tests in CI.
#preflight none

[CL 20777139 by Ben Marsh in ue5-main branch]
2022-06-22 13:23:01 -04:00
paul chipchase
d0d9d43ecd Add a string utility String.StripQuoteArgument to provide an easy way to reverse String.QuoteArgument
#rb Sebastian.Nordgren
#rnx
#preflight 62985fe89907cbadbaa25855

[CL 20466612 by paul chipchase in ue5-main branch]
2022-06-02 04:09:45 -04:00
Ben Marsh
07450d9b73 Horde: Add an option to create a thread in the triage channel for every newly uncovered issue. The thread will @mention suspects for the issue up to a defined number of users.
#preflight none

[CL 19946375 by Ben Marsh in ue5-main branch]
2022-04-27 16:29:08 -04:00
Ben Marsh
cda1b66bba Reformat EpicGames.Core according to standard coding conventions.
#preflight 623cd2e84368f558e30b4a9e

[CL 19502309 by Ben Marsh in ue5-main branch]
2022-03-24 16:35:00 -04:00
Ben Marsh
5bf92bfe33 Horde: Hardening for storage bundles.
- CommitService now writes bundles rather than tree pack objects.
- Legacy TreePack classes removed.
- Added commands for creating, extracting, diffing bundles to Horde Agent and Horde Build (implemented in both places using shared code, in order to account for convenience in configuring the matching storage backend).
- Some bug fixes.

#preflight none

[CL 19176653 by Ben Marsh in ue5-main branch]
2022-02-28 12:55:47 -05:00
Tim Smith
cd07867bf6 1) Adding new collection of UE types into C#
2) Enhancements to StringView and a few other helper classes
3) New UE style ignore case comparison
4) Moved shared UHT definitions into a common C# file.

#rb jonathan.adamczewski
#rnx
#preflight 620e3cdc8b6428e701a24666

[CL 19033446 by Tim Smith in ue5-main branch]
2022-02-17 07:40:56 -05:00
Ben Marsh
4974dfe934 UGS: Add a command for listing submitted changes ("ugs changes -count=123 -lines=3")
#preflight none

[CL 18559173 by Ben Marsh in ue5-main branch]
2022-01-10 09:33:30 -05:00
Ben Marsh
9d15d0651c [CS] Add utility methods for writing word-wrapped text to the console.
#preflight none

[CL 18503877 by Ben Marsh in ue5-main branch]
2022-01-03 17:00:37 -05:00
Ben Marsh
35a6212c01 Horde: Strip VT100 escape codes from log output.
#preflight none

[CL 18476242 by Ben Marsh in ue5-main branch]
2021-12-16 11:24:47 -05:00
Ben Marsh
a855dca4ea Rename ReadOnlyUtf8String to Utf8String. Strings are always immutable in C#.
[CL 16807051 by Ben Marsh in ue5-main branch]
2021-07-02 12:16:55 -04:00
Ben Marsh
72cc30dec1 Missing file for CB serialization.
[CL 16708503 by Ben Marsh in ue5-main branch]
2021-06-17 14:41:07 -04:00
David Harvey
4d886c0b64 adding ParseBytesString / TryParseBytesString for converting "1.2KB" into 1229 etc.
#rb eric.mcdaniel
#jira none
#rnx

[CL 16415637 by David Harvey in ue5-main branch]
2021-05-21 04:04:11 -04:00
Ben Marsh
c194726e2c Allow using different phrasing when joining lists of strings.
[CL 16152913 by Ben Marsh in ue5-main branch]
2021-04-28 23:01:58 -04:00
Joe Kirchoff
92439f3549 UnrealGameSync: Check available free space before syncing from perforce
Add helper function to format bytes as a human readable string.

#jira UE-105277
#rb Ben.Marsh

[CL 15959785 by Joe Kirchoff in ue5-main branch]
2021-04-08 16:20:00 -04:00
Ben Marsh
c7cf1950c5 Add a utility method for formatting a ReadOnlyMemory<byte> as a hex string.
#rb none
#rnx

[CL 15358209 by Ben Marsh in ue5-main branch]
2021-02-08 14:09:52 -04:00
Ben Marsh
3275355fdf Merging functionality from Horde fork of EpicGames.Core, and first pass on fixing up nullable annotations.
#rb none
#rnx

[CL 14967557 by Ben Marsh in ue5-main branch]
2020-12-28 14:34:13 -04:00
Ben Marsh
6f927647b1 Changing C# code over to using EpicGames.Core over DotNETCommon.
#rb none
#rnx

[CL 14962096 by Ben Marsh in ue5-main branch]
2020-12-21 23:07:37 -04:00