GNU bug report logs - #52703
[PATCH 0/2] Improving rsync-service-type

Previous Next

Package: guix-patches;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Tue, 21 Dec 2021 14:20:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: guix-patches <at> gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>
Subject: [PATCH 0/2] Improving rsync-service-type
Date: Tue, 21 Dec 2021 15:18:58 +0100
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(-)

-- 
2.33.0





This bug report was last modified 3 years and 148 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.