From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Idea: "guix log" Date: Sun, 15 Jan 2017 23:37:52 +0100 Message-ID: <878tqcdk5b.fsf@gnu.org> References: <87bmv8krxe.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> 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]:45972) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cStR0-0006DH-EH for guix-devel@gnu.org; Sun, 15 Jan 2017 17:37:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cStQx-00035L-BN for guix-devel@gnu.org; Sun, 15 Jan 2017 17:37:58 -0500 In-Reply-To: <87bmv8krxe.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> (ng0@libertad.pw's message of "Sun, 15 Jan 2017 20:07:57 +0000") 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@gnu.org Hi! ng0 skribis: > Next tool, next idea (the guix log family): A log viewer. Gentoo > has more than one. The way we currently save logs could be more > human friendly. It doesn't need a restructuring of the folders > (yes I know about the switch for logfiles) but we could have > something similar to https://github.com/gentoo/elogv which > provides an easy way to read thelogs (nothing more). In addition > to that, our log reader could extract the log and save it if > requested to do so. =E2=80=98guix-build-log-mode=E2=80=99 in Emacs does that and it=E2=80=99s a= wesome. We could have a log colorizing & navigation tool outside of Emacs, though that=E2=80= =99s probably quite a bit of work. > Furthermore, a log parser which can tell you how long a build > took, on average/every time. This is similar to > https://wiki.gentoo.org/wiki/Genlop > (https://gitweb.gentoo.org/repo/gentoo.git/tree/app-portage/genlop/genlop= -0.30.10-r1.ebuild). > You don't want to query hydra via emacs or your webbrowser every > time (at least I don't do this), so a small programm to read out > the start and finish time of a log would be great. We could provide a bunch of procedures to extract this info from build logs. My 2=C2=A2, Ludo=E2=80=99.