From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: =?utf-8?Q?What=E2=80=99s?= next? Date: Tue, 30 May 2017 17:17:24 +0200 Message-ID: <87wp8y2x2z.fsf@gnu.org> References: <877f16z9eo.fsf@gnu.org> <2a1f34d4-3827-ebd9-cf25-e03d081b5a6f@openmailbox.org> <87shjqvcnp.fsf@gnu.org> <87tw44u332.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFitm-0001ya-5W for guix-devel@gnu.org; Tue, 30 May 2017 11:17:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFitj-0000WM-1z for guix-devel@gnu.org; Tue, 30 May 2017 11:17:30 -0400 In-Reply-To: <87tw44u332.fsf@gmail.com> (Maxim Cournoyer's message of "Sun, 28 May 2017 13:41:05 -0700") 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: Maxim Cournoyer Cc: guix-devel Maxim Cournoyer skribis: > Hi, > > ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> Hi Brendan, >> >> Brendan Tildesley skribis: >> >>> One little annoyance I have is that guix takes every opportunity to >>> update the list of substitutes when guix build, guix package -u, etc... >>> is run, and fills my terminal with output like: >>> >>> substitute: updating list of substitutes from >>> 'https://mirror.hydra.gnu.org'... 100.0% >>> substitute: updating list of substitutes from >>> 'https://mirror.hydra.gnu.org'... 100.0% >>> substitute: updating list of substitutes from >>> 'https://mirror.hydra.gnu.org'... 100.0% >>> substitute: updating list of substitutes from >>> 'https://mirror.hydra.gnu.org'... 100.0% >>> ... >> >> I agree, it=E2=80=99s actually a huge annoyance. It relates to grafts a= nd how >> they are implemented; I took a stab at fixing this a while back but the >> approach turned out to be (mostly?) misguided: >> >> https://bugs.gnu.org/22990 >> >> Would be worth thinking through it again! > > Maybe we could make a timer variable configurable, so that at least it > doesn't try to refresh this information at *every* guix command? That=E2=80=99s not what=E2=80=99s happening. When you see repeated lines t= hat go directly to 100%, that=E2=80=99s because it=E2=80=99s fetching metadata for= just a single package, and does that one by one. In other cases, it fetches as many as possible at once, and uses HTTP pipelining to send all these requests to hydra.gnu.org. Ludo=E2=80=99.