[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28198: [PATCH 3/3] services: Add MongoDB.
From: |
Christopher Baines |
Subject: |
bug#28198: [PATCH 3/3] services: Add MongoDB. |
Date: |
Fri, 6 Oct 2017 21:29:52 +0100 |
On Wed, 04 Oct 2017 16:44:21 +0200
address@hidden (Ludovic Courtès) wrote:
> Christopher Baines <address@hidden> skribis:
>
> > * gnu/services/databases.scm (%default-mongodb-configuration-file,
> > %mongodb-accounts, mongodb-service-type): New variables.
> > (<mongodb-configuration>): New record type.
> > (mongodb-activation, mongodb-shepherd-service): New procedures.
> > * gnu/tests/databases.scm (%test-mongodb): New variable.
> > * doc/guix.text (Database Services): Add MongoDB documentation.
> ^
>
> texi :-)
>
> [...]
>
> > +(define mongodb-service-type
> > + (service-type
> > + (name 'mongodb)
> > + (extensions
> > + (list (service-extension shepherd-root-service-type
> > + (compose list
> > + mongodb-shepherd-service))
> > + (service-extension activation-service-type
> > + mongodb-activation)
> > + (service-extension account-service-type
> > + (const %mongodb-accounts))))
> > + (default-value
> > + (mongodb-configuration))))
>
> Could you add a ‘description’ field? :-)
>
> Like “Run the MongoDB document database server.”
>
> Apart from that it looks great.
I've added the explicit #t values to the two phases, fixed the texi
typo, and added the description, and now pushed.
Thanks again for reviewing Ludo :)
pgpHLYxMXXbEu.pgp
Description: OpenPGP digital signature