From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia@riseup.net Subject: Re: Colors and progress indicators on buildprocesses Date: Wed, 28 Sep 2016 15:55:04 +0200 Message-ID: References: <87d5b525ac5a11f0152902458a35120a@riseup.net> <87y42c4a9v.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpFKI-0006z9-Jn for guix-devel@gnu.org; Wed, 28 Sep 2016 09:55:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpFKE-0004pF-Mg for guix-devel@gnu.org; Wed, 28 Sep 2016 09:55:10 -0400 Received: from mx1.riseup.net ([198.252.153.129]:54188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpFKE-0004od-H9 for guix-devel@gnu.org; Wed, 28 Sep 2016 09:55:06 -0400 In-Reply-To: <87y42c4a9v.fsf@we.make.ritual.n0.is> 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: ng0 Cc: guix-devel On 2016-09-28 11:57, ng0 wrote: > 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. I understand. What I proposed was not to color the logs but the output of guix (to distinguish it from the rest) telling the user what it is going to do/doing. The proposal for percentage did not include coloring.