From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: git-fetch origin output is read-only - and reproducibility Date: Mon, 29 Jul 2019 17:49:48 +0200 Message-ID: <87k1c07sdf.fsf@elephly.net> References: <20190729165743.04e6a516@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51681) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hs7uQ-0003dJ-9I for guix-devel@gnu.org; Mon, 29 Jul 2019 11:49:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hs7uP-0000L3-C4 for guix-devel@gnu.org; Mon, 29 Jul 2019 11:49:58 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21273) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hs7uP-0000Gy-0W for guix-devel@gnu.org; Mon, 29 Jul 2019 11:49:57 -0400 In-reply-to: <20190729165743.04e6a516@scratchpost.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: guix-devel@gnu.org Hi Danny, > currently, when using the git-fetch origin, the resulting source will have > all files read-only. Further phases trying to do reproducibility patches= have > to manually chmod in order to be able to patch. > > Can we change that? For example change what this origin does or change w= hat > the build systems do by default? I think this would be good. It=E2=80=99s a little annoying when switching = from a tarball to git-fetch because you=E2=80=99ll have to add a phase that make= s all files writable. This would probably have to be changed in the unpack phase of the gnu-build-system, which copies files recursively when the sources are a directory (instead of a tarball). I don=E2=80=99t know if that=E2=80=99s safe to do. Are other fetch methods= affected as well? hg-fetch or svn-fetch, for example? --=20 Ricardo