From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43592) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsOis-0006oV-N9 for guix-patches@gnu.org; Thu, 14 Sep 2017 03:38:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dsOio-0002pP-I1 for guix-patches@gnu.org; Thu, 14 Sep 2017 03:38:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59073) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dsOio-0002pA-EC for guix-patches@gnu.org; Thu, 14 Sep 2017 03:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dsOin-0004wU-SZ for guix-patches@gnu.org; Thu, 14 Sep 2017 03:38:01 -0400 Subject: [bug#28452] [PATCH 0/6] On-line doc and search for services Resent-Message-ID: Date: Thu, 14 Sep 2017 08:37:34 +0100 From: Christopher Baines Message-ID: <20170914083734.03ff8661@cbaines.net> In-Reply-To: <20170913211756.4843-1-ludo@gnu.org> References: <20170913211756.4843-1-ludo@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/b5VA51rx1KqmJd5yaLdSrJ/"; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 28452@debbugs.gnu.org --Sig_/b5VA51rx1KqmJd5yaLdSrJ/ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 13 Sep 2017 23:17:56 +0200 Ludovic Court=C3=A8s wrote: > Hello! >=20 > This patch series adds a new =E2=80=98guix system search=E2=80=99 command= to search > through the available services types: >=20 > --8<---------------cut here---------------start------------->8--- > $ ./pre-inst-env guix system search anony network > name: tor > location: gnu/services/networking.scm:670:2 > extends: shepherd-root account activate > description: Run the Tor (https://torproject.org) anonymous > networking daemon. relevance: 9 >=20 > name: static-networking > location: gnu/services/networking.scm:248:2 > extends: shepherd-root etc > description: Turn up the specified network interfaces upon startup, > with the given IP > + address, gateway, netmask, and so on. The value for services of > this type is a list of > + `static-networking' objects, one per network interface. > relevance: 6 >=20 > name: network-manager > location: gnu/services/networking.scm:947:4 > extends: shepherd-root dbus polkit activate profile > description: Run NetworkManager > (https://wiki.gnome.org/Projects/NetworkManager), a > + network management daemon that aims to simplify wired and wireless > networking. relevance: 6 >=20 > [...] > --8<---------------cut here---------------end--------------->8--- >=20 > I think this can be pretty useful. It also works with service types > that have #f as their =E2=80=98description=E2=80=99 field, which is the v= ast majority > of them (help welcome!). >=20 > Possible improvements and related things: >=20 > =E2=80=A2 Display each field and value of the default value of services. >=20 > =E2=80=A2 Add =E2=80=98guix system edit=E2=80=99 or =E2=80=98guix edit = --service=E2=80=99? >=20 > =E2=80=A2 Add a web UI to browse services. >=20 > Comments welcome! This looks awesome Ludo :) I've tried it out locally, and it works well. Obviously it will work a lot better when more services have descriptions, but this is a great start. I've also had a look through the patches, and they all look good to me. --Sig_/b5VA51rx1KqmJd5yaLdSrJ/ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlm6Mb5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9Xc2uw//YOE/jAJtf2JM1ah3TGtVpONRLGV3cS87YIi8VDxhpNqAR+Gh3LMIzMb1 B1qPh/TQgSTZUs0C/dqfR97l7xKUqKX6LsSwb+BJ5SZF7f+rcqmoK1r8atBksam6 hMBvGb7/0nst8oWyhGZABws1VkWrBLbTtWxejSWn+2xobQVO+AeZOT1tPcZF8JgU vYj+5NPK37tlThwmBDMnljL6+6pLqRWHTgeqhUt5epx3vDq1tU7h2LOG9ryFk0wp 3kbA1GLzAKQHn1h748DplzKfUY/tJp+8j2XDDRJBoSDjwUyxM0hao6g18I1/9Ctz 7/S2YvmQaRO2frjzJyhYTTz7IoBgMpnx51xzKJER8X9zvCTOJR/N+CEtvQ0UEDtR lJi4Q493pFrd/WFA00CIXZ9i+KiT+R5JB7+UcN0q/ZJ3ShPgvfLkEuIvJzm1pzzH /lM+FyJUqXRPRVLS1QXk/9JijEIbm3a5JJRKVOpXYEhRkznfmBrm3jdBKEgW/FHL N0DLR5Rn0p4JNm9xFCn9PSUXdTDGZAtoz48R7m7V3AzgTi1f2iDF3x024IXN4zBG pfG7viFHOb/6hfxzNy0tkzh1Eiae4cYv97+2o5cWg1Mou0R2HUtnmohrL5eYpLlz QCTnp/3AtDruPtZ9jdd/+jhDTPgPcORin356j8Pof+rVGwRTK/U= =MY2U -----END PGP SIGNATURE----- --Sig_/b5VA51rx1KqmJd5yaLdSrJ/--