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 +EFSCjKGO2GQVgAAgWs5BA (envelope-from ) for ; Fri, 10 Sep 2021 18:22:10 +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 mIoiBjKGO2GadAAA1q6Kng (envelope-from ) for ; Fri, 10 Sep 2021 16:22:10 +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 C81A110172 for ; Fri, 10 Sep 2021 18:22:09 +0200 (CEST) Received: from localhost ([::1]:38826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOjI0-0004cO-Tn for larch@yhetil.org; Fri, 10 Sep 2021 12:22:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOjHv-0004W8-3O for guix-patches@gnu.org; Fri, 10 Sep 2021 12:22:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55757) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mOjHt-0005te-Rc for guix-patches@gnu.org; Fri, 10 Sep 2021 12:22:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mOjHt-0005c2-O0 for guix-patches@gnu.org; Fri, 10 Sep 2021 12:22:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50359] [PATCH 1/3] tests: git: Don't read from the users global Git config file. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 10 Sep 2021 16:22:01 +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.163129088921505 (code B ref 50359); Fri, 10 Sep 2021 16:22:01 +0000 Received: (at 50359) by debbugs.gnu.org; 10 Sep 2021 16:21:29 +0000 Received: from localhost ([127.0.0.1]:39064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOjHN-0005an-64 for submit@debbugs.gnu.org; Fri, 10 Sep 2021 12:21:29 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:37028 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOjHK-0005aU-VP for 50359@debbugs.gnu.org; Fri, 10 Sep 2021 12:21:27 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1631290879; bh=D1fehBRccifXBpnZDbd2xCB6H0KHAxZb9ggk4wYluzo=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=VzHe2oGMqjxV6gRWm3m2hRccE4+9farsMJ69LkE8NdVQ/jCig24BtW+Jc45ca8Bne l9lAfXeTPlbjaYyOoCFXoI+nRRfRyoU/Z8pOn2Gm1lGF/Ru3u1dDtaM0NPBbjU67gq rziRMTdkN9oeUilib174bvDBOf/Qd49Ko8cv7Ijg= In-Reply-To: References: Message-Id: <04db258c6eb1b90dca9f2b32a7bc40ed8e39c471.1631290349.git.public@yoctocell.xyz> Date: Fri, 10 Sep 2021 18:21:17 +0200 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631290929; 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=X7X3tyvgqoeQLnB16T5KnPCNMzov/pfNZ7izhpTEHK8=; b=BBn+PyT1Q+X3WoiiZpWmDJKXcQJwf/24S+6Alj7tZf+rc9g7XuE0+uUD5koDBb09dUD4dn LWwbCgU4ChfUJYuBEEBOHyyyBl2WmK/+uIk8CKTf7f47izFfAUo+wiXQTEzB3FLQLhpfNw AEcKfGsN/9J7N4LgyOAiI45AI+LBGBN/ZmAvdDrSidYD9h4ml58qkdiWFAq5yVXIUEa5BM HyHNG+hSfytJLLkum0W+Hlwb5Zk0mOeXTdHAGzC7jB/eSmLDex7blBeZE6FQIfMfjTatvI GNMHADH5tj/hNRcRb9AOXoiK5S651lNjy8QinpJRf5nRGBq8MT4odiS7bhIhYQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631290929; a=rsa-sha256; cv=none; b=QhEQrdt5UkqEW9KpvQHUNE6TNwSk3Htr6Tzd9FJpno5NhpoGX4NMgsfzIb83A7+yERjp1p 0R1Da8oIkL2USApMqIN1Wjt1zNkxQIBFoulg+pXxeeqRplLpKGA3nqY/QEb7fiMe4N9bqT 4dJnRhCyNocEdb4vpRHxYmC9dJFMTge9kB+yb0RUfqf+x+kSXKpO7s4r4/tBWvshmzJX5m PYswVrxYZMq/Hi18PmtOmCnRqHGJK6BHyHDxpaBWLkwOEPgpGS3nOTcHM559TFfTZIwQZf 6ZnCvu5TUkC7LIp7pgim33CYE2dzuPTUyUTdrCIv7s+zINwyf7MSpHbwV/5ffg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=VzHe2oGM; 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=VzHe2oGM; 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: C81A110172 X-Spam-Score: 1.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: ehKDt3Tlh8ww * guix/tests/git (populate-git-repository): Set the GIT_CONFIG_GLOBAL environment variable to the temporary Git config file. --- Without this, Git would try to sign the commits when running tests/git.scm, this was beacuse I had set =E2=80=98gpgSign =3D true=E2=80= =99 in ~/.config/git/config. Setting the environment variable would remove this impurity. guix/tests/git.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guix/tests/git.scm b/guix/tests/git.scm index b8e5f7e643..e11541e83b 100644 --- a/guix/tests/git.scm +++ b/guix/tests/git.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2019, 2020 Ludovic Court=C3=A8s +;;; Copyright =C2=A9 2021 Xinglu Chen ;;; ;;; This file is part of GNU Guix. ;;; @@ -53,6 +54,7 @@ Return DIRECTORY on success." (with-environment-variables `(("GIT_CONFIG_NOSYSTEM" "1") ("GIT_ATTR_NOSYSTEM" "1") + ("GIT_CONFIG_GLOBAL" ,(string-append home "/.gitconfig")) ("HOME" ,home)) (apply invoke (git-command) "-C" directory command args))))) --=20 2.33.0