From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SEQQCViGO2GQVgAAgWs5BA (envelope-from ) for ; Fri, 10 Sep 2021 18:22:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id aNHfBFiGO2FNewAA1q6Kng (envelope-from ) for ; Fri, 10 Sep 2021 16:22:48 +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 D57BE101AC for ; Fri, 10 Sep 2021 18:22:47 +0200 (CEST) Received: from localhost ([::1]:40160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOjId-0005Wn-1n for larch@yhetil.org; Fri, 10 Sep 2021 12:22:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOjHu-0004VT-GG for guix-patches@gnu.org; Fri, 10 Sep 2021 12:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55758) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mOjHu-0005tk-8E for guix-patches@gnu.org; Fri, 10 Sep 2021 12:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mOjHu-0005cA-4J for guix-patches@gnu.org; Fri, 10 Sep 2021 12:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50359] [PATCH 2/3] tests: git: Make 'tag' directive non-interactive. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 10 Sep 2021 16:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50359 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50359@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Sarah Morgensen Received: via spool by 50359-submit@debbugs.gnu.org id=B50359.163129089421526 (code B ref 50359); Fri, 10 Sep 2021 16:22:02 +0000 Received: (at 50359) by debbugs.gnu.org; 10 Sep 2021 16:21:34 +0000 Received: from localhost ([127.0.0.1]:39067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOjHS-0005b8-D9 for submit@debbugs.gnu.org; Fri, 10 Sep 2021 12:21:34 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:37040 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOjHQ-0005al-VA for 50359@debbugs.gnu.org; Fri, 10 Sep 2021 12:21:33 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1631290885; bh=dcGafiE09F0lvz11QdAsd9lHlaLZq97KCXKZkOyaaJ4=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=a/iuZOJiR5lcoTA4R1FQ3KzfcJtqOguytFqboetM8r2KE+Wb71lGRIBQJqOA3IkyZ B48zgld6EkKMoBoY5Vfoqa/6uMeA1jnqbgou21If2wpUryGbotyeajk9O9QGn3016/ Ydmy08qRAsTKF1GvYv/f+I/ELc3q3twcGgOwvuRs= In-Reply-To: References: Message-Id: <29b4b579f8fe8fc3406a48224c5af28d9e70b865.1631290349.git.public@yoctocell.xyz> Date: Fri, 10 Sep 2021 18:21:25 +0200 MIME-Version: 1.0 Content-Type: text/plain 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=1631290967; 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=4GBOm8CzMQk0ieEHcD6KI4oEpS6QBChjaCpU6deiqu0=; b=sX0exrK3MMU6Cv+ryJx5D78qRfskw3HU7RKbMOG0OhWOHjif0rwFlaczu5J+zUOa70D6WD Ywvvt6EjjM6miRi/Lw+rnSxZf09rZfhTnQICWFWCHceZVSMwN5CV7PV7XWrfEUkcHJB09R rh2BAUIWKEaAZ4qNERjt2Z4JoCDsB0QhNLtq9ShcQJ8s3NGDLsHDgLRnEtUlqYLxzIqwQ4 ChNWdeZaJ8fHch3tqQWdIkGG0X7PEYSpgz7hFQ3sl6Wa018r60aaNgV6wQchtUJLJF1lAB p+hhZtzSyN18FBkeaOgtvqm4pOlG05pZxHQANMR/0JdgDZGgOn9rlYK0KEUuGQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631290967; a=rsa-sha256; cv=none; b=mpTg4weZuekp5VXrz17LxX6dOxEEIyFnwObabVZNlPanZc9Qq4C6nDbBYDPe7ne/3RPase bDs7bCYCKo1EXDcgLj9ypoAol3iCWUenvgxKbHiOTC6ikYPvZfhaxjP6GBrjIlKC6UvwP3 5CWNWIUQ+XFCsJ8/OmhCN9NIRLHbuWR5Uiexc3eatW0//CpVSVULnt4pcurOPDqpTdr8Dd MnFqUZyx+ft/MdVykwt+nfxGerYO8LQVlDM9EkVNkxoTT8/ca7J7ijNChEy10rikVk9YnC dBk1oDrW+xSwijnMtJP6HM1hmL6JjwfKqzBdXJEK382VuENd/461pX+EStKrdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b="a/iuZOJi"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=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.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b="a/iuZOJi"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=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: D57BE101AC X-Spam-Score: 1.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: DsmmCkJgBdiW When running 'git tag TAGNAME', Git will open up the user's default text editor to make them write a message. This is not desirable when running tests. * guix/tests/git.scm (populate-git-repository): Make the 'tag' directive take an additional argument, and pass it to the '-m' flag. --- guix/tests/git.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guix/tests/git.scm b/guix/tests/git.scm index e11541e83b..e8d4946e87 100644 --- a/guix/tests/git.scm +++ b/guix/tests/git.scm @@ -87,8 +87,8 @@ Return DIRECTORY on success." ((('commit text ('signer fingerprint)) rest ...) (git "commit" "-m" text (string-append "--gpg-sign=" fingerprint)) (loop rest)) - ((('tag name) rest ...) - (git "tag" name) + ((('tag name text) rest ...) + (git "tag" "-m" text name) (loop rest)) ((('branch name) rest ...) (git "branch" name) -- 2.33.0