GNU bug report logs - #25508
Git hook shebangs should not be rewritten

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Leo Famulari <leo@HIDDEN>; merged with #25304, #26749; dated Sun, 22 Jan 2017 23:27:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Merged 25304 25508 26749. Request was from Jack Hill <jackhill@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Severity set to 'important' from 'normal' Request was from Jack Hill <jackhill@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 22 Jan 2017 23:26:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 22 18:26:04 2017
Received: from localhost ([127.0.0.1]:38568 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cVRWO-0001VM-Fq
	for submit <at> debbugs.gnu.org; Sun, 22 Jan 2017 18:26:04 -0500
Received: from eggs.gnu.org ([208.118.235.92]:58129)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@HIDDEN>) id 1cVRWN-0001Us-7o
 for submit <at> debbugs.gnu.org; Sun, 22 Jan 2017 18:26:03 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <leo@HIDDEN>) id 1cVRWH-0008E4-3M
 for submit <at> debbugs.gnu.org; Sun, 22 Jan 2017 18:25:58 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:55220)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <leo@HIDDEN>) id 1cVRWH-0008Dv-0O
 for submit <at> debbugs.gnu.org; Sun, 22 Jan 2017 18:25:57 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:49089)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <leo@HIDDEN>) id 1cVRWF-00010U-SQ
 for bug-guix@HIDDEN; Sun, 22 Jan 2017 18:25:56 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <leo@HIDDEN>) id 1cVRWB-0008D2-SX
 for bug-guix@HIDDEN; Sun, 22 Jan 2017 18:25:55 -0500
Received: from out1-smtp.messagingengine.com ([66.111.4.25]:42114)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <leo@HIDDEN>)
 id 1cVRWB-0008Cw-NS; Sun, 22 Jan 2017 18:25:51 -0500
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id 144312074A;
 Sun, 22 Jan 2017 18:25:51 -0500 (EST)
Received: from frontend2 ([10.202.2.161])
 by compute4.internal (MEProxy); Sun, 22 Jan 2017 18:25:51 -0500
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=famulari.name; h=
 cc:content-type:date:from:message-id:mime-version:subject:to
 :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=5RU
 hTP1uE/5KIFRw7ZazniPQYno=; b=z18fz0iyKU8DZL9xQ+sQxCgbGoU7PFCBOvC
 64WxbEvMsCCVpPqVYKesFztDFyxMT4EMnpN9cy1woejol8CmGPHqEiPbioEWNYTr
 ILapsHIkBt+y3xR2M5OthAwPDFXVbt84WwIG98pjZIxb70SFfaQ5Is5ui2gwSO2y
 cfU4YsKc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:message-id
 :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc
 :x-sasl-enc; s=smtpout; bh=5RUhTP1uE/5KIFRw7ZazniPQYno=; b=ZPHFC
 THQzjZ/PApyJTlIiEtvnPiT2pzxnmyzfBf/e73OjrLFIKSyZECMSoonqyDDJRA/O
 MrYn3hYSLU27G2OVPKecbSGQYs7Nxr95Sq0aAALikThifH1S4Ff8NOBwLh+Oa4iN
 dDDczhRG/fdmIHsWdfflLSgo6iTEn/sVZoaxv0=
X-ME-Sender: <xms:fz-FWKVYk0ZVtm_pNTz_lAH6T3abLLX0Uc4jGGafl1lObbUHD-95-A>
X-Sasl-enc: FeVbWWmvuGtJkKI1zfpxrG99DcgiaOAdKY3iYl3Jr4ex 1485127550
Received: from localhost (c-73-188-17-148.hsd1.pa.comcast.net [73.188.17.148])
 by mail.messagingengine.com (Postfix) with ESMTPA id BF99A24077;
 Sun, 22 Jan 2017 18:25:50 -0500 (EST)
Date: Sun, 22 Jan 2017 18:25:50 -0500
From: Leo Famulari <leo@HIDDEN>
To: bug-guix@HIDDEN
Subject: Git hook shebangs should not be rewritten
Message-ID: <20170122232550.GB27876@jasmine>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr"
Content-Disposition: inline
User-Agent: Mutt/1.7.2 (2016-11-26)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
Cc: John Darrington <jmd@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)


--liOOAslEiF7prFVr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

----- Forwarded message from John Darrington <john@HIDDEN>=
 -----

Date: Sun, 22 Jan 2017 14:01:24 +0100
=46rom: John Darrington <john@HIDDEN>
To: guix-devel@HIDDEN
Subject: Not patching shebang in git hook samples ?
User-Agent: Mutt/1.5.23 (2014-03-12)

The git package ships with a number of sample hook files.  These are shell =
scripts and
therefore the #!/bin/sh line gets substituted at  build time.

However these files get installed into every git repostory that is created,=
 and users
are invited to use them as templates for their own hooks.

This will be fine until both git and bash are updated.  Now the original ba=
sh is free
to be garbage collected.  If that happens, the path:=20
#!/gnu/store/qkw4zrwfybxww8f56nkb6hggxambk89b-bash-4.4.0/bin/sh
will no longer exist.

I suggest what we turn off the shebang patching for the files in share/temp=
lates for git.

J'

--=20
Avoid eavesdropping.  Send strong encrypted email.
PGP Public key ID: 1024D/2DE827B3=20
fingerprint =3D 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.




----- End forwarded message -----

--liOOAslEiF7prFVr
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAliFP3kACgkQJkb6MLrK
fwg9Jg/9HE3EmpVTW6Uq5oYTegpmoq1VkXZ6OBFGkeBx4Xjv6bJwwpxWwKxcuxTY
jmw/JuvjHCW2TCcLEUNHv5a1xMRZ69dUWzppB9JNWO63h+Qku6rA97CH21fyPpNh
j5gGkV9WQnDi1BXOOggXQ0wYbkOTfa0WzCabdxcvf0CeoZRSYflq6kLothZ4pUF9
XED6xCnNxYjPYGlzjdc9LXYpFuqOOLJrX60xL5I0cibfjbpcK41/pk55YKI0LESp
xNzqKmrS4x2xSJFeQHAsnrLsgModpZPP0+6nMI0NhePs+3d5T3Jaa9imfmNDwy4M
DC6gRy8X9kVg4YU/ljklA5kKDMp/bGP2DHc3KsvgzEu9RjxgeGMRImZnFBqbWFAJ
k3FuOm8VymlkKsOP793ah4QDi4GL4JFrIzxwBF9OY8/yNkiqQHk0R+OCK4xjScBU
WOBCdOLsdkAUgAhQbX/yL4Cklc2YU6+6qY0WwFke/eJP2vn1lOtABQoxxnZzOOhw
hgPMMY4LIldu9xpNyu4zQ6F8s/rmi+n1Vtxr2q+ZKf4rKD6V/z1+Qp+HlDQ7YGXl
/01PwkXKNqKeyz6VogLXwfLJkGbPjhQvnI/9aQA0I3uVMyz5elvYT+qXt09+aZJn
x5JQ2NLMCki4zOYf0dkeDbfAr5lfBlUowEt5tjfgUkmvmwXNBmA=
=/fnN
-----END PGP SIGNATURE-----

--liOOAslEiF7prFVr--




Acknowledgement sent to Leo Famulari <leo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#25508; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 18 Mar 2020 20:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.