Commit Graph

48 Commits

Author SHA1 Message Date
Yuriy ODonnell
ad086b7e64 unsync - Remove ConcRT/PPL, use custom scheduler by default
#jira none

[CL 33595690 by Yuriy ODonnell in ue5-main branch]
2024-05-11 20:20:25 -04:00
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
a63405040e unsync - Add a basic custom thread scheduler for Mac/Linux
#jira none

[CL 33556179 by Yuriy ODonnell in ue5-main branch]
2024-05-09 15:37:00 -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
3bfc10a805 unsync - Add option to explicitly specify the auth token storage file for sync command
[CL 29998795 by yuriy odonnell in ue5-main branch]
2023-11-29 16:19:56 -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
c52aa8a73c unsync - Implement basic incremental sync in unpack command and named snapshots
[CL 29799570 by yuriy odonnell in ue5-main branch]
2023-11-16 21:05:20 -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
d39ff6fb57 unsync - Basic implementation of unpack command
* Only filesystem based packs at this point

[CL 29457142 by yuriy odonnell in ue5-main branch]
2023-11-04 01:04:21 -04:00
yuriy odonnell
a3e7f1cbd4 unsync - Add option to run p4 have during pack process instead of reading output from file
* Fix saving revision control data in the manifest during pack command
* Reuse file attributes from existing manifest when revision control identity matches

[CL 29396267 by yuriy odonnell in ue5-main branch]
2023-11-02 23:41:06 -04:00
yuriy odonnell
ab5c5654f9 unsync - Use an regular ordered map to store file list in the manifest
* Ordered file list results in manfiests that can themselves be chunked and incrementally downloaded
* Add a command line parameter to specify storage location for pack command

[CL 29354873 by yuriy odonnell in ue5-main branch]
2023-11-02 01:12:47 -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
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
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
3cf6f9a0c0 unsync - Add search query to discover available builds through proxy
#rb none

[CL 28166018 by yuriy odonnell in ue5-main branch]
2023-09-22 20:13:26 -04:00
yuriy odonnell
54072f0aee unsync - Set a 60 second timeout on socket recv operations by default
* Use --no-timeout flag to disable

#rb none

[CL 27942659 by yuriy odonnell in ue5-main branch]
2023-09-15 22:24:38 -04:00
yuriy odonnell
abf5a85ab6 unsync - Fix various runtime issues on linux
* Wide string formatting
* Path normalization

#rb none

[CL 27856783 by yuriy odonnell in ue5-main branch]
2023-09-13 18:33:59 -04:00
yuriy odonnell
a3bd8e9bb6 unsync - Add messages in addition to error codes in various places, fix CLI11 non-ascii printing, add --version argument
#rb none

[CL 27781280 by yuriy odonnell in ue5-main branch]
2023-09-11 22:49:17 -04:00
yuriy odonnell
a02ea83d83 unsync - Use multiple concurrent connections during file download query
* Bump version to 1.0.54

#rb none

[CL 27714879 by yuriy odonnell in ue5-main branch]
2023-09-08 12:19:57 -04:00
yuriy odonnell
f455aaecc7 unsync - Add support for HTTP HEAD requests
Also minor fixes and improvements:

* Fix error code handling when connecting a socket
* Fix some of the naming convention violations
* Add --print-http-header option to login command

#rb none

[CL 27702511 by yuriy odonnell in ue5-main branch]
2023-09-07 23:20:15 -04:00
yuriy odonnell
7a75fdfe69 unsync - Trim old cached manifest files during sync
#rb none

[CL 27541251 by yuriy odonnell in ue5-main branch]
2023-08-31 18:07:30 -04:00
yuriy odonnell
01b2df4dba unsync - Add quick login option
* Skip remote token validation in --quick mode, just check expiry locally

#rb none

[CL 27538554 by yuriy odonnell in ue5-main branch]
2023-08-31 17:15:46 -04:00
yuriy odonnell
8c7bdecb04 unsync - Add support for direct manifest download from proxy server (bypassing SMB)
* Add --login flag to sync command
* Add in-process token cache
* Add auth token when quering server features
* Use direct download path when supported by server

#jira UE-192913
#rb none

[CL 27535921 by yuriy odonnell in ue5-main branch]
2023-08-31 16:20:09 -04:00