Commit Graph

7 Commits

Author SHA1 Message Date
Yuriy ODonnell
0acabe5490 unsync - Added a mechanism for unified proxy server and source directory specification to simply sync command line
Example command line `unsync.exe sync https://foo.bar/directory/path <dest>` is equivalent to `unsync.exe sync --proxy https://foo.bar directory/path <dest>`

#jira none

[CL 33569778 by Yuriy ODonnell in ue5-main branch]
2024-05-10 00:54:55 -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
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
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
Yuriy ODonnell
29db42b0dd unsync - Add query command, which can be used to get information from the server (such as list mirrors)
Also implement header-only HTTP response handling.

#rb Martin.Ridgers
#preflight skip

[CL 19196474 by Yuriy ODonnell in ue5-main branch]
2022-03-01 05:53:29 -05:00
Yuriy ODonnell
b5709042fb Import Unsync into the main source tree
This is a binary patching and incremental downloading tool, similar to rsync or zsync. It aims to improve the large binary download processes that previously were served by robocopy (i.e. full packages produced by the build farm).

The original code can be found in `//depot/usr/yuriy.odonnell/unsync`. This commit is a branch from the original location to preserve history.

While the codebase is designed to be self-contained and does not depend on any engine libraries, it mostly follows the UE coding guidelines and can be built with UBT.

Currently only Windows is supported, however the tool is expected to also work on Mac and Linux in the future.

#rb Martin.Ridgers
#preflight skip

[CL 18993571 by Yuriy ODonnell in ue5-main branch]
2022-02-15 04:30:27 -05:00