Commit Graph
92 Commits
Author SHA1 Message Date
Kovid Goyal d936ede790 Finish up rsync for file receives 2021-11-16 15:10:37 +05:30
Kovid Goyal 1603b4b522 More work on rsync based receive 2021-11-16 14:21:42 +05:30
Kovid Goyal 0eac514e52 More rsync integration work 2021-11-16 13:06:16 +05:30
Kovid Goyal 63399fe975 Start work on rsync integration for receiving files 2021-11-16 10:58:32 +05:30
Kovid Goyal a1ca607f35 More work on file transmission 2021-11-11 20:05:54 +05:30
Kovid Goyal a2533e9a46 Render the progress bar for file receives 2021-11-11 16:32:06 +05:30
Kovid Goyal 69e54cb9c1 More work on file transfer 2021-11-06 20:11:11 +05:30
Kovid Goyal 60b8023928 Ensure transfer is canceled on error 2021-11-06 12:59:13 +05:30
Kovid Goyal 8099ae44d7 create fid_map after collecting files not before 2021-11-06 12:54:20 +05:30
Kovid Goyal 8e8a0d2df6 Fix rel path logic when transferring symlinks 2021-11-05 21:39:07 +05:30
Kovid Goyal d9f4fadf2d More work on file transfer 2021-11-05 21:33:47 +05:30
Kovid Goyal c4b3723372 More work on file transfer 2021-11-05 13:10:04 +05:30
Kovid Goyal 218582ced8 More work on file transfer 2021-10-31 20:05:48 +05:30
Kovid Goyal 4ff3d6a645 More work on file transfer 2021-10-31 13:12:23 +05:30
Kovid Goyal 32805ca968 More work on file transfer 2021-10-31 09:28:20 +05:30
Kovid Goyal d03f4dbc98 More work on file transfer 2021-10-30 16:54:27 +05:30
Kovid Goyal ee852cf5fc More work on file transmission 2021-10-29 21:52:49 +05:30
Kovid Goyal 820a893d75 More work on file transfer 2021-10-29 15:01:31 +05:30
Kovid Goyal b22bda3cba Add more type annotations 2021-10-27 11:36:34 +05:30
Kovid Goyal 4494ddd8ff mypy: Turn on return value checks
Its a shame GvR is married to "return None"
https://github.com/python/mypy/issues/7511
2021-10-26 22:39:14 +05:30
Kovid Goyal 5cb36a4632 More work on file transfer 2021-10-26 22:05:38 +05:30
Kovid Goyal 6546c1da9b run pyupgrade to upgrade the codebase to python3.6 2021-10-21 12:43:55 +05:30
Kovid Goyal 5f91084968 More work on file transfer 2021-10-18 13:02:37 +05:30
Kovid Goyal 5e033773dd More work on transfer sending 2021-10-10 13:04:47 +05:30
Kovid Goyal 34d6c69b2a fix forgotten import 2021-10-04 21:40:07 +05:30
Kovid Goyal 14d36e3727 Stub for receive in the transfer kitten 2021-10-04 21:31:02 +05:30
Kovid Goyal 2080b3d7fa Print out rsync stats 2021-10-03 13:40:53 +05:30
Kovid Goyal a8e06a67c2 Better message when transferring rsync signatures 2021-10-03 13:29:50 +05:30
Kovid Goyal 5699c3ae7d Dont spin report done files 2021-10-03 11:58:24 +05:30
Kovid Goyal 1877a02378 Dont count dirs in transfer stats 2021-10-03 11:30:08 +05:30
Kovid Goyal e9f344c53f Improve progress reporting for individual files 2021-10-03 11:26:49 +05:30
Kovid Goyal d15763f2ad Dont show transfer stats for non regular files 2021-10-03 11:16:07 +05:30
Kovid Goyal 76eab44f53 Have the receiving side send progress updates
This is both more accurate and works for rsync based transfers, where we
dont know the total size to transmit because of the streaming nature of
the rsync protocol.
2021-10-03 11:04:46 +05:30
Kovid Goyal 3a373a200c Add a tell() method to PatchFile to track how much has been written 2021-10-03 10:18:28 +05:30
Kovid Goyal f6e518d2f9 DRYer 2021-10-02 12:06:56 +05:30
Kovid Goyal c79a0108a1 Remove unneeded code 2021-10-02 11:24:43 +05:30
Kovid Goyal 20fcc5e31b DRYer 2021-10-02 11:16:47 +05:30
Kovid Goyal 5729e33412 librsync actually blocks on output buffer size as well as input availability. So handle that 2021-10-02 09:26:35 +05:30
Kovid Goyal f85f39e662 Code to easily develop librsync bindings 2021-10-02 07:22:33 +05:30
Kovid Goyal 0e9be57119 ... 2021-10-02 06:25:57 +05:30
Kovid Goyal ffd7b5779b Fix end of data not being sent when using rsync 2021-10-02 06:15:06 +05:30
Kovid Goyal cfeeec95fa Start work on delta based file transmission 2021-10-01 17:26:27 +05:30
Kovid Goyal e6cff61f99 Move management of destination file completely into PatchFile 2021-10-01 14:29:14 +05:30
Kovid Goyal 7e17ed21ce Use the atomic update decorator everywhere 2021-09-27 12:00:33 +05:30
Kovid Goyal 259ca4a11e Speed up parsing of file transfer OSC codes
Avoid roundtrips between unicode and bytes objects
2021-09-25 14:05:21 +05:30
Kovid Goyal 41003d106a Set the signature parameters manually when rs_sig_args is not available 2021-09-20 11:42:44 +05:30
Kovid Goyal 17e95cb615 Add a test for rsync roundtrip 2021-09-19 20:55:00 +05:30
Kovid Goyal b5c086aedb ... 2021-09-19 20:25:08 +05:30
Kovid Goyal 1036132838 Rename pw to bypass 2021-09-19 17:21:57 +05:30
Kovid Goyal 1d1d82ca50 Setup ropr buffer sizes for rsync operations 2021-09-19 17:19:34 +05:30