From: "Ludovic Courtès" <ludo@gnu.org>
To: 52703@debbugs.gnu.org
Cc: "Ludovic Courtès" <ludo@gnu.org>
Subject: [bug#52703] [PATCH 0/2] Improving rsync-service-type
Date: Tue, 21 Dec 2021 15:18:58 +0100 [thread overview]
Message-ID: <20211221141858.3668-1-ludo@gnu.org> (raw)
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
next reply other threads:[~2021-12-21 14:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-21 14:18 Ludovic Courtès [this message]
2021-12-21 14:23 ` [bug#52703] [PATCH 1/2] services: rsync: Allow configuring several rsync "modules" Ludovic Courtès
2021-12-21 14:23 ` [bug#52703] [PATCH 2/2] tests: rsync: Define several modules Ludovic Courtès
2021-12-21 14:50 ` bug#52703: [PATCH 0/2] Improving rsync-service-type Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211221141858.3668-1-ludo@gnu.org \
--to=ludo@gnu.org \
--cc=52703@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).