From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Baines Subject: Re: Brainstorming features for issues.guix.gnu.org Date: Fri, 27 Mar 2020 09:16:00 +0000 Message-ID: <87r1xejgz3.fsf@cbaines.net> References: <87mu83xzzr.fsf@elephly.net> <87v9mqkf78.fsf@cbaines.net> <87imiqz23c.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:58339) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHl63-0007gr-Np for guix-devel@gnu.org; Fri, 27 Mar 2020 05:16:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHl61-0002DY-Jq for guix-devel@gnu.org; Fri, 27 Mar 2020 05:16:11 -0400 Received: from mira.cbaines.net ([212.71.252.8]:51114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jHl5z-0002B2-Qv for guix-devel@gnu.org; Fri, 27 Mar 2020 05:16:09 -0400 In-reply-to: <87imiqz23c.fsf@ambrevar.xyz> 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-mx.org@gnu.org Sender: "Guix-devel" To: Pierre Neidhardt Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Pierre Neidhardt writes: > Hi Chris! > > Christopher Baines writes: > >> My current workflow is, look for patches to review through email, or >> Patchwork [1], look the patches over, follow the link to the Guix Data >> Service instance, > > Which link? If you go to a patch, like: https://patchwork.cbaines.net/patch/20613/ there are some links in the Checks section. The "View comparison" link takes you to a Guix Data Service instance, the "View Git branch" link takes you go a Git repository containing the patches, and the "View Laminar job" link takes you to the job in Laminar that tried to apply the patches. >> and maybe try building some of the derivations [2]. If >> I want to manipulate the patches locally, I checkout the branch or >> cherry-pick the relevant commits [3]. >> >> 1: https://patchwork.cbaines.net/project/guix-patches/list/ >> 2: I use the substitutes from the Guix Data Service instance for the >> derivation, so I can build it locally without having to apply the >> patches. > > Is there a public substitute server from the Guix Data Service? I realise that it's not easy enough to find this out, but the Guix Data Service provides substitutes for the derivations it knows about. It stores all the information about derivations, and it also stores the sources referenced by the derivations. This means it can provide substitutes for these store items. Take mxnet, if you trust the key (which can be found here https://guix-patches-data.cbaines.net/substitutes ), then you'll be able to do: guix build --substitute-urls="https://guix-patches-data.cbaines.net" /gnu/store/9xcmc4z6w0brg17l1frz6blg79wgf7yi-mxnet-1.6.0.drv As I understand it, Guix will download the derivation graph from the Guix Data Service until it has the derivation locally, then it will build it as normal. Hope that makes sense? Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl59xFBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XcLJhAAgIXZIM7S4MoYgk9i0+orizH8N/jkN1+wvFjaaKuiO5hEPhVE3J2uh+OO 8kF+k88Gd7a2JYsGZ9VD10IAteFR/TNMj03JZ7WJ6HS480WYqHo+OLh+PDUoiKt5 hMWgEUFrQxoKu7Rc5euGbC5RA+Lbcf6Nmn7kqaAkc/gVSCCJQydvkWorVbrcYdJe jSnHANJ4JaVuPX41WTY0wBI1swkt7hU5sushqna6DOhV/EJdoTAk2I6Y5YebkWwl LvljE7L3EB/9pnqzPggGj5rDQkHFJKhqf4svcncueWRTL4YESi79pPXaYnyJ4ed4 8D3fafCt/LDLrvH35YQxjHdm5ZZKmlnLzYlHhDmsXX5mVrtPoWjIlW2RLzVtEon0 YkP3IxG/ZOFdXTxJkfNFrJs9lfFKp0gDC3Gw6pUkVYD3gaqZ/Bwde+DphlApBsNv PMTV+lICI6A4X1FqtpmkGpbHsXUAg3cZSEyHQCEz8HEjQ4K+erXDnKlQB26jkz7s D+8sAqbr/Kaw3gskNPvJ7ABrQApab6rLj0DmJ2tj12HrEliW6ABzgQaJVTy+Cuvi HqZRzS2/fkZglVu5jaWHoc5pJ6I36uhmOJ50MRgZndECWvbx6enuudaJ3KNCstqg hHWsKOga8okJ1BrlX0viDNZ6UA+PDUHMOFG1XcsPiLdW13uMBns= =zlNj -----END PGP SIGNATURE----- --=-=-=--