[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Idea: "guix log"
From: |
Ludovic Courtès |
Subject: |
Re: Idea: "guix log" |
Date: |
Sun, 15 Jan 2017 23:37:52 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hi!
ng0 <address@hidden> 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.
‘guix-build-log-mode’ in Emacs does that and it’s awesome. We could
have a log colorizing & navigation tool outside of Emacs, though that’s
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¢,
Ludo’.