From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: Colors and progress indicators on buildprocesses Date: Wed, 28 Sep 2016 09:57:16 +0000 Message-ID: <87y42c4a9v.fsf@we.make.ritual.n0.is> References: <87d5b525ac5a11f0152902458a35120a@riseup.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpBcE-0002e6-3l for guix-devel@gnu.org; Wed, 28 Sep 2016 05:57:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpBc9-0001cU-Tk for guix-devel@gnu.org; Wed, 28 Sep 2016 05:57:25 -0400 Received: from aibo.runbox.com ([91.220.196.211]:57450) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpBc9-0001cH-Nd for guix-devel@gnu.org; Wed, 28 Sep 2016 05:57:21 -0400 In-Reply-To: <87d5b525ac5a11f0152902458a35120a@riseup.net> 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: swedebugia@riseup.net, guix-devel swedebugia@riseup.net writes: > Hi > > I recently installed Parabola and have played around a bit with > compiling AUR-packages to be able to run the programs I want - packaged > or not. > > Having build a lot on guixsd a while ago I noticed some differences in > the cli-overview that I would like to present. > > Colorfication and arrows (=>) are used to clearly distinguish > pacaur/pacman-commands from the buildprocess output. > > A nice thing I saw on some builds (build of qt during build of > telegram-desktop) was a per build process percentage indicator located > in the beginning of each line of build output like this: > [ 0% ] lorem ipsum.... > [ 10% ] lorem ipsum.... > > In addition to these two above I have an idea as well: > Use the terminal-title wisely to show the progress of the whole > transaction and the current running build (e.g.: "Download complete. > Buildprogress 4/5: building qt" > > What do you think? > > The problem with colors is that the use of colors in build logs creates very difficult to read logs if you don't filter them. I think this is one of the reasons why we don't have colors. I am not against it, I just think it will make helping people a little harder when they provide such logs. On the other hand, if we manage to filter the colors out in the build logs somehow, this is of no concern to us. -- ng0