From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GGx0L5IaQWW+yAAA9RJhRA:P1 (envelope-from ) for ; Tue, 31 Oct 2023 16:17:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GGx0L5IaQWW+yAAA9RJhRA (envelope-from ) for ; Tue, 31 Oct 2023 16:17:38 +0100 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 A4FFD23BC9 for ; Tue, 31 Oct 2023 16:17:38 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=jJ96Abke; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698765458; a=rsa-sha256; cv=none; b=XTrR3OlmzzNzf7pRqdtvhP6k24uKfjv9yT4+FjMXzJwKTiJt0KEjbbzTWb/R2G75pd1LTy M5q1Fzzo95isdluwFeakivO2uuvH99cL6d96eOHIn6xn9XxLsw2rkwtVLKx4+LjtDHa2/K SfGj6P2WoEcsLo9ljkU9G2dmFLmtJFVsfyhfoYZYYbwGJumwhlN2hQ5w0yPvegQX3baKZL Z+XcxJtZBoBtQLEaRA2mesMm20GninHW6awEhC+n9j7jiXn1qQbTfer1UZ3xZYsDEA5W6C htT0Nw9/7RHVfqezz4t6OftKzPcbxjV/rWpcgTWRfjDxECX1Fq7MemtjVCHvUw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=jJ96Abke; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698765458; 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: content-transfer-encoding:content-transfer-encoding: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=Y/eAnj2cfxfudRTGPjREJEQYWQFqEhyFz4bgh5hPztM=; b=kyHTZ0dPxJdkWwTIFSCDbEi9766EzuA9uUxIr3cQZ+AAOgrFeFrVL6r4IAm3unjqi9iVfi m7hO7kbCwctBlXQESwgNig3R8E7ZbHhz/jAZ8Trr6qJyl8eez29KUeqL6nOXc9/QiA07Gc Vp+CypTEhN0W/xeVPofY6rD2U+CQ14bFW1zrb6MghCY3q0GENb1yWlO0cYJBU5nUzV5DsT 64c67DLz3Uz9bnhgcZp4EDorDc6VGqFUuvy4tgWEM6mYBS7bRDcN7585vNd2f8l6v+vTl+ MHUXzUJix8dO4GsoylABptBIVvtFvD3umhvhM4YWLIKRgA3N/QBvOJtuRNBPWg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxqUn-0007be-3W; Tue, 31 Oct 2023 11:17:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qxqUi-0007bE-L9 for guix-patches@gnu.org; Tue, 31 Oct 2023 11:17:28 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qxqUi-0007z8-DW for guix-patches@gnu.org; Tue, 31 Oct 2023 11:17:28 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qxqVG-0007SM-5q for guix-patches@gnu.org; Tue, 31 Oct 2023 11:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66793] [PATCH 3/3] time-machine: Warn when no command is given. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 31 Oct 2023 15:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66793 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Josselin Poiret , Simon Tournier , Mathieu Othacehe , Tobias Geerinckx-Rice , 66793@debbugs.gnu.org, Ricardo Wurmus , Christopher Baines Received: via spool by 66793-submit@debbugs.gnu.org id=B66793.169876543328588 (code B ref 66793); Tue, 31 Oct 2023 15:18:02 +0000 Received: (at 66793) by debbugs.gnu.org; 31 Oct 2023 15:17:13 +0000 Received: from localhost ([127.0.0.1]:48983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxqUT-0007R2-Eq for submit@debbugs.gnu.org; Tue, 31 Oct 2023 11:17:13 -0400 Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]:53592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxqUS-0007Qj-54 for 66793@debbugs.gnu.org; Tue, 31 Oct 2023 11:17:12 -0400 Received: by mail-qt1-x836.google.com with SMTP id d75a77b69052e-41cc7379b23so36054641cf.3 for <66793@debbugs.gnu.org>; Tue, 31 Oct 2023 08:16:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698765392; x=1699370192; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Y/eAnj2cfxfudRTGPjREJEQYWQFqEhyFz4bgh5hPztM=; b=jJ96Abke3oi4nRVVn8CJayziGp6Myx6HI3vh1nOWasNShBVB0TJuEf5W6YInYFZ8Ch pb5YK1Z2qxFH5CSZ84mxIKAjCq4rTfruulMs2TmrWgpSVAK5RDBrNbiFO8okt05WzDoS m9eNllRvjaBCLmINjGw5bD9+DzYh1PCi1CYeA1/UK5vSYS06yAaoRfg1Aj3ww2Av6piT N9wb1RFAdhAj1hmL89NqK1oNLIW3vIiW1LblLESscnA2a3AO4fhXt/E2lXhnvZoPK/sS 2ov0ajV/+5UwN5f1ZdSAruj8Rl5yXzpQFXOE06V+euF/G+hMgMhB1LQiN1Scg8k5uHKt Lj3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698765392; x=1699370192; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Y/eAnj2cfxfudRTGPjREJEQYWQFqEhyFz4bgh5hPztM=; b=T1Ygaj60ThQha24nguiV72i2BHZMLfQR2AF9wjuwrOW+8XWO92ftqQGWx1FF1bFCtm 2qZ8vKZFwENLW/b8Aw6aZD/ckdu9Bl56IOhzasZmZ9GFdPDQPuNoxFg7oTLmZCGvVMGE oCLBYnbLZrn4bgnJSAQRVF6WOTteC4wBYClw9rpXQjtgHy0fXgNirWmHXxoAqOLgXaAu wGGFvuunqjZsbD0qr5dlxDMilppCvriyWhi6R82AUpqm5wwbq2dUx5j/xjpBLhwZL38p gaF8p0T+8CCRlWf2bfyd/hrzdghtaF0cBHUYax2MWjWmxCpN+Pf8/BiqszoqG3/zc/zk Qbpw== X-Gm-Message-State: AOJu0YwtAruD8dKTLZIZsRvBw5acyQQa0MFdMtULtlR6EiIuDtJA/GnH GlXUJFcR0lXKunVZ67At+7A= X-Google-Smtp-Source: AGHT+IEfBZLdG9Ex0MPGAqcA6Y2CI9nylPj5GqCDvpOzEkfig96Zc29ns2y5ihTkyr2FXKeZXsS7Bg== X-Received: by 2002:ac8:5a91:0:b0:403:b645:86fa with SMTP id c17-20020ac85a91000000b00403b64586famr16263542qtc.24.1698765392694; Tue, 31 Oct 2023 08:16:32 -0700 (PDT) Received: from hurd (dsl-10-128-239.b2b2c.ca. [72.10.128.239]) by smtp.gmail.com with ESMTPSA id o23-20020ac841d7000000b00403cce833eesm570732qtm.27.2023.10.31.08.16.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 08:16:32 -0700 (PDT) From: Maxim Cournoyer In-Reply-To: ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sat, 28 Oct 2023 16:08:35 +0200") References: Date: Tue, 31 Oct 2023 11:16:31 -0400 Message-ID: <87y1firfe8.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: A4FFD23BC9 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -3.50 X-Spam-Score: -3.50 X-TUID: e49f8uw0skHX Hi Ludo, Ludovic Court=C3=A8s writes: > * guix/scripts/time-machine.scm (guix-time-machine): Emit a warning when > COMMAND-LINE is false. [...] > + (if command-line > + (let* ((directory > + (with-store store > + (with-status-verbosity (assoc-ref opts 'verbosity) > + (with-build-handler (build-notifier #:use-substit= utes? > + substitutes? > + #:verbosity > + (assoc-ref op= ts 'verbosity) > + #:dry-run? #f) > + (set-build-options-from-command-line store opts) > + (cached-channel-instance store channels > + #:authenticate? authen= ticate? > + #:reference-channels > + %reference-channels > + #:validate-channels > + validate-guix-channel)= )))) > + (executable (string-append directory "/bin/guix"))) > + (apply execl (cons* executable executable command-line))) > + (warning (G_ "no command specified; nothing to do~%"))))))) LGTM. --=20 Thanks, Maxim