From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?=) Subject: bug#28756: Substitute download progress bar doesn't reach 100% Date: Tue, 17 Oct 2017 19:10:54 +0800 Message-ID: <878tgajagx.fsf@member.fsf.org> References: <20171009035203.GA8019@jasmine.lan> <87efqcahur.fsf@gnu.org> <87infkv3ai.fsf@member.fsf.org> <87y3od93dg.fsf@member.fsf.org> <87lgkcuryg.fsf@gnu.org> <87d15nmedj.fsf@member.fsf.org> <877evufdll.fsf@gnu.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:4830:134:3::10]:51393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4PnC-0003mq-Fn for bug-guix@gnu.org; Tue, 17 Oct 2017 07:12:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4Pn3-0008H4-2m for bug-guix@gnu.org; Tue, 17 Oct 2017 07:12:14 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36269) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e4Pn2-0008Gp-W7 for bug-guix@gnu.org; Tue, 17 Oct 2017 07:12:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e4Pn2-0004uj-O5 for bug-guix@gnu.org; Tue, 17 Oct 2017 07:12:04 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <877evufdll.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 17 Oct 2017 09:16:54 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 28756-done@debbugs.gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) writes: > iyzsong@member.fsf.org (=E5=AE=8B=E6=96=87=E6=AD=A6) skribis: > >> From 6a3fa69f96fc2e3e074a9275066640ddfee57fd2 Mon Sep 17 00:00:00 2001 >> From: =3D?UTF-8?q?=3DE5=3DAE=3D8B=3DE6=3D96=3D87=3DE6=3DAD=3DA6?=3D >> Date: Sat, 14 Oct 2017 22:45:55 +0800 >> Subject: [PATCH] guix: substitute: Report the last progress in the child >> process. >> >> Fixes . >> >> * guix/utils.scm (filtered-port): Close the 'input' port for the current >> process, and close it upon exit in the child process. >> * guix/scripts/substitute.scm (progress-substitution): Display "\n\n" af= ter >> the reporter has finished. > > LGTM! > > You could commit the utils.scm change separately because it=E2=80=99s a b= ug-fix > in its own right. > Pushed, thanks! I think the utils.scm change alone (without the remove of '(close-port progress') and comment) didn't fix this particular bug clearly so I didn't seperate it..