From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IPQ6Ju5cy16DVgAA0tVLHw (envelope-from ) for ; Mon, 25 May 2020 05:51:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uJWaIe5cy16iEgAAbx9fmQ (envelope-from ) for ; Mon, 25 May 2020 05:51:42 +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 D6936940039 for ; Mon, 25 May 2020 05:51:41 +0000 (UTC) Received: from localhost ([::1]:36264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jd61U-0007YD-N9 for larch@yhetil.org; Mon, 25 May 2020 01:51:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jd61K-0007Vy-Tl for guix-devel@gnu.org; Mon, 25 May 2020 01:51:30 -0400 Received: from flashner.co.il ([178.62.234.194]:52980) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jd61J-0002u2-81; Mon, 25 May 2020 01:51:30 -0400 Received: from localhost (unknown [188.120.128.132]) by flashner.co.il (Postfix) with ESMTPSA id 797194005F; Mon, 25 May 2020 05:51:27 +0000 (UTC) Date: Mon, 25 May 2020 08:50:55 +0300 From: Efraim Flashner To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: Updating the =?utf-8?B?4oCccHJlLXB1?= =?utf-8?B?c2jigJ0=?= Git hook Message-ID: <20200525055055.GA17182@E5400> References: <87imgn8zsv.fsf@gnu.org> <20200524064115.GC858@E5400> <878shhxb0h.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: <878shhxb0h.fsf@gnu.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/25 01:51:27 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -2.61 X-TUID: /89U5eiHbfxd --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 24, 2020 at 11:45:34PM +0200, Ludovic Court=C3=A8s wrote: > Hi, >=20 > Efraim Flashner skribis: >=20 > > On Fri, May 22, 2020 at 10:44:48PM +0200, Ludovic Court=C3=A8s wrote: > >> Hello Guix! > >>=20 > >> I think we should change our pre-push hook as shown below. > >>=20 > >> Thoughts? > >>=20 > >> Thanks, > >> Ludo=E2=80=99. > >>=20 > > > > (ins)efraim@E5400 ~$ type -P make > > (ins)efraim@E5400 ~$ command -v make > > > > I'd need to run 'guix environment --ad-hoc make -- git push' >=20 > You=E2=80=99d need to run =E2=80=98git push=E2=80=99 from a full Guix dev= elopment environment. > Do you think it could be a problem? I'd probably run 'guix environment guix -- git push origin master' and view it as an additional safe guard to not push to the wrong branch or something, similar to how I view the password on the key. I bet there's an option to create a repo-specific alias in .git/config so that 'git push' will run inside 'guix environment guix'. I'm not convinced that my case is unique or that it should hold back the change. How does it work if 'make authenticate' fails? --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl7LXLsACgkQQarn3Mo9 g1EGlw/8CWQQtrPwEoFWR8ypPDc0ZHbEqpXR5fG8ekxjZHcdskfwsyZIEKRSyUpI UXfHAIj6BIBxGsFWoavY//01V5alI3u0LQLSuZf3MsBZaRs2h8GFG7bKQe1O1QTY YBiVprf76zKFVu27yObst2WHBWcB6XF+kibbexPJfkrn3XBn8k7+5KSafu9pZ9bM g9Hr74Eeke6oyAYf+MvZa3QzsUi8NcYy9uVbewCKvWEavO1WTUQTpPM5vTrvzSS1 2ZsKcc+1hyPBpr87lVjOC6sSBus0E3zIEhMCItQ6EePnlMbCSrdrm82eK9MtPvgM +K80h6kw4fSgd/vPKnLEH6f4SacHvDgFeiT+SyG97nShdK8wKXAu4WTTKjRXBDdH NsGg4X60oFZRprgYlYHyUkK7gIJfmgPkTVNROtWXZs3qjs9//KkgSzp59Kl9eyGL vYf09rOHvG5xq/Ndh7xLsKTtkkFBUAg3n8yg/DHCdMjsUf1fWNTMN1LNSEap4+ye sy4wBdWF8pGgR3dYqNyKY6azXtqfdaLPcdhPfb3s+N5sxyd55kmkm+GPhkG/rtQq Ct+Mq0u077xiU5AR2ULJkN7ZHWCaf7//4rWI9aDpdpqgBO43SN9ttuJi4BHbkxj8 IBtXn17QolVM2NKBPz4OHaXBxvjJwu4qg+FD8bHj512ic1IDQFY= =gm1W -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0--