Commit Graph

74 Commits

Author SHA1 Message Date
Yuriy ODonnell
e5fea36fe7 unsync - Search for .unsyncmanifest as an alternative for .unsync/manifest.bin when downloading manifests from remote server
#jira none

[CL 33492631 by Yuriy ODonnell in ue5-main branch]
2024-05-07 15:57:57 -04:00
Yuriy ODonnell
926e87e4bd unsync - ListDirectory and DownloadFile helpers now take FHttpConnection
#jira none

[CL 33487910 by Yuriy ODonnell in ue5-main branch]
2024-05-07 13:10:40 -04:00
Yuriy ODonnell
ca60aac7fc unsync - Fix downloading uncompressed blocks, tweak direct file download connection limit and chunk size
#jira none

[CL 33418009 by Yuriy ODonnell in ue5-main branch]
2024-05-02 20:46:49 -04:00
yuriy odonnell
f7f7485244 unsync - Fix inconsistent serialized directory separators in the manifest
* Fixed syncing data sets that had manifests generated on non-windows platform

#rb Dmytro.Ivanov

[CL 33205064 by yuriy odonnell in ue5-main branch]
2024-04-24 13:32:27 -04:00
yuriy odonnell
351f099b51 unsync - Attempt to establish TLS connections by default and allow fallback unless explicitly connecting to HTTPS port or using authentication
[CL 33127126 by yuriy odonnell in ue5-main branch]
2024-04-19 22:35:37 -04:00
yuriy odonnell
4ba5f8d39d unsync - Automatically enable TLS when server port is standard https/443
[CL 33095223 by yuriy odonnell in ue5-main branch]
2024-04-18 22:55:33 -04:00
yuriy odonnell
e23bf0c738 unsync - Always save downloaded manifest file, even if the download source is not a filesystem
[CL 30109014 by yuriy odonnell in ue5-main branch]
2023-12-05 01:39:24 -05:00
yuriy odonnell
0db03a10eb unsync - Fix metadata directory creation during pack process
[CL 29940753 by yuriy odonnell in ue5-main branch]
2023-11-27 14:15:36 -05:00
yuriy odonnell
ac5f9c05ea unsync - Bump version to 1.0.63
[CL 29892152 by yuriy odonnell in ue5-main branch]
2023-11-22 13:17:03 -05:00
yuriy odonnell
257f18b5b6 unsync - Split OpenID config out of FAuthDesc into a separate structure and use auth desc to generate token cache key instead of just server address
* Avoids unnecessary login steps when using different proxy servers that share auth config

[CL 29877767 by yuriy odonnell in ue5-main branch]
2023-11-21 18:25:48 -05:00
yuriy odonnell
0df2b18e15 unsync - Unpack command now outputs revision control information into a dedicated file
[CL 29790214 by yuriy odonnell in ue5-main branch]
2023-11-16 16:15:34 -05:00
yuriy odonnell
ad2d344db6 unsync - Increase default memory budget for background sync tasks and add option to set it explicitly
[CL 29704425 by yuriy odonnell in ue5-main branch]
2023-11-13 20:57:57 -05:00
yuriy odonnell
cc9c8ca84c unsync - Move code related to building the target file into a separate .h/cpp
[CL 29701697 by yuriy odonnell in ue5-main branch]
2023-11-13 19:34:29 -05:00
yuriy odonnell
5b24957094 unsync - Fix TLS subject initialization in FHttpConnection
* Bump version to 1.0.62

[CL 29656656 by yuriy odonnell in ue5-main branch]
2023-11-10 17:02:12 -05:00
yuriy odonnell
8cccbce0ee unsync - Use a struct to pass common parameters to BuildTarget, etc.
[CL 29323939 by yuriy odonnell in ue5-main branch]
2023-11-01 13:32:55 -04:00
yuriy odonnell
182cb32a16 unsync - Move most of the manifest related utility code to a dedicated file
[CL 29307691 by yuriy odonnell in ue5-main branch]
2023-11-01 02:37:22 -04:00
yuriy odonnell
0d2c56199c unsync - Reuse existing block database during pack generation
[CL 29307078 by yuriy odonnell in ue5-main branch]
2023-11-01 02:15:27 -04:00
yuriy odonnell
4efaac4719 unsync - Tweak default logging level to output minimal information by default
* Add --silent flag to explicitly turn off all console logging except warnings and errors
* Output command line when starting logging to file

[CL 29289476 by yuriy odonnell in ue5-main branch]
2023-10-31 16:34:04 -04:00
yuriy odonnell
e82582b637 unsync - Groundwork for pack command
* This can be used to generate a compressed pack of a directory
* Supports using p4 have output to limit what is included in the pack

[CL 29223576 by yuriy odonnell in ue5-main branch]
2023-10-29 11:26:35 -04:00
yuriy odonnell
a548c620bc unsync - Use FComputeBlocksParams instead of loose parameters for CreateDirectoryManifest()
[CL 29222138 by yuriy odonnell in ue5-main branch]
2023-10-28 21:34:00 -04:00
yuriy odonnell
51f5f9f22b unsync - Refactor ComputeBlocks to take a struct instead of loose parameters
[CL 29222014 by yuriy odonnell in ue5-main branch]
2023-10-28 21:01:55 -04:00
yuriy odonnell
7fe8c5a1e7 unsync - Store read-only file status in the manifest and apply it after sync, tweak background task balancing and other minor optimizations
* Use explicit file attribute cache when possible, to avoid redundant filesystem ops in some cases
* Skip generating stable manifest signature during normal sync
* Fix few redundant memory allocations
* Add few log events around potentially expensive ops

[CL 29159251 by yuriy odonnell in ue5-main branch]
2023-10-26 20:34:50 -04:00
yuriy odonnell
9972ec2091 unsync - Several Linux compatibility fixes (more still required for full support)
* Implement SetFileMtime and SetFileReadOnly
* Only allow --flag command line syntax, not /flag

[CL 29058493 by yuriy odonnell in ue5-main branch]
2023-10-24 23:10:40 -04:00
yuriy odonnell
35ea899fc4 unsync - Add GetRelativePath() that handles UNC paths
* Use instead of std::filesystem::relative() when possible, to avoid filesystem operations (lexically_relative() does not handle the case where only one of the input paths is UNC)

[CL 29057958 by yuriy odonnell in ue5-main branch]
2023-10-24 22:50:01 -04:00
yuriy odonnell
149778ff91 unsync - Always use the specified proxy server for performing authentication instead of auto-selected closest, fix few other minor issues
* Use correct TLS subject after auto-selecting a proxy (previously the root proxy address was used)

[CL 29051065 by yuriy odonnell in ue5-main branch]
2023-10-24 15:07:43 -04:00