Open JJdeVries opened 3 years ago
It would be great if you could rebase this @JJdeVries
This one should be a start of a major version upgrade imo! We should create a devel-branch and move this to that one. It requires alfa-testing from different setups so we don't accidentally break someones system.
@JJdeVries Can you have a quick look here just to be sure I didnt break anything when I fixed the merge-conflict? Then its good to go IMO
@kennedyshead @Chen-IL It seems that the commit 12717cd6 by @Chen-IL has changed all the line-endings in the asuswrt.py file from unix (\r\n) to dos (\n). This is rather unfortunate as now this branch has a lot of merge conflicts, and the git blame functionality is unusable as everything is now last changed by @Chen-IL .
I'm not really sure why this was not picked up during the review, as probably the entire file was shown in the diff?
Regarding this pull request. I've pushed a commit to also change the line-endings of asuswrt.py to [dos], although probably the result will be that now my name (and this specific commit) will show up in the git blame logging.
@Chen-IL please unsure you fix your editor to not overwrite the line-endings on saving the file, but to keep the current configured style.
Cleanup of some common code between the two connections (ssh and telnet). Mainly reverted the locks and retries to a common class. This also adds locking to the SshConnection as there were some race issues there as well.