Commit Graph
15 Commits
Author SHA1 Message Date
RandyTheSilly 2f738a4e89 Optimized usage of str.split(), use str.splitlines() where applicable 2023-02-15 13:01:19 -05:00
RandyTheSilly 4ebbf7847d Fixed deletions occuring after the local index is generated, causing sshync to believe sheared files still exist on the client 2022-12-07 22:29:15 -05:00
RandyTheSilly b24d1df721 Assigned exit code 6 to "server connection error" 2022-12-07 15:55:01 -05:00
RandyTheSilly 6080726dc6 Combined all list fetching functions into one to drastically reduce the number of SSH connections (speeds up sshync exponentially) 2022-12-07 15:46:33 -05:00
RandyTheSilly a49334482c Organized functions in sshync.py by use method 2022-12-05 23:21:02 -05:00
RandyTheSilly 56ea8d0cf9 Moved all syncing functionality into sshync.py, removed sshypRemote.py 2022-12-05 12:13:28 -05:00
RandyTheSilly 6f016bfb0a Call specifically 'python3' over ssh, as some environments do not have a binary/symlink named 'python', or 'python' may refer to python2 2022-12-05 09:36:37 -05:00
RandyTheSilly dc218025a7 Replace all currently replaceable instances of system() or run(X, shell=True) with run(X, shell=False) for security and compatibility 2022-11-26 13:19:09 -05:00
RandyTheSilly 3a85f06ffe Use subprocess.run without shell=True where easily applicable, redirect unused captured output to DEVNULL 2022-11-25 18:11:38 -05:00
RandyTheSilly 289d12f45a Use ASCII 30 and 31 as separators, removes limitations on "@", "^&*", and "*&^". 2022-11-25 12:00:51 -05:00
RandyTheSilly ae5172a6c8 Replaced sshync mod time/title retrieval logic with much more efficient and compatible logic 2022-11-24 19:40:04 -05:00
RandyTheSilly 33f7330886 Made exit codes more specific to their errors 2022-10-26 13:32:23 -04:00
RandyTheSilly d9e2a7d4e1 Attempt remote imports from /lib/sshyp, rather than /bin 2022-10-12 12:48:08 -04:00
RandyTheSilly c31a5a1664 Move a rarely used import statement closer to where it's needed in sshync 2022-10-11 09:28:13 -04:00
RandyTheSilly c9c88a041d Put .py files in /usr/lib/sshyp, symlink executables to /usr/bin 2022-10-10 11:16:56 -04:00