From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1erFhP-0004jK-7w for guix-patches@gnu.org; Wed, 28 Feb 2018 23:20:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1erFhM-0003p4-0T for guix-patches@gnu.org; Wed, 28 Feb 2018 23:20:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:58450) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1erFhL-0003nw-Sn for guix-patches@gnu.org; Wed, 28 Feb 2018 23:20:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1erFhK-0007rN-1G for guix-patches@gnu.org; Wed, 28 Feb 2018 23:20:03 -0500 Subject: [bug#30647] [PATCH] guix build: Support '--remote-log-file=PACKAGE'. Resent-Message-ID: From: Oleg Pykhalov References: <20180228141959.19789-1-go.wigust@gmail.com> <87po4ou5ie.fsf@gnu.org> Date: Thu, 01 Mar 2018 07:19:22 +0300 In-Reply-To: <87po4ou5ie.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 28 Feb 2018 23:13:45 +0100") Message-ID: <87606ge8c5.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 30647@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Ludovic, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Oleg Pykhalov skribis: > >> =E2=80=98--remote-log-file=E2=80=99 allows to get a URL for a build log = file on a substitute >> server regardless is it built locally. =E2=80=98--log-file=E2=80=99 ret= urns always local >> build log file. > > What did you think of having =E2=80=98--log-file=E2=80=99 transparently f= all back to > searching for log files on substitute servers? Sorry, I don't understand the question. Does the =E2=80=9Cfall back=E2=80= =9D mean the behavior before a patch? > I find it handy, but also wondered if it might surprise users that such > a trivially-looking option connects to external servers. I thought > about having it print something when it does so. Would address your > concerns? Do you mean always connect to the external server and print a URL for a log file in addition to path of local log file? I don't think mixing those in one output is good, because for example you cannot do like: =2D-8<---------------cut here---------------start------------->8--- diff -u <(guix build --log-file hello) <(guix build --remote-log-file hello) =2D-8<---------------cut here---------------end--------------->8--- As a better approach in addition to =E2=80=98--no-substitutes=E2=80=99, may= be we could implement =E2=80=98--only-substitutes=E2=80=99 (as I remember Nix has it)? = Such flag will return a remote log file and will avoid building packages locally. Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEc+OyAXw1EaDPCmAPckbhHGm3lWkFAlqXf0oACgkQckbhHGm3 lWkSsA/9HW9SxDKpaOTVNhsCIaAhE7h8WqJR7kLfKAlPPoy2afR9bVgGpoUNqt+f yW2tqBxUmaQLZg8vzv8/RedHKY9x2yAa1svIPTjmEeagj883dy8I1eEXqMn293m2 omWJpvBLiFFV5WwRautx52W6SsCHB+5n1HuQnYiAwXCk8Z8SfXeYy2XgeqMue8DU ZmKqlZ36lrEGWLobKFzXUeYMnm3KcBMUIVKFc0Rf3HmmrkWdzNd3U8sU2wTOoKJJ aKUjtTxywhbG+CLaHb0OF6R/b6a0Advtii/s7O+egs+lNNJlDJbXfMKi8Dm+MeKt o6+Gyi7Z4vGoNVPNZhqQduDQo/QbkxPUct3fQanMc+Ciq8Ts5+cR3lKQ2m7VIC5A yn10ipMgS50dhM8nbq6PZRZn1zudg2wvxot5y5u1aePWKBpvTondgKzIAj7gz1ku mkAuyLI52qWM6PpF9NGkrW3kTEFZzyj3190/9Lo6wQSch//PVq2dbDTJL5TCbVz3 J8vlasekHwWeVaNYhc/kE/a1SKktg5C6woyITA3oD2ZuriwK6MQAc4Xpp0Rrsoer yvARKOGsiwh/nYbqsv6+eKZbvK5uXsm3hwn8U6Da21aFQygeuq3s+/sQ1kSmTukO 7mhDCpauUxzT8784ALl6pU+Ixi6Tow0kqNPEo19ptw+/UFW61XM= =M7dp -----END PGP SIGNATURE----- --=-=-=--