From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#25508: Git hook shebangs should not be rewritten Date: Sun, 22 Jan 2017 18:25:50 -0500 Message-ID: <20170122232550.GB27876@jasmine> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVRXP-00013J-4k for bug-guix@gnu.org; Sun, 22 Jan 2017 18:27:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVRXL-0008RQ-4n for bug-guix@gnu.org; Sun, 22 Jan 2017 18:27:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:40369) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cVRXL-0008RI-1c for bug-guix@gnu.org; Sun, 22 Jan 2017 18:27:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cVRXJ-0001Wm-WE for bug-guix@gnu.org; Sun, 22 Jan 2017 18:27:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVRWF-00010U-SQ for bug-guix@gnu.org; Sun, 22 Jan 2017 18:25:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVRWB-0008D2-SX for bug-guix@gnu.org; Sun, 22 Jan 2017 18:25:55 -0500 Content-Disposition: inline List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 25508@debbugs.gnu.org Cc: John Darrington --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable ----- Forwarded message from John Darrington = ----- Date: Sun, 22 Jan 2017 14:01:24 +0100 =46rom: John Darrington To: guix-devel@gnu.org 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--