Bug 12781 - rsync library
Summary: rsync library
Status: NEW
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.1.3
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
Depends on:
Reported: 2017-05-10 06:44 UTC by Ildar Muyukov
Modified: 2017-05-24 10:20 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ildar Muyukov 2017-05-10 06:44:42 UTC
I suggest the feature was requested for tens of times before me. But I couldn't find it in the Bugzilla.
RSync as the protocol may be useful to many other applications. There even is a librsync (https://github.com/librsync/librsync) which is used by a few applications, yet that librsync is incompatible with this rsync
Do you think it's possible to create an API and extract the library out of the rsync code?
Comment 1 Axel Kittenberger 2017-05-24 10:20:34 UTC
I asked exactly this 10 years ago to the mailing list.

The answer was no.

This is not a simple to do.

You could do it, I decided that kind of project would move me too far away from what I actually wanted to achieve. I went instead for calling rsync from a daemon and handing data via pipes. ( https://github.com/axkibe/lsyncd ). You just need some process management.