From: Christopher Allan Webber <cwebber@dustycloud.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Composing service definitions (and maybe fmt)
Date: Sun, 24 Jan 2016 14:18:02 -0800 [thread overview]
Message-ID: <87powq62ot.fsf@dustycloud.org> (raw)
In-Reply-To: <87twm2lnqy.fsf@gnu.org>
Ludovic Courtès writes:
> So you’re suggesting to systematically have a high-level interface as
> well as a lower-level interface that gives access to the raw config
> file, right?
>
> The problem is that often, the service configuration does not to just
> one config file. Often it also translates into command-line options,
> user accounts, etc. For instance, ‘tor-service’ expects users to pass a
> raw config file, but it also needs to create a user account whose name
> is given in that config file, so it needs to control that part of the
> config file.
>
> That being said, it’s always possible to extend ‘etc-service-type’ and
> give it raw config files.
>
> Not offering any concrete solution but… does that make sense? :-)
>
> Thanks,
> Ludo’.
It makes sense... I get the feeling that in order for us to really get a
sense of what to do right here, we're going to have to forge ahead and
maybe even get it a bit wrong, which is ok!
It could even be that the thing I really want to build has to be build
with an abstraction layer another layer up. Not the worst thing!
prev parent reply other threads:[~2016-01-24 22:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-16 23:03 Composing service definitions (and maybe fmt) Christopher Allan Webber
2016-01-19 13:14 ` Ricardo Wurmus
2016-01-19 15:58 ` Christopher Allan Webber
2016-01-20 9:37 ` Ricardo Wurmus
2016-01-20 17:49 ` Christopher Allan Webber
2016-01-20 22:13 ` Ludovic Courtès
2016-01-21 14:12 ` Thompson, David
2016-01-21 21:27 ` Ludovic Courtès
2016-01-21 21:57 ` Christopher Allan Webber
2016-01-24 20:35 ` Ludovic Courtès
2016-01-24 22:18 ` Christopher Allan Webber [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87powq62ot.fsf@dustycloud.org \
--to=cwebber@dustycloud.org \
--cc=guix-devel@gnu.org \
--cc=ludo@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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.