Replace rsync options in Guest push/pull API#4029
Conversation
|
@happz In the issue, you mention the following:
and
If I understand it correctly, should I also add |
I believe so, yes, that's how it should work. Plugin-agnostic options, each plugin translating them into their own domain.
Probably, but it's tricky: if a plugin does not support e.g. On the other hand, some options may be impossible to support, then a warning would be a good start, but eventually we should resolve that too: a caller sets an options because it tries to reach some state on the guest, e.g. executable test script. The plugin cannot deliver that, ever, it has no way to set executable bits, it's really limited. We need to fix that somehow, otherwise the caller would expect something that wouldn't be true, possibly causing seemingly unrelated issues elsewhere. |
4ccd91c to
fdb098c
Compare
0af2764 to
d803ac6
Compare
thrix
left a comment
There was a problem hiding this comment.
LGTM, just ask for a bit of docs to be added if we are changing these parts
|
Added missing exclude in 92db5df. |
Remove raw `rsync` options from the Guest push/pull API and replace them with a dedicated `TransferOptions` class. Resolves #3841
Remove raw `rsync` options from the Guest push/pull API and replace them with a dedicated `TransferOptions` class. Resolves #3841
This reverts commit d873610.
Remove raw
rsyncoptions from the Guest push/pull API and replace them with a dedicatedTransferOptionsclass.Resolves #3841
Pull Request Checklist