From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 22 05:56:31 2018 Received: (at submit) by debbugs.gnu.org; 22 Jul 2018 09:56:32 +0000 Received: from localhost ([127.0.0.1]:51559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhB6N-0006lM-GY for submit@debbugs.gnu.org; Sun, 22 Jul 2018 05:56:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhB6J-0006l8-Pp for submit@debbugs.gnu.org; Sun, 22 Jul 2018 05:56:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhB6D-0003rE-Ia for submit@debbugs.gnu.org; Sun, 22 Jul 2018 05:56:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FROM_EXCESS_BASE64 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46307) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fhB6D-0003rA-Eg for submit@debbugs.gnu.org; Sun, 22 Jul 2018 05:56:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhB6C-0004o8-1u for bug-guix@gnu.org; Sun, 22 Jul 2018 05:56:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhB68-0003n3-5a for bug-guix@gnu.org; Sun, 22 Jul 2018 05:56:20 -0400 Received: from m4s11.vlinux.de ([83.151.27.109]:46870 helo=bjoernhoefling.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhB67-0003lK-Ta for bug-guix@gnu.org; Sun, 22 Jul 2018 05:56:16 -0400 Received: from alma-ubu (p57B52973.dip0.t-ipconnect.de [87.181.41.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id 2F4813F8CA for ; Sun, 22 Jul 2018 11:56:14 +0200 (CEST) Date: Sun, 22 Jul 2018 11:56:07 +0200 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= To: Subject: Guix does not search sources locally by hash Message-ID: <20180722115607.1eea6917@alma-ubu> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/7Lp31ur+0j=DnrHkvGHOQH1"; protocol="application/pgp-signature" 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.9 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.9 (-----) --Sig_/7Lp31ur+0j=DnrHkvGHOQH1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable [Note: This concrete package is nonfree/Yoghurt-ware, but it's just used here for showing the general problem, so I think it is OK to post it here]. I renamed a package definition from "eclipse-java" to "java-eclipse". Now upstream seams no longer be availabe: $> ./pre-inst-env guix build java-eclipse [..] @ build-started /gnu/store/lqfw971srfifgql68ibdgh58vi4d8fq3-java-eclipse-ox= ygen-3a-linux-gtk-x86_64.tar.gz.drv - x86_64-linux /var/log/guix/drvs/lq//f= w971srfifgql68ibdgh58vi4d8fq3-java-eclipse-oxygen-3a-linux-gtk-x86_64.tar.g= z.drv.bz2 guile: warning: failed to install locale warning: failed to install locale: Invalid argument Starting download of /gnu/store/dcjzplbvc27amcdgd9kffmyhskdw80d7-java-eclip= se-oxygen-3a-linux-gtk-x86_64.tar.gz =46rom https://www.eclipse.org/downloads/download.php?r=3D1&nf=3D1&file=3D/te= chnology/epp/downloads/release/oxygen/3a/java-eclipse-oxygen-3a-linux-gtk-x= 86_64.tar.gz... ERROR: download failed "https://www.eclipse.org/downloads/download.php?r=3D= 1&nf=3D1&file=3D/technology/epp/downloads/release/oxygen/3a/java-eclipse-ox= ygen-3a-linux-gtk-x86_64.tar.gz" 404 "Not Found" Starting download of /gnu/store/dcjzplbvc27amcdgd9kffmyhskdw80d7-java-eclip= se-oxygen-3a-linux-gtk-x86_64.tar.gz =46rom http://mirror.hydra.gnu.org/file/java-eclipse-oxygen-3a-linux-gtk-x86_= 64.tar.gz/sha256/0m7y7jfm059w01x9j5b5qkinjjmhkyygpjabhjf19fg2smxmwcim... ERROR: download failed "http://mirror.hydra.gnu.org/file/java-eclipse-oxyge= n-3a-linux-gtk-x86_64.tar.gz/sha256/0m7y7jfm059w01x9j5b5qkinjjmhkyygpjabhjf= 19fg2smxmwcim" 404 "Not Found" Starting download of /gnu/store/dcjzplbvc27amcdgd9kffmyhskdw80d7-java-eclip= se-oxygen-3a-linux-gtk-x86_64.tar.gz =46rom http://tarballs.nixos.org/sha256/0m7y7jfm059w01x9j5b5qkinjjmhkyygpjabh= jf19fg2smxmwcim... ERROR: download failed "http://tarballs.nixos.org/sha256/0m7y7jfm059w01x9j5= b5qkinjjmhkyygpjabhjf19fg2smxmwcim" 404 "Not Found" [...] So, what you see here is that Guix is looking for the sources JUST by hash on remote sites (Hydra, Nix). But it does NOT search locally. Because I already have: guix hash /gnu/store/56h6snwcawpzk6rhcwgk442wsx6k86q2-eclipse-java-oxygen-3= a-linux-gtk-x86_64.tar.gz 0m7y7jfm059w01x9j5b5qkinjjmhkyygpjabhjf19fg2smxmwcim If Guix searches remotely by hash, I would find it obvious that Guix searches beforehand locally by hash. But it does not. Bj=C3=B6rn --Sig_/7Lp31ur+0j=DnrHkvGHOQH1 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAltUVLgACgkQvyhstlk+X/0dYQCgroEjR6RP1kmbRamCqM0a9m2G Z1YAnRBHop3opDYBA6gkIWHLxO1n4v9e =Ubjs -----END PGP SIGNATURE----- --Sig_/7Lp31ur+0j=DnrHkvGHOQH1-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 23 04:41:27 2018 Received: (at 32245) by debbugs.gnu.org; 23 Jul 2018 08:41:27 +0000 Received: from localhost ([127.0.0.1]:53050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhWPH-0001G8-BK for submit@debbugs.gnu.org; Mon, 23 Jul 2018 04:41:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhWPF-0001Fv-V7 for 32245@debbugs.gnu.org; Mon, 23 Jul 2018 04:41:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhWP6-0000Ak-Sz for 32245@debbugs.gnu.org; Mon, 23 Jul 2018 04:41:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33440) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhWP6-0000Af-Op; Mon, 23 Jul 2018 04:41:16 -0400 Received: from [193.50.110.227] (port=34518 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fhWP6-0002p7-9y; Mon, 23 Jul 2018 04:41:16 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: =?utf-8?Q?Bj=C3=B6rn_H=C3=B6fling?= Subject: Re: bug#32245: Guix does not search sources locally by hash References: <20180722115607.1eea6917@alma-ubu> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 5 Thermidor an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 23 Jul 2018 10:41:14 +0200 In-Reply-To: <20180722115607.1eea6917@alma-ubu> (=?utf-8?Q?=22Bj=C3=B6rn?= =?utf-8?Q?_H=C3=B6fling=22's?= message of "Sun, 22 Jul 2018 11:56:07 +0200") Message-ID: <877elmuyxh.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32245 Cc: 32245@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hi, Bj=C3=B6rn H=C3=B6fling skribis: > $> ./pre-inst-env guix build java-eclipse > [..] > @ build-started /gnu/store/lqfw971srfifgql68ibdgh58vi4d8fq3-java-eclipse-= oxygen-3a-linux-gtk-x86_64.tar.gz.drv - x86_64-linux /var/log/guix/drvs/lq/= /fw971srfifgql68ibdgh58vi4d8fq3-java-eclipse-oxygen-3a-linux-gtk-x86_64.tar= .gz.drv.bz2 [...] > But it does NOT search locally. Because I already have: > > guix hash /gnu/store/56h6snwcawpzk6rhcwgk442wsx6k86q2-eclipse-java-oxygen= -3a-linux-gtk-x86_64.tar.gz > 0m7y7jfm059w01x9j5b5qkinjjmhkyygpjabhjf19fg2smxmwcim It does, but the file name matters. In this case what you have is =E2=80=9Ceclipse-java-=E2=80=A6=E2=80=9D but you=E2=80=99re trying to build= =E2=80=9Cjava-eclipse-=E2=80=A6=E2=80=9D. So you first need to add the file to the store under its expected name. You can do that for instance with: guix download file://=E2=80=A6/java-eclipse-=E2=80=A6 HTH! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 23 05:50:58 2018 Received: (at 32245) by debbugs.gnu.org; 23 Jul 2018 09:50:58 +0000 Received: from localhost ([127.0.0.1]:53082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhXUY-0002rI-BQ for submit@debbugs.gnu.org; Mon, 23 Jul 2018 05:50:58 -0400 Received: from m4s11.vlinux.de ([83.151.27.109]:57242 helo=bjoernhoefling.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhXUW-0002r8-FL for 32245@debbugs.gnu.org; Mon, 23 Jul 2018 05:50:56 -0400 Received: from alma-ubu (p57B52973.dip0.t-ipconnect.de [87.181.41.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id 1A32140A45; Mon, 23 Jul 2018 11:50:55 +0200 (CEST) Date: Mon, 23 Jul 2018 11:50:53 +0200 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= To: ludo@gnu.org (Ludovic =?UTF-8?B?Q291cnTDqHM=?=) Subject: Re: bug#32245: Guix does not search sources locally by hash Message-ID: <20180723115053.67423d42@alma-ubu> In-Reply-To: <877elmuyxh.fsf@gnu.org> References: <20180722115607.1eea6917@alma-ubu> <877elmuyxh.fsf@gnu.org> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/ZnU2l4dFxC4_V51OVqepGn7"; protocol="application/pgp-signature" X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 32245 Cc: 32245@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) --Sig_/ZnU2l4dFxC4_V51OVqepGn7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 23 Jul 2018 10:41:14 +0200 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > Hi, >=20 > Bj=C3=B6rn H=C3=B6fling skribis: >=20 > > $> ./pre-inst-env guix build java-eclipse > > [..] > > @ > > build-started /gnu/store/lqfw971srfifgql68ibdgh58vi4d8fq3-java-eclipse-= oxygen-3a-linux-gtk-x86_64.tar.gz.drv > > - > > x86_64-linux /var/log/guix/drvs/lq//fw971srfifgql68ibdgh58vi4d8fq3-java= -eclipse-oxygen-3a-linux-gtk-x86_64.tar.gz.drv.bz2 >=20 > [...] >=20 > > But it does NOT search locally. Because I already have: > > > > guix > > hash /gnu/store/56h6snwcawpzk6rhcwgk442wsx6k86q2-eclipse-java-oxygen-3a= -linux-gtk-x86_64.tar.gz > > 0m7y7jfm059w01x9j5b5qkinjjmhkyygpjabhjf19fg2smxmwcim >=20 > It does, but the file name matters. In this case what you have is > =E2=80=9Ceclipse-java-=E2=80=A6=E2=80=9D but you=E2=80=99re trying to bui= ld =E2=80=9Cjava-eclipse-=E2=80=A6=E2=80=9D. >=20 > So you first need to add the file to the store under its expected > name. You can do that for instance with: >=20 > guix download file://=E2=80=A6/java-eclipse-=E2=80=A6 >=20 > HTH! Not sure yet. I havent't tried it yet, but I'm sure your solution helps with the specific problem here. (Also updating the URL helps even better :-)) What I feel strange here is: * When the file is already on the local disk, it has to match a certain file name criteria. Quite hard criteria. * But when asking outside repositories over the network, we just "take anything that has the hashsum". Is that wanted behaviour?=20 Bj=C3=B6rn --Sig_/ZnU2l4dFxC4_V51OVqepGn7 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAltVpP4ACgkQvyhstlk+X/1sjACePjPgdVtwt5gGd93/nRAPtvOo JDIAnjJpFlxD8iKMFngh5ffo7loW8AW9 =D49w -----END PGP SIGNATURE----- --Sig_/ZnU2l4dFxC4_V51OVqepGn7-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 23 10:51:03 2018 Received: (at 32245) by debbugs.gnu.org; 23 Jul 2018 14:51:03 +0000 Received: from localhost ([127.0.0.1]:54224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhcAw-0005qS-Se for submit@debbugs.gnu.org; Mon, 23 Jul 2018 10:51:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55069) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhcAv-0005py-38 for 32245@debbugs.gnu.org; Mon, 23 Jul 2018 10:51:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhcAm-0004ah-KN for 32245@debbugs.gnu.org; Mon, 23 Jul 2018 10:50:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhcAm-0004aY-FS; Mon, 23 Jul 2018 10:50:52 -0400 Received: from [193.50.110.227] (port=34892 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fhcAm-0002hU-0E; Mon, 23 Jul 2018 10:50:52 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: =?utf-8?Q?Bj=C3=B6rn_H=C3=B6fling?= Subject: Re: bug#32245: Guix does not search sources locally by hash References: <20180722115607.1eea6917@alma-ubu> <877elmuyxh.fsf@gnu.org> <20180723115053.67423d42@alma-ubu> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 5 Thermidor an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 23 Jul 2018 16:50:49 +0200 In-Reply-To: <20180723115053.67423d42@alma-ubu> (=?utf-8?Q?=22Bj=C3=B6rn?= =?utf-8?Q?_H=C3=B6fling=22's?= message of "Mon, 23 Jul 2018 11:50:53 +0200") Message-ID: <87lga2ovjq.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32245 Cc: 32245@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Bj=C3=B6rn H=C3=B6fling skribis: > On Mon, 23 Jul 2018 10:41:14 +0200 > ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > >> Hi, >>=20 >> Bj=C3=B6rn H=C3=B6fling skribis: >>=20 >> > $> ./pre-inst-env guix build java-eclipse >> > [..] >> > @ >> > build-started /gnu/store/lqfw971srfifgql68ibdgh58vi4d8fq3-java-eclipse= -oxygen-3a-linux-gtk-x86_64.tar.gz.drv >> > - >> > x86_64-linux /var/log/guix/drvs/lq//fw971srfifgql68ibdgh58vi4d8fq3-jav= a-eclipse-oxygen-3a-linux-gtk-x86_64.tar.gz.drv.bz2 >>=20 >> [...] >>=20 >> > But it does NOT search locally. Because I already have: >> > >> > guix >> > hash /gnu/store/56h6snwcawpzk6rhcwgk442wsx6k86q2-eclipse-java-oxygen-3= a-linux-gtk-x86_64.tar.gz >> > 0m7y7jfm059w01x9j5b5qkinjjmhkyygpjabhjf19fg2smxmwcim >>=20 >> It does, but the file name matters. In this case what you have is >> =E2=80=9Ceclipse-java-=E2=80=A6=E2=80=9D but you=E2=80=99re trying to bu= ild =E2=80=9Cjava-eclipse-=E2=80=A6=E2=80=9D. >>=20 >> So you first need to add the file to the store under its expected >> name. You can do that for instance with: >>=20 >> guix download file://=E2=80=A6/java-eclipse-=E2=80=A6 >>=20 >> HTH! > > Not sure yet. I havent't tried it yet, but I'm sure your solution > helps with the specific problem here. (Also updating the URL helps even > better :-)) > > What I feel strange here is: > > * When the file is already on the local disk, it has to match a certain > file name criteria. Quite hard criteria. > * But when asking outside repositories over the network, we just "take > anything that has the hashsum". > > Is that wanted behaviour?=20 It=E2=80=99s not optimal, as you pointed out. But it=E2=80=99s not impleme= nted in these terms. The =E2=80=98add-to-store=E2=80=99 RPC returns a file name that=E2= =80=99s a function of the content and the file name. So the way =E2=80=98add-to-store=E2=80=99 w= orks is: 1. compute store file name =3D g(content, filename) (See =E2=80=98fixed-output-path=E2=80=99 in (guix store).) 2. if store file name exists, return it, else create it. Since /var/guix/db/db.sqlite contains the content hash of each store item, we could in theory perform a lookup by hash. To do that we=E2=80=99d= need to add a new RPC and use it in the correct places. It=E2=80=99d be a nice addition. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 22 03:00:44 2018 Received: (at 32245-done) by debbugs.gnu.org; 22 Oct 2018 07:00:44 +0000 Received: from localhost ([127.0.0.1]:35049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gEUCi-00041s-BY for submit@debbugs.gnu.org; Mon, 22 Oct 2018 03:00:44 -0400 Received: from m4s11.vlinux.de ([83.151.27.109]:33456 helo=bjoernhoefling.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gEUCg-00041k-BO for 32245-done@debbugs.gnu.org; Mon, 22 Oct 2018 03:00:42 -0400 Received: from alma-ubu (p508AC2AB.dip0.t-ipconnect.de [80.138.194.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id D7F86400ED; Mon, 22 Oct 2018 09:00:40 +0200 (CEST) Date: Mon, 22 Oct 2018 09:00:39 +0200 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= To: ludo@gnu.org (Ludovic =?UTF-8?B?Q291cnTDqHM=?=) Subject: Re: bug#32245: Guix does not search sources locally by hash Message-ID: <20181022090039.0c3e1aa2@alma-ubu> In-Reply-To: <877elmuyxh.fsf@gnu.org> References: <20180722115607.1eea6917@alma-ubu> <877elmuyxh.fsf@gnu.org> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/iJkt0_xhQxZDC1_jcdDGAg5"; protocol="application/pgp-signature" X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 32245-done Cc: 32245-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) --Sig_/iJkt0_xhQxZDC1_jcdDGAg5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I'm closing this one as I think it has very low priority. Bj=C3=B6rn --Sig_/iJkt0_xhQxZDC1_jcdDGAg5 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlvNdZgACgkQvyhstlk+X/3wWgCeJMD4VbnUZv2IxS/HtHfB4lXV D6QAn0DNcHVNaK/yI84AJ2XHXI3inGvN =mFFa -----END PGP SIGNATURE----- --Sig_/iJkt0_xhQxZDC1_jcdDGAg5-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 22 04:06:29 2018 Received: (at 32245) by debbugs.gnu.org; 22 Oct 2018 08:06:29 +0000 Received: from localhost ([127.0.0.1]:35068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gEVEK-0005cC-NR for submit@debbugs.gnu.org; Mon, 22 Oct 2018 04:06:28 -0400 Received: from mail-ot1-f46.google.com ([209.85.210.46]:35071) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gEVEJ-0005bu-2i; Mon, 22 Oct 2018 04:06:27 -0400 Received: by mail-ot1-f46.google.com with SMTP id 14so35117327oth.2; Mon, 22 Oct 2018 01:06:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=YyVxntJvqtgjGoBbKxCacjN29VU24fgYc4xQ7a4mgGk=; b=XtbqtLvQyWK0cW3JBz/7sE4f4WTXDLUAmktcy40qSC5Ld0vL7r5LM+LLIzZJPgRMch /dBoaK1SXUbirhTEnne6uVmDrKupjj9IGXaPJ4QoxIjZIZZ6/ITZV9K5FlI1q1xAz/kM MX6SiUgQqy0cHYqmm2fQZyr/gpinM5hTj82wqAkeFH0/mN3voONhhHm/DVIRjAKceZc+ Pm8CEje44RdIQH9ASaCbWMWpWj1xTBF8JYD8v+v1RAi15lxTeYtNYWckDvmlp+//znAq zK1NzFGNYbjpPNPpsbi3P3I9QTQyxBtcIYqpdAe+BOSAw+LguCEu7AzH9CqCK3unl7jq rlfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=YyVxntJvqtgjGoBbKxCacjN29VU24fgYc4xQ7a4mgGk=; b=R6TwkN7BeFOnWkKU9eW316EPT5As9IgGy4lujc782hlNQeiQiHo77xLgNHHnkbpZHQ UyidEabD0yKzpI736/Wy44JMBVKVhH6oDd6exnM79/C8Y9OsmfuKEGY9ib+nPeoqrGnB HWO3JqSchvVCKHua9eEB+o2BCgviS1JKt2gOYRLfyMWZEXnZ+2heu646KTOlHQI+o4nT /Bc4E1l8Hmjhxe2ZG2uxGiNiiO4T9DTBJx8VPEVyc6vKecFiTR8R0WUfeogpIiSUHtTa k9QXsg8UOmTaR7FZC8v6/iUJgpupbuBoTKVX9mB6+E7mfIykfgW8z/msyuZP6sFpYXxR r8Eg== X-Gm-Message-State: ABuFfog55caYQgHwT4XOQgvBagwHBF6yonKe6w9CBUNcAJnHRndsxhNY hA7zbzPr+smf2RxIQUzKGjx1CmG/IqA3t7820TrD X-Google-Smtp-Source: ACcGV60IyWEXzzOKhfFhIJqUHVSwFqJ9yuc0BRdQY4z26bHtN6N2hk1PE635yIXzP5K5M+dNGCgRQyAUZ2Brkc5AsOw= X-Received: by 2002:a9d:63c5:: with SMTP id e5mr7206048otl.319.1540195581321; Mon, 22 Oct 2018 01:06:21 -0700 (PDT) MIME-Version: 1.0 References: <20180722115607.1eea6917@alma-ubu> <877elmuyxh.fsf@gnu.org> <20181022090039.0c3e1aa2@alma-ubu> In-Reply-To: <20181022090039.0c3e1aa2@alma-ubu> From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Date: Mon, 22 Oct 2018 10:06:09 +0200 Message-ID: Subject: Re: bug#32245: Guix does not search sources locally by hash To: 32245@debbugs.gnu.org, =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 32245 Cc: =?UTF-8?Q?Ludovic_Court=C3=A8s?= , 32245-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Bj=C3=B6rn, It might be better to just lower the priority, or make it wishlist. Bj=C3=B6rn H=C3=B6fling ezt =C3=ADrta (= id=C5=91pont: 2018. okt. 22., H, 9:01): > > I'm closing this one as I think it has very low priority. > > Bj=C3=B6rn g_bor From unknown Wed Aug 20 01:21:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 19 Nov 2018 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator