From patchwork Thu Mar 11 14:42:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Geerinckx-Rice X-Patchwork-Id: 27606 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 962B627BC51; Thu, 11 Mar 2021 15:23:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 18D0727BC50 for ; Thu, 11 Mar 2021 15:23:15 +0000 (GMT) Received: from localhost ([::1]:43088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKN9e-0006Gw-8t for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 10:23:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41016) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKMWl-0006SS-T5 for guix-patches@gnu.org; Thu, 11 Mar 2021 09:43:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41379) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKMWl-0007md-H8 for guix-patches@gnu.org; Thu, 11 Mar 2021 09:43:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKMWl-0000mL-EA for guix-patches@gnu.org; Thu, 11 Mar 2021 09:43:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#47069] [PATCH] etc: Run pre-push make in guix environment. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 14:43:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47069 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47069@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16154737632931 (code B ref -1); Thu, 11 Mar 2021 14:43:03 +0000 Received: (at submit) by debbugs.gnu.org; 11 Mar 2021 14:42:43 +0000 Received: from localhost ([127.0.0.1]:52923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKMWR-0000lD-Dy for submit@debbugs.gnu.org; Thu, 11 Mar 2021 09:42:43 -0500 Received: from lists.gnu.org ([209.51.188.17]:48546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKMWP-0000l5-MN for submit@debbugs.gnu.org; Thu, 11 Mar 2021 09:42:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKMWP-0005mt-Ds for guix-patches@gnu.org; Thu, 11 Mar 2021 09:42:41 -0500 Received: from tobias.gr ([2a02:c205:2020:6054::1]:35018) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKMWN-0007UN-4s for guix-patches@gnu.org; Thu, 11 Mar 2021 09:42:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=Bve35tBXKFPQ4/d83uyCRc0f5HqrpQiL7u7Lk5T8FpU=; h=date:subject:to: from; b=iWYFq8AAvQeOivqq6W+epu7ZTn9rV2AY0PcNfcMd66rzRFnHm6lio9B/jvENm8 j8S4dFW5XMOtob3YtdXvgZAzGB4K+WJlOKK94XyzS7WPwaIB3+OdwxbjPVPxmaPC1iiQfc cr6q5OAF8OVW1l5HkLxwzGMNfbZepEcZP9AtvOPLdVE6jYKFNIlpZEjY5/qJGPY0YYMKfb wVqaE180lasPxoe1Mh62oB8W9+F23NKN9WmqfYliRSzkNuTBFxmiRGs7JS6qR7RDvuq8Ki 2M7SOpFybyVv37at/8lbt94OqtGJ7dp9yu7Ay+P749zvPKfR8WPcMMmqTY28RHLy2NaEpQ == Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 8b9d5fbf (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO) for ; Thu, 11 Mar 2021 14:43:35 +0000 (UTC) Date: Thu, 11 Mar 2021 15:42:57 +0100 Message-Id: <20210311144257.4203-1-me@tobias.gr> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Tobias Geerinckx-Rice X-ACL-Warn: , Tobias Geerinckx-Rice via Guix-patches X-Patchwork-Original-From: Tobias Geerinckx-Rice via Guix-patches via From: Tobias Geerinckx-Rice X-getmail-retrieved-from-mailbox: Patches * etc/git/pre-push: Exec make in a guix development environment. --- Guix, The pre-push assumes you have make installed, which I didn't. Now it assumes that Guix developers have a vaguely up-to-date guix command, which seems reasonable. Kind regards, T G-R etc/git/pre-push | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/git/pre-push b/etc/git/pre-push index 59671b0d58..372c7dece0 100755 --- a/etc/git/pre-push +++ b/etc/git/pre-push @@ -32,7 +32,7 @@ do # Only use the hook when pushing to Savannah. case "$2" in *.gnu.org*) - exec make authenticate check-channel-news + exec guix environment guix -- make authenticate check-channel-news exit 127 ;; *)