-
Notifications
You must be signed in to change notification settings - Fork 35
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
feat: provide explicit feedback for new MacOS rsync/openrsync issue #172
base: main
Are you sure you want to change the base?
Conversation
README.md
Outdated
@@ -100,6 +100,8 @@ Reading a sequence repository requires several Python packages, all of which are | |||
available from pypi. Installation should be as simple as `pip install | |||
biocommons.seqrepo`. | |||
|
|||
Acquiring SeqRepo snapshots using the CLI requires an [rsync](https://github.com/RsyncProject/rsync) binary to be available on the system $PATH. Note that [openrsync](https://www.openrsync.org/), which now ships with new MacOS installs, does not support all required functions. Mac users should install rsync from [HomeBrew](https://formulae.brew.sh/formula/rsync) and ensure that it's available on the $PATH. |
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.
@jsstevenson what do you get when you run which rsync
?
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.
@jsstevenson what do you get when you run which rsync?
I wound up just installing mine via homebrew so it's in /opt/homebrew/bin/
. In the latest MacOS version, openrsync appears to be located at /usr/bin/rsync
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.
Oh, you can also use --rsync-exe
to point to a binary even if it's not on your $PATH, added a note about that
Ah, I see that the CLI points directly to |
close #171
subprocess
calls return an error, check to see if the rsync binary looks like rsync, and give a more descriptive error message if so