From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id mIS3Fyqx5WUDhQAAqHPOHw:P1 (envelope-from ) for ; Mon, 04 Mar 2024 12:31:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id mIS3Fyqx5WUDhQAAqHPOHw (envelope-from ) for ; Mon, 04 Mar 2024 12:31:54 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=l68NSKjL; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=QFXwfYoA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=wolfsden.cz (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709551914; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=OoBK+idANEiPItWVxvVz1323TWHWcN9/pBi8+u08m0U=; b=QFZUqn/uTKvxblvmvnrgSTG05TZlVeZYpYqAhwWLXmO7UJoVz98FgAoj/GdDs1x6D0WkV8 J76DugPGiGxgr3l/5vUJ4d44JHO25bwmP/x7K8anXofgCQ7sAREvty5H+KW12AC1CoLWEN YB74g22ExEncV1YAUGVeAg3foVkLb5qUdsTWsPoI9NQnCGw8nPolfvv4SPHANhdUXg+WJk hmKdpzSBqx8SzguH8j/m/n+WJG5sjpdgY/HUl3ruT2jpRzNzB9JFuJY8QTyQICDigpUgff gWJvLfM9c0Sj0TwiYv2ZoxMxmZUvVt4jVkePcYi52gbp+c4UNl7c5XJFKfMP3g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=l68NSKjL; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=QFXwfYoA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=wolfsden.cz (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709551914; a=rsa-sha256; cv=none; b=YT6qKpYGKGYrh3FrmlbrvyMwAQfUFD9SZv0pwjEs3Zwaeaszi/FXjAYfj746qgubX4psZ+ DD3FHuEQx91R2Pz1h0pkmsz7MreLqPjAm09YTFR3f9K6FNZnvXCQOh2Pb6NAkMLFoQvDoT YzOZpsT/7WP9tJB01uVvwB8eZATWtr5MpqCRJd9lwx2tBrvHMXsC5BOmS3Wg9ZIGlvm+kc 7c+3UhWdrVsvInTx84TOP7NEbQXWSbQ50EvzC+UECHzJ1/5MS6a78GmrzmvLouel3e4uiQ Aizit8WggY63LwCuo0UoUPChO23pjOcBUMP8l7iw9p7oi6jw/B9soJB2JX8KjA== 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 00BE838240 for ; Mon, 4 Mar 2024 12:31:54 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rh6Xe-0003wJ-3b; Mon, 04 Mar 2024 06:31:34 -0500 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 1rh6Xd-0003w9-71 for bug-guix@gnu.org; Mon, 04 Mar 2024 06:31:33 -0500 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 1rh6Xc-0004YI-IS for bug-guix@gnu.org; Mon, 04 Mar 2024 06:31:32 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rh6Y6-00085o-1T for bug-guix@gnu.org; Mon, 04 Mar 2024 06:32:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#69540: pre-push hook tries to check only the first ref Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 04 Mar 2024 11:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69540 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 69540@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170955187631044 (code B ref -1); Mon, 04 Mar 2024 11:32:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Mar 2024 11:31:16 +0000 Received: from localhost ([127.0.0.1]:42153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rh6XM-00084d-HE for submit@debbugs.gnu.org; Mon, 04 Mar 2024 06:31:16 -0500 Received: from lists.gnu.org ([209.51.188.17]:60270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1rh6XL-00084W-7Y for submit@debbugs.gnu.org; Mon, 04 Mar 2024 06:31:15 -0500 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 <~@wolfsden.cz>) id 1rh6Wr-0003re-4d for bug-guix@gnu.org; Mon, 04 Mar 2024 06:30:45 -0500 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1rh6Wm-0004FE-SH for bug-guix@gnu.org; Mon, 04 Mar 2024 06:30:44 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id 209D924B8AA; Mon, 4 Mar 2024 11:30:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1709551837; bh=WrzzyNEDrv+hqeGIWIMP7frCqov/joj9AoiE3smsiEw=; h=Date:From:To:Subject; b=l68NSKjLOg+jGTB573HGPn1MdYmDUKMriozRZ/uNJNArbFkNkfO417Lt8dqTj4Svh hbB/BPph2JO6QR0dlyCsg0RjeR0i3SfP617K9LfPeyKT21IC34UIfxEwCGJCmLBwJ5 HyS8a9ljSIJgFh/pVUilKwHOgz6xsrsOTi30lvzEnEweIr3ZWKXGH2/FBefPa93K8I +Rx1Nu36LnqaRtXxktxt6Z1CvQeUN4Y/Ick8wJI7ooactjd8TN3znJ86Rmzi4spRNv ZAFivaSFMIk4mCrANfS+rxQ/tzuqOw1tcMLkwdtB8ZbYFQvDfUgN2VM57CnG7ns+/w TnS2VTaMiMvOV0U8r7xUXLfon/bIyZg4nwwA9cN/MlivUPFfLhgdJRWTmyy+alynz2 7OqNwySbzTi/qfvlrXhMpzBoa5sA4CdWVsUEMeWxfUgR5YTUqRvL7v9xrDrLMX6n+L Zs6vlS/qhaHHf1AmKQNx9JLAbfbm4aSoIqhOxvh+C/JNS3xjCQJONQ/r4Ljyu4wXqH 2o6jzsvvu5PkO1sz0uEeViqkJqev22qnyM9Hr4c3tgnhhyH1yPRPZVSsKIOw3hqXNn wSwa3AKYXTrmBciufxsM21I5ZX43Y28sThAhvXDt3vJBF5lTEhqUXnv0Cox3KFa36G nQmaJwIUFR39f4QeIulPpewU= Received: from localhost (unknown [81.17.16.82]) by wolfsden.cz (Postfix) with ESMTPSA id 212EE24B9AA for ; Mon, 4 Mar 2024 11:30:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1709551836; bh=WrzzyNEDrv+hqeGIWIMP7frCqov/joj9AoiE3smsiEw=; h=Date:From:To:Subject; b=QFXwfYoAqYoA4JsSw0sjYBmRLKIs/dd/3x1lLP9ViRJ3h21SQocSkGdDFwUj3vS3E xsNqY0y6WRSPfActIHyjvo/Ac1EJakYwmWRNyPhlR9TlTQBvke18agmqLbDlljCgzm zzJBHWzGQIsfTmjwFlvHz3TZP8fBMS7nr3yrmMHkcJg9hkMzS4epnseJ8SBpU6dT/3 Uyb/AU4gl+v7BwIMf2ggaQRXisT9HpTkef/azmFQwoI9Rn6pFFQ6EqN6lkFVWSv5Ng KOc0+XQMUkJAL4cyj5NTTvcanRx2kAlhBTosL+rNzAxuMi3SDalIcVBEEe9/7LHCB8 xfoYs+y5VsywUDDX4ztbMkgXYXGl5vragvq1Yzi6BIqPF0nReHc2NGOuuaHnHyCoZX vhdwlvGvT8dj0G3Kg6j5vKaHFJFI7Ibm9/sw0esMp6Uu4nomFB72fYLyZZYjGv990w R7qCYSibuGYmbiIkSSextzG+mgKNf9ii1toBRXiUtwyTji6njS13krU7+KSSnF7eVW hX2dvyC5w1WfBA4LaKZCWmzJEIV3UepUBFLZaAmK1oJlNufBPlCz3ACJdgxkjeNQSV 3Fq0JQmEB+7Sgo/dPw0fpYhzQSjmlearGpujl9kXJX7ZFHlYBoczsHgsX39ew4zVn0 2/4B/A+KpyT8VyvIwkKcA+FE= Date: Mon, 4 Mar 2024 12:30:35 +0100 From: Tomas Volf <~@wolfsden.cz> Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fsyfwTO9fYzfZCd2" Content-Disposition: inline Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz 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, T_SCC_BODY_TEXT_LINE=-0.01 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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 3.86 X-Spam-Score: 3.86 X-Migadu-Queue-Id: 00BE838240 X-Migadu-Scanner: mx13.migadu.com X-TUID: q9cT3NcXqHsq --fsyfwTO9fYzfZCd2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, I have noticed that despite the pre-push hook having a `while' loop to read all the refs, it calls exec/exit on the very first one. Effectively that means that only the first ref is checked, the rest is assumed to be authenticated. That seems wrong. Have a nice day, Tomas Volf -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --fsyfwTO9fYzfZCd2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmXlsNsACgkQL7/ufbZ/ wak+Ng/+JbtEk232HXDSsPeyGwHT0y45F4cDRIiRhABpXhleR9URKKw49Q3+bQ/S ylXl6ppqvtXBbgaRg8qKoLXXuuqo2UesSN0QpOJGKMfdKuN8jgMx7dUFxIUd9jqu gPzZPoiokfomu5TijPn8opaoosNDazS/E45LuwgSS9f1c8K7F1r4300ZrnAlQ9sR VGsAP6w5920abGeVPV1F863rYCJhrV2soxQTI1S3AOZqtuTmIFG4KIg9Y9+pRz6P DowZF7wK7WgRqUK5rneJVA2oMYfEbeFG5s6ZLWuzhQxv/kcFRa13mB4piftqmkyI x6g7MbdkzL1xRfLGWK02dKn4qvsfIwEG1fZ/bs3d3qSlICD0VQoNFWFijz4v1NyF CBEBIM4vVzIxiUGhjJqvWViQ+6354x+kwEhHjFqrF+KVwkm/6m4QPU2WitL1WHxR uXCGYC9mMMgj+JfarJtSBC7ZXbYdGKzodmk6iRmpdZSu5SSRt+K/Mml1qPGeKql+ pV9k0lyJw3yThvD+WDDQgJMRHGMGoc3xy2o6DDsR741+vLjnXxQJZc6X9GdWlnI3 X7sovBM6unOKK3H/+vy7o0Envs4C4tR+6r7penbbbzCBDMGDF5/WOWSD+qHDiZcm YnbcbTLEu8GoHHMs/7mGqgZmH2PaeiKb2K2ejv7TwjzM4FDLpLk= =JvtJ -----END PGP SIGNATURE----- --fsyfwTO9fYzfZCd2--