-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More rsync
fixes
#360
More rsync
fixes
#360
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #360 +/- ##
==========================================
- Coverage 28.26% 28.19% -0.08%
==========================================
Files 71 71
Lines 9661 9686 +25
Branches 1301 1308 +7
==========================================
Hits 2731 2731
- Misses 6836 6861 +25
Partials 94 94 |
Co-authored by: stephen-riggs <[email protected]>
Contents of PR have changed, so will request review again when it's done
rsync
fixes
By preprending Test script I wrote to evaluate how to construct the rsync subprocess: rsync subprocess ran successfully on:
|
This branch was very old, so I encountered some issues when merging from 'main', but it should be all good now. This PR should be approved and pushed to main together with, but after, PR #388 to fix MSYS2 functionality. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One bug and one query, otherwise ready to merge
A follow-up to the rsync issue raised in #318 .
Replaced the individual file warnings in
murfey.client.rsync
with a summary message comparing the files to be transferred and the files registered as successfully transferred. This should help pinpoint whether it's a file path mismatch issue, or another condition further upstream that is not behaving as expected.Additionally, the MSYS2 environment is set up differently from Cygwin, so Python
pathlib.Path
defaults to aWindowsPath
object instead of aPosixPath
as in Cygwin. This PR also introduces additional conditions to ensure file paths are passed to the rsync daemon in the correct Unix format.