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 cDQhEmJMRGHGkwAAgWs5BA (envelope-from ) for ; Fri, 17 Sep 2021 10:05:54 +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 wHunDWJMRGEdSwAAbx9fmQ (envelope-from ) for ; Fri, 17 Sep 2021 08:05:54 +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 EEB2CDC3E for ; Fri, 17 Sep 2021 10:05:53 +0200 (CEST) Received: from localhost ([::1]:45960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mR8sb-0003eS-0i for larch@yhetil.org; Fri, 17 Sep 2021 04:05:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mR8rn-0003c4-IO for guix-patches@gnu.org; Fri, 17 Sep 2021 04:05:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46859) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mR8rn-0007k8-3A for guix-patches@gnu.org; Fri, 17 Sep 2021 04:05:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mR8rm-0001Lq-TR for guix-patches@gnu.org; Fri, 17 Sep 2021 04:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50359] [PATCH v3 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, 17 Sep 2021 08:05: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.16318658945148 (code B ref 50359); Fri, 17 Sep 2021 08:05:02 +0000 Received: (at 50359) by debbugs.gnu.org; 17 Sep 2021 08:04:54 +0000 Received: from localhost ([127.0.0.1]:58400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mR8rd-0001Ky-PB for submit@debbugs.gnu.org; Fri, 17 Sep 2021 04:04:53 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:60992 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mR8rb-0001Kg-TB for 50359@debbugs.gnu.org; Fri, 17 Sep 2021 04:04:52 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1631865884; bh=vyyOjLmJdXrHvS8lKxM+aYMGF8KOAjIWUtn+DFvdEf4=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=gGBDxFDrNV/CIMLHSKvPoP2sk2y0NT8XkTWvlXD6JspoKffVe0K8ryclt1qsoc+B+ VHT51w56RmOf8y8vK4578zUfjTXscwNicUjB6JTcPP6zW6OOZ0STX8hRjVf0v+kwfj 8lIK8PZx8xlQWGGJ8wvSYJBzURDdc4OoKmj782GI= In-Reply-To: References: Message-Id: Date: Fri, 17 Sep 2021 10:04:44 +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=1631865954; 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=niJ22kkevl2917Ajx2u3O2tmZhuA8kVrnqr2f310J0Q=; b=Dd1sQjdS5kV4W/QutiEB3hbt6kK9WVNB86hoX/zAzWzPZK/z+cwbf3n8fATR1voYXfha+m nW4um0XhIid2C5Lm2EkP4/FNjs1Z1chWwBOQMQJEWcnAPRQqRLYxgZBlCsx5TIxsUgTziF gmyOfQ1ArJe1jK2lGliokrMuf1s1L3pGG5/fg37HM53yCwwEWo7ZSb3RPmCLqbE75T43Cl CKOLGhlS4LAggeZz0Qj0DLBXKkauDLch7KI8+U4+321LxCNLxyfgGGuFlRjNZVbmfY9Knv Uta286Jt+DOZ3uxOzqvbOlhKvPDxiI/BexgxodT5diOfepEIoOJQloYOGno9Ow== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631865954; a=rsa-sha256; cv=none; b=RZPvHo/cPyt/pTCV9KH1e7UPB7jclMvUF+WqhSxgdeQd9b32vDLvsuafo46TmyMaHUdADi p2hsNQMeZe86neHhRoKxlKgiGkWCjx9yZhAl/xdtZFAKW0byh27OvGHaBBtpjoMgRASr7F o0It1iKGHNV7HV9BR9P0HBhbE2BOHwgpiP2lhaKWHihYRMRpVtCv9jUTw0OCX7++n/34Ct Mqo2ONDJOgb9O7drgdojp8SCjRpZGXDSXVYtL66s/elEAHSmG5t6td3T9zuUQrTYCZEUS2 MuaBmBxQJ5MsbHMQ1aXD28yJNIslFKm7ZcFm2mO/7RPI9IzCDNidM+vi5e1wYg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=gGBDxFDr; 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: -0.30 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=gGBDxFDr; 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: EEB2CDC3E X-Spam-Score: -0.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2f9GzXK0lvaq 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. * tests/channels.scm ("channel-news, one entry"): Adjust accordingly. --- guix/tests/git.scm | 4 ++-- tests/channels.scm | 2 +- 2 files changed, 3 insertions(+), 3 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) diff --git a/tests/channels.scm b/tests/channels.scm index 0264369d9e..8f7ff1e7a8 100644 --- a/tests/channels.scm +++ b/tests/channels.scm @@ -329,7 +329,7 @@ (commit "first commit") (add "src/a.txt" "A") (commit "second commit") - (tag "tag-for-first-news-entry") + (tag "tag-for-first-news-entry" "First news entry!") (add "news.scm" ,(lambda (repository) (let ((previous -- 2.33.0