RandyTheSilly
|
5cd50c7ad2
|
Backport /lib/sshyp fix
Former-commit-id: 21f1705abc3581a6317cd4a390324a97de9ba1b9
Former-commit-id: 56ccd20bef6587cc3b185c6260b4328001eb541c
|
2023-06-08 19:44:22 -04:00 |
|
RandyTheSilly
|
59d0844d77
|
Backport IPv6 sync fix
Former-commit-id: 231005bca34d7fd8984749f2bbaadd5ea375bd63
Former-commit-id: d7021e0135afd97802a421726e79ef45fbf970ac
|
2023-06-08 15:39:16 -04:00 |
|
RandyTheSilly
|
2d31aafa36
|
port-jobs: Added initial script for removal of server-only code
Former-commit-id: a5539fd86288aabf392b8f226100d232ee46514d
Former-commit-id: 19306b84cf881ba17d119675195bef84e6ab5fa2
|
2023-04-18 13:35:55 -04:00 |
|
RandyTheSilly
|
bd7995fa39
|
Removed unnecessary blank lines after some comments
Former-commit-id: 3ebf6ef03d1ff08f5792d9637ef008c9dfbdcaa1
Former-commit-id: 4c3b2e8e44a743575d143a4c18e3b11cc69ab000
|
2023-04-15 17:56:15 -04:00 |
|
RandyTheSilly
|
dd8c63631f
|
Moved comments to dedicated lines for easier port-job removal
Former-commit-id: 674876366fda7898f6723a7aa255b4785d2b5cdd
Former-commit-id: dc0213e06fbc2bceedf7cc8d7bcc7d8737f795d8
|
2023-04-15 12:39:47 -04:00 |
|
RandyTheSilly
|
d1a994a103
|
Better detect whether user input is a file or a directory (re-write of rename())
Former-commit-id: b74a0973086ecf9967e40024e75a4c5cab730801
Former-commit-id: ea1a29a39eee6fa5b1da12f83455d3ea7da6c00a
|
2023-03-02 01:32:40 -05:00 |
|
RandyTheSilly
|
6584686b2c
|
Copy new expanduser() usage from sshyp to sshync
Former-commit-id: 5a9e2f23d2e2b74901e94424e93e59b30b10782b
Former-commit-id: 3c92a86c2751499484e78eaf86b6d193f6a4511d
|
2023-03-01 23:59:55 -05:00 |
|
RandyTheSilly
|
0109816d3d
|
Use global entry_name with the leading '/' removed to avoid double '/'s
Former-commit-id: 34e94942853ab637b15eef31701e5fa7e7b72160
Former-commit-id: f5db9245053daf860e533b96cc0ed02f31edee58
|
2023-03-01 23:46:40 -05:00 |
|
RandyTheSilly
|
43a53070a8
|
Use os.path for checking if files exist, are files, or are directories, rather than pathlib.Path
Former-commit-id: d7cc6ea6b6028f31729518ff20a267104196533b
Former-commit-id: 442527f45e5354c710d2328a9c1c6c79cef3d0bb
|
2023-03-01 20:08:39 -05:00 |
|
RandyTheSilly
|
39dbc1c83d
|
Updated help menu for new argument system, adjusted exit codes
Former-commit-id: 4c326eb4668fcdb2cacc7b86d800a4f941c4630c [formerly a068d19aeb]
Former-commit-id: ed67ead67fc4a23eb11df52a7627d79a09835589
|
2023-02-21 16:58:29 -05:00 |
|
RandyTheSilly
|
bf8adfc1c1
|
Fixed syncing after incorrect arguments
Former-commit-id: 3fbc4a6717f8a56ae5419fe612479b30c7ec83a9 [formerly 92871d85d7]
Former-commit-id: 1beb51fd5844ef37a6be3db88ccfcd5422ba9cc5
|
2023-02-21 16:15:41 -05:00 |
|
RandyTheSilly
|
d49ce1bb87
|
Optimized usage of str.split(), use str.splitlines() where applicable
Former-commit-id: ef4dbc238eb361170b5e9ec06fd337a34082b53e [formerly 2f738a4e89]
Former-commit-id: 439398077bf543f0fc37f5ea01340a224761d9eb
|
2023-02-15 13:01:19 -05:00 |
|
RandyTheSilly
|
eefe5e39b5
|
Fixed deletions occuring after the local index is generated, causing sshync to believe sheared files still exist on the client
Former-commit-id: 0f303028224689cb7b5e290d28ad30d7ea0a0776 [formerly 4ebbf7847d]
Former-commit-id: 348fa6dcc8b6f35c102c9cd9c3912d161bc200e7
|
2022-12-07 22:29:15 -05:00 |
|
RandyTheSilly
|
9776961f2a
|
Assigned exit code 6 to "server connection error"
Former-commit-id: 34c2312b779b7c0f6e6dfcd1e9b4d7e700229142 [formerly b24d1df721]
Former-commit-id: 72c0e4cef04abd78bffb3731434c55cf9998eb7b
|
2022-12-07 15:55:01 -05:00 |
|
RandyTheSilly
|
1a35aaf33b
|
Combined all list fetching functions into one to drastically reduce the number of SSH connections (speeds up sshync exponentially)
Former-commit-id: 11290b3915a2f3d92696e0953997c3fb293ec7e3 [formerly 6080726dc6]
Former-commit-id: 3f799d1c8e2d3cd694cad90ba9f4444bb2673934
|
2022-12-07 15:46:33 -05:00 |
|
RandyTheSilly
|
66b15ac22c
|
Organized functions in sshync.py by use method
Former-commit-id: 1bbcac88ffe5c4d08aac1f34c1a40ce0fbff092e [formerly a49334482c]
Former-commit-id: ba2ee6fa69228ef2fe52560f4aa22c39ec69c9ab
|
2022-12-05 23:21:02 -05:00 |
|
RandyTheSilly
|
56db2e65f8
|
Moved all syncing functionality into sshync.py, removed sshypRemote.py
Former-commit-id: bf7833a21db35a7d33fdd89ee8a41775fd2f55c0 [formerly 56ea8d0cf9]
Former-commit-id: 820f85f9b0efc8a33ebf8a33f751e8f130fc8c34
|
2022-12-05 12:13:28 -05:00 |
|
RandyTheSilly
|
1be67d404b
|
Call specifically 'python3' over ssh, as some environments do not have a binary/symlink named 'python', or 'python' may refer to python2
Former-commit-id: db4e264c648a05a9d0293873c5ffae6173e4f8a0 [formerly 6f016bfb0a]
Former-commit-id: f4635300ddda1927fa89b63edf0dc0be7729abbf
|
2022-12-05 09:36:37 -05:00 |
|
RandyTheSilly
|
c6f31da6d4
|
Replace all currently replaceable instances of system() or run(X, shell=True) with run(X, shell=False) for security and compatibility
Former-commit-id: 8e316228ca46dbe9e6811625281c19a1118ff650 [formerly dc218025a7]
Former-commit-id: 7d19e68ccbd2b844ab00df8db69bbf08b9a1884e
|
2022-11-26 13:19:09 -05:00 |
|
RandyTheSilly
|
89c9a03cc1
|
Use subprocess.run without shell=True where easily applicable, redirect unused captured output to DEVNULL
Former-commit-id: bae14d658f4e1fa04f723e8545bc35d69e0c4cbb [formerly 3a85f06ffe]
Former-commit-id: 7b7b48c870b9a6d4646d9be3d208ea792e665399
|
2022-11-25 18:11:38 -05:00 |
|
RandyTheSilly
|
3392e3ceea
|
Use ASCII 30 and 31 as separators, removes limitations on "@", "^&*", and "*&^".
Former-commit-id: cd08e1adde9f810e0099338722b617357055c422 [formerly 289d12f45a]
Former-commit-id: 7f70d015e3afe2101aba2d1d21001101db0de81e
|
2022-11-25 12:00:51 -05:00 |
|
RandyTheSilly
|
176ee623cf
|
Replaced sshync mod time/title retrieval logic with much more efficient and compatible logic
Former-commit-id: a9107238fd80398b570ca04ac36e212bcb3c0ddc [formerly ae5172a6c8]
Former-commit-id: 4984678e5544d0594bbcbe10b23100427ca2e8b8
|
2022-11-24 19:40:04 -05:00 |
|
RandyTheSilly
|
d796c48ede
|
Made exit codes more specific to their errors
Former-commit-id: 62c004c84333a8b8645ea3247fdb56c1509a36f9 [formerly 33f7330886]
Former-commit-id: 0d849ab1792d4c960cf632f75a28feba5610f57e
|
2022-10-26 13:32:23 -04:00 |
|
RandyTheSilly
|
079a1412ae
|
Attempt remote imports from /lib/sshyp, rather than /bin
Former-commit-id: 839058d4882b8c8837b4543e6b290643d9f1d409 [formerly d9e2a7d4e1]
Former-commit-id: eeb4a7bb40356e453a41e0176e40d08c6056a7c1
|
2022-10-12 12:48:08 -04:00 |
|
RandyTheSilly
|
185ae4ebff
|
Move a rarely used import statement closer to where it's needed in sshync
Former-commit-id: aceb7e080b29fedf9e8a52ab052af32450491b88 [formerly c31a5a1664]
Former-commit-id: 9844be47e81146aff688e7e1c8462ffc147ab29d
|
2022-10-11 09:28:13 -04:00 |
|
RandyTheSilly
|
612f288904
|
Put .py files in /usr/lib/sshyp, symlink executables to /usr/bin
Former-commit-id: c44a817f58d2f232d93c2d38ca27c4b091a3c523 [formerly c9c88a041d]
Former-commit-id: cb19027d8aa9a1ea97a02bfaf3b41292f5a3f232
|
2022-10-10 11:16:56 -04:00 |
|