Skip to content
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

Allow disabling -z by compress property #4

Merged
merged 1 commit into from
Feb 21, 2020
Merged

Allow disabling -z by compress property #4

merged 1 commit into from
Feb 21, 2020

Conversation

k0kubun
Copy link
Collaborator

@k0kubun k0kubun commented Feb 14, 2020

When I used hocho on an Arch Linux server, I got:

=> $ rsync -az --copy-links --copy-unsafe-links --delete --exclude\=.git --rsh ssh\ -o\ \"PubkeyAuthentication\=yes\"\ -o\ \"PasswordAuthentication\=yes\"\ -o\ \"PreferredAuthentications\=none,publickey,password,keyboard-interactive\"\ -o\ \"User\=k0kubun\" . chkbuild006.hsbt.org:/tmp/hocho-run-5ybRSjNad/itamae
Enter passphrase for key '/Users/k0kubun/.ssh/id_rsa':
rsync: This rsync lacks old-style --compress due to its external zlib.  Try -zz.
rsync error: syntax or usage error (code 1) at main.c(1578) [server=3.1.3]
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-54/rsync/io.c(453) [sender=2.6.9]

I tried changing -z to -zz as instructed by that, but it didn't work. So I'd like to have a property to just disable compression.

foo.bar:
  properties:
    compress: false

@sorah sorah merged commit 4de4a98 into master Feb 21, 2020
@k0kubun k0kubun deleted the no-compress branch February 21, 2020 21:16
ineu pushed a commit to ineu/hocho that referenced this pull request Jan 24, 2024
Allow disabling -z by compress property
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants