mbox series

[bug#52703,0/2] Improving rsync-service-type

Message ID 20211221141858.3668-1-ludo@gnu.org
Headers show
Series Improving rsync-service-type | expand

Message

Ludovic Courtès Dec. 21, 2021, 2:18 p.m. UTC
Hello Guix!

While fiddling around for the infrastructure hackathon, I found that
the rsync service was a bit too limited: it would only let you export
a single directory.

These patches extend it so that users can specify several “modules”,
each of which exports one directory and has its own properties (read-only,
chroot, timeout, etc.).

Backwards compatibility is maintained.

Thoughts?

Ludo’.

Ludovic Courtès (2):
  services: rsync: Allow configuring several rsync "modules".
  tests: rsync: Define several modules.

 doc/guix.texi          |  71 ++++++++++++-----
 gnu/services/rsync.scm | 170 +++++++++++++++++++++++++++++------------
 gnu/tests/rsync.scm    |  40 +++++++++-
 3 files changed, 213 insertions(+), 68 deletions(-)

Comments

Ludovic Courtès Dec. 21, 2021, 2:50 p.m. UTC | #1
Ludovic Courtès <ludo@gnu.org> skribis:

>   services: rsync: Allow configuring several rsync "modules".
>   tests: rsync: Define several modules.

We’ve super-fast-tracked these patches on #guix.  Pushed as
3b3bef3e4e3a8f38e8686262cd12e1786a9ac2b0.

Ludo’.