Commit Graph

24 Commits

Author SHA1 Message Date
Yuriy ODonnell
e9d32e1c81 unsync - Fix --full-diff option, bump version to 1.0.49
#rb none
#preflight skip

[CL 24385847 by Yuriy ODonnell in ue5-main branch]
2023-02-23 14:14:52 -05:00
Yuriy ODonnell
f89d532f08 unsync - Workaround for ICE when using MSVC toolchain 14.34.31942
#rb none (trivial)
#preflight skip

[CL 24351444 by Yuriy ODonnell in ue5-main branch]
2023-02-21 17:29:00 -05:00
Yuriy ODonnell
1702de7c3f unsync - Add available disk check before starting sync, add anonymized machine name to telemetry
#rb none
#preflight none

[CL 22490002 by Yuriy ODonnell in ue5-main branch]
2022-10-12 20:45:24 -04:00
Yuriy ODonnell
2cfe8f70ad unsync - Resolve letter-based source paths to universal form when syncing
#rb Robert.Millar
#preflight skip

[CL 21861981 by Yuriy ODonnell in ue5-main branch]
2022-09-07 16:50:30 -04:00
Robert Millar
0b02de6b01 Bump unsync.exe version
#fyi yuriy.odonnell
#jira none
#preflight none

[CL 21488301 by Robert Millar in ue5-main branch]
2022-08-22 14:34:29 -04:00
Robert Millar
73fc9b9a36 Add --include argument to sync subcommand to limit the files synced
Add --files flag to info subcommand to list files in manifests

#jira none
#rb yuriy.odonnell
#preflight there are no horde jobs that build unsync

[CL 21487301 by Robert Millar in ue5-main branch]
2022-08-22 14:00:37 -04:00
Yuriy ODonnell
1ef1ccee59 unsync - Add a way to exclude certain files/directories from cleanup, bump version to 1.0.45
* Use --cleanup-exclude [comma,separated,words] option to skip deleting specific files/directories after sync (such as saved logs, configs, etc.)
* Use UNSYNC_CLEANUP_EXCLUDE environment variable to provide extra exclusion rules

#rb none
#preflight skip

[CL 21226431 by Yuriy ODonnell in ue5-main branch]
2022-07-22 14:45:34 -04:00
Yuriy ODonnell
0bed95e711 unsync - Use TLS during handshake if running with --tls option, skip all certificate validation with --insecure option
#preflight skip

[CL 21066879 by Yuriy ODonnell in ue5-main branch]
2022-07-12 22:10:46 -04:00
Yuriy ODonnell
10b0e773a3 unsync - Fix crash when initial proxy handshake fails
Also use plain (non-TLS) connection for handshake by default

#preflight none
#rb none

[CL 21039956 by Yuriy ODonnell in ue5-main branch]
2022-07-11 10:31:33 -04:00
Yuriy ODonnell
72d8aecd98 unsync - Add client version string to telemetry data
#preflight skip
#rb none

[CL 20998114 by Yuriy ODonnell in ue5-main branch]
2022-07-07 22:34:43 -04:00
Yuriy ODonnell
b59ee6402f unsync - Add --overlay option to sync command to copy files from multiple sources into a single merged target, bump version to 1.0.43
#preflight skip
#rb none

[CL 20997805 by Yuriy ODonnell in ue5-main branch]
2022-07-07 22:20:00 -04:00
Yuriy ODonnell
15ae7848a8 unsync - Send basic sync stat telemetry to the server (if server supports it)
#preflight skip

[CL 20938659 by Yuriy ODonnell in ue5-main branch]
2022-07-04 23:38:13 -04:00
Yuriy ODonnell
175fc7e33c unsync - Fix compile errors on Linux
#rb none
#preflight skip

[CL 20924894 by Yuriy ODonnell in ue5-main branch]
2022-07-01 22:14:07 -04:00
Yuriy ODonnell
81ef9ed72e unsync - Handle local file name case differences during sync, bump version to 1.0.42
When running on case-insensitive file systems, local files and directories will be renamed to match the case specified in remote directory manifest.

#rb Dave.Barrett
#preflight skip

[CL 20642233 by Yuriy ODonnell in ue5-main branch]
2022-06-14 01:41:56 -04:00
Yuriy ODonnell
22e1d59a0f sync - Change query mirrors command output to use integer milliseconds formatting for ping times, bump version to 1.0.41
#rb none
#preflight skip

[CL 20407486 by Yuriy ODonnell in ue5-main branch]
2022-05-28 10:41:29 -04:00
Yuriy ODonnell
da7c737ec5 unsync - Enable quick sync mode by default, reduce log verbosity, fix file attribute cache lookup, bump version to 1.0.40
#rb none
#preflight skip

[CL 20351881 by Yuriy ODonnell in ue5-main branch]
2022-05-24 13:55:09 -04:00
Yuriy ODonnell
d61913c81a unsync - Suspend and resume sync task dispatcher using condition variable when scheduling a new task is not possible instead of using a poll loop
Also fix the background task memory usage estimation.

#rb Rex.Hill
#preflight skip

[CL 20298829 by Yuriy ODonnell in ue5-main branch]
2022-05-20 13:55:32 -04:00
Yuriy ODonnell
f1e8eddb1f unsync - Check directory manifest entry block size and mtime fields and report errors if invalid entries are found
#preflight skip

[CL 20288973 by Yuriy ODonnell in ue5-main branch]
2022-05-19 19:18:28 -04:00
Yuriy ODonnell
738c0f421c unsync - Handle long paths on Windows, bump version to 1.0.39
#rb none
#preflight skip

[CL 19333815 by Yuriy ODonnell in ue5-main branch]
2022-03-10 03:23:41 -05:00
Yuriy ODonnell
fa2684b9d7 unsync - Remove std::filesystem namespace alias and add wrappers for various filesystem functions
#rb none
#preflight skip

[CL 19301694 by Yuriy ODonnell in ue5-main branch]
2022-03-08 08:17:08 -05:00
Yuriy ODonnell
53695fbd49 unsync - Fix compile errors on Mac
#rb Martin.Ridgers
#preflight skip

[CL 19070501 by Yuriy ODonnell in ue5-main branch]
2022-02-22 05:37:15 -05:00
Yuriy ODonnell
bae920b60e unsync - Fix build errors on Linux, remove the bundled blake3 version (use existing UE package)
#rb Martin.Ridgers
#preflight skip

[CL 19069588 by Yuriy ODonnell in ue5-main branch]
2022-02-22 02:09:06 -05:00
Yuriy ODonnell
a25c902605 unsync - Rename weak hash ban list variable
#rb none (trivial)
#preflight skip

[CL 18994082 by Yuriy ODonnell in ue5-main branch]
2022-02-15 06:14:58 -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