From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YMI6L8O3p2ApQQAAgWs5BA (envelope-from ) for ; Fri, 21 May 2021 15:38:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qN/jKsO3p2DcDgAAbx9fmQ (envelope-from ) for ; Fri, 21 May 2021 13:38:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5F8BB1383F for ; Fri, 21 May 2021 15:38:11 +0200 (CEST) Received: from localhost ([::1]:57422 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lk5Lu-0008KN-3z for larch@yhetil.org; Fri, 21 May 2021 09:38:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lk5Lm-0008Hk-Qa for guix-patches@gnu.org; Fri, 21 May 2021 09:38:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52757) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lk5Lm-0006EO-Ii for guix-patches@gnu.org; Fri, 21 May 2021 09:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lk5Lm-0001tw-Er for guix-patches@gnu.org; Fri, 21 May 2021 09:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47979] [PATCH] installer: Recommend 'ntp-service-type' for non-graphical systems. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 21 May 2021 13:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47979 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: 47979@debbugs.gnu.org Received: via spool by 47979-submit@debbugs.gnu.org id=B47979.16216042407259 (code B ref 47979); Fri, 21 May 2021 13:38:02 +0000 Received: (at 47979) by debbugs.gnu.org; 21 May 2021 13:37:20 +0000 Received: from localhost ([127.0.0.1]:36070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lk5L5-0001t0-FI for submit@debbugs.gnu.org; Fri, 21 May 2021 09:37:19 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:56413) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lk5L3-0001so-Vv for 47979@debbugs.gnu.org; Fri, 21 May 2021 09:37:18 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id B41415C00D7; Fri, 21 May 2021 09:37:12 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 21 May 2021 09:37:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=/BBDIU1GogR5BIWL8KYGK5Ks arMizOQq4sjoQX99CT4=; b=AJcGdRuIiUHafuVR2lhPuiY2dz0WmswH/ua7e3lk rqYOC0C46BCBU/2JAWv4E5aCTFXMoVbobOHlVIZ7zco/QbkEQIdWyMVA8skl0AeU wIlT8IX2quoKhfjHlrMv3PZ9E58IGIVADJ8lLA3w3cB0gQqowtsKyDS9Ci4mrGyK kj0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=/BBDIU 1GogR5BIWL8KYGK5KsarMizOQq4sjoQX99CT4=; b=GQgLRi4kYn7lTY3QsmZlmw YvO4c6rrL03csXMTo4yvKyUgdqp1RUzlGFL4JCHZjcnj7OkNY90gL6/icnf7ZWpg TU1yn7tzNDw4S4697lxtKycJhoPVhWGg+OO4Lrp/ozQGyzPvmwGrtwNzCYxIvnDR xSnFBvc3cc28W+UjU9MQYQiL1ys0r0dM6C66ZRhr/bPgK49y4qEGrzetHL9Fd5yV CU7f9xd2ZmMuvjqQsoBJsYP8cpNPnAAd1IzWxcKioOYC2fRrAkEmDNLC5TB/4le4 cwyhN6DvYMRIThHp5LZjDhDid3fVhqmnalC4NGz3ATTsVTJ58MIJX18RcmtqUpAQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdejfedgieejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth gvrhhnpeeukeektdffvddtudegjeegtdevhfeufeeivdejiedtieegtdevjedvjeehffev gfenucfkphepuddttddruddurdduieelrdduudeknecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 21 May 2021 09:37:12 -0400 (EDT) Date: Fri, 21 May 2021 09:37:10 -0400 From: Leo Famulari Message-ID: References: <87lf88qm47.fsf_-_@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87lf88qm47.fsf_-_@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621604291; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=/BBDIU1GogR5BIWL8KYGK5KsarMizOQq4sjoQX99CT4=; b=dy2MoJV3bjp9yLcCTm6lit/op2BvB1VuPAoX3ztq7RMRZJi4NRlTSY+AKeNiCNZLQybUw2 k6abTrT5JqsE/12qdz7mlFphZUrzNMOnldH7noCB2+uD8vToa1Z/L4KSV2u+EIlsVCdNSl ffEHtidr3XLeneHc2Yfd00J8d4ZO/zebToH3++Dgt/KF+cNgiHbnK2EnGBQCXuYfhbv/mg NQnzNkgpn5abTLdHbKa3k5aGSbWqNnSdt/8AR94lMJzSpU60VBbBr3SAxlpJ2y+4lQJOSb jzoPw7psCD4+o0dbqQkH+KTwNGt3Sm8lbQxikpmdkqNsSAnOblSbLczBrSsXTg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621604291; a=rsa-sha256; cv=none; b=NfOxL45pudJ6ZX6WnPjNdwhUXX14EPe6OFJJmsGQXmrI8lkpEdb1MqK/ofhl/Iw9NlDUzF x5AW+HSXETOoBCStAqW+kU3mD5fXWuzowYiuzmmj7M9B0xTIrV86FGhYA0hwiQgV1NvjLq 6sxSp3uwyGOsOR15gt0wz8XBhYVN92HAZ/X3dei3FFD+nNQZFU7Vj7p1YXdWGdEQRMoCaG n4aCxqd4Hz9+FF5UScLSXk5sj060dHEVrQJmTDbxJNOUusvaRAkCmGA2MO4+RbWuvu4Jql YY5jIqhkPc3+9lryG08s8QjpRzzyFqIwHsSz55YVKzBffxcAYq1O6cJSjWInCg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=AJcGdRuI; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=GQgLRi4k; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.44 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=AJcGdRuI; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=GQgLRi4k; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 5F8BB1383F X-Spam-Score: -1.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: B+LuqRyKnSvY Thanks for the review. On Fri, May 21, 2021 at 02:58:48PM +0200, Mathieu Othacehe wrote: > > +(define (run-system-administration-cbt-page) > > + "Run a page to select various system adminstration services." > > + (let ((items (filter (lambda (service) > > + (eq? 'administration > > + (system-service-type service))) > > + %system-services))) > > + (run-checkbox-tree-page > > + #:title (G_ "Miscellaneous services") > > + #:info-text (G_ "Select miscellaneous services to run on your system.") > > + #:items items > > + #:selection (map system-service-recommended? items) > > + #:item->text (compose G_ system-service-name) > > + #:checkbox-tree-height 5 > > + #:exit-button-callback-procedure > > + (lambda () > > + (raise > > + (condition > > + (&installer-step-abort))))))) > > Indentation is off here, > > > + ;; Miscellaneous system administration services. > > + (system-service > > + (name (G_ "Network time service, to set the clock automatically")) > > + (type 'administration) > > + (recommended? #t) > > + (snippet '((service ntp-service-type)))) > > + > > here, > > > + (system-service > > + (name (G_ "GPM mouse daemon, to use the mouse in the console")) > > + (type 'administration) > > + (snippet '((service gpm-service-type)))) > > and here. I don't see the problems. I copied from existing pieces of similar code and I don't really have a sense of what's right and wrong for indenting this kind of thing. > Those patches are breaking the installer tests because they > introduce a new dialog. You need to add something like: > > --8<---------------cut here---------------start------------->8--- > ((checkbox-list (title "Miscellaneous services") (text _) > (items ,services)) > (filter choose-misc-service? services)) > --8<---------------cut here---------------end--------------->8--- > > in the (gnu installer tests) module, to fix this error: Okay, I'll work on that.