<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/ui.scm, branch master</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://www.git.jakob.space/guix.git/atom?h=master</id>
<link rel='self' href='https://www.git.jakob.space/guix.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/'/>
<updated>2019-06-03T21:18:47Z</updated>
<entry>
<title>Add (guix diagnostics).</title>
<updated>2019-06-03T21:18:47Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-06-03T20:58:36Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=1b5ee3bdaacf665ad1e7c6142122389fd7033ea2'/>
<id>urn:sha1:1b5ee3bdaacf665ad1e7c6142122389fd7033ea2</id>
<content type='text'>
* guix/ui.scm (warning, info, report-error, leave)
(location-&gt;string, guix-warning-port, program-name)
(highlight-argument, %highlight-argument, define-diagnostic)
(%warning-color, %info-color, %error-color)
(print-diagnostic-prefix): Move to...
* guix/diagnostics.scm: ... here.  New file.
* Makefile.am (MODULES): Add it.
</content>
</entry>
<entry>
<title>ui: Make package outputs searchable.</title>
<updated>2019-05-09T07:10:34Z</updated>
<author>
<name>Chris Marusich</name>
<email>cmmarusich@gmail.com</email>
</author>
<published>2019-05-06T08:51:30Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=387e6b9e340ce4b401f220f72881415623a466f7'/>
<id>urn:sha1:387e6b9e340ce4b401f220f72881415623a466f7</id>
<content type='text'>
* guix/ui.scm (relevance): Allow the "field" procedure of a metric to
return a list, and handle that case appropriately.  Update docstring.
(%package-metrics): Add a metric for package outputs.
* guix/scripts/package.scm (find-packages-by-description): Update
docstring.
* tests/guix-package.sh: Add a test case to verify that package outputs are
included in search results.

Co-authored-by: Tobias Geerinckx-Rice &lt;me@tobias.gr&gt;
</content>
</entry>
<entry>
<title>ui: Highlight heading of generation lists.</title>
<updated>2019-04-14T21:40:52Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-14T17:49:38Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=3dae43a92975cb6a1055e928523122bc340272fd'/>
<id>urn:sha1:3dae43a92975cb6a1055e928523122bc340272fd</id>
<content type='text'>
* guix/ui.scm (display-generation): Highlight the "Generation" heading.
</content>
</entry>
<entry>
<title>colors: Add 'highlight'.</title>
<updated>2019-04-14T21:40:52Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-14T17:48:19Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=c1c5d68a94e219d0e56d5dc0e0d6ed9b08076a30'/>
<id>urn:sha1:c1c5d68a94e219d0e56d5dc0e0d6ed9b08076a30</id>
<content type='text'>
* guix/colors.scm (%highlight-color): New variable.
(highlight): New procedure.
* guix/ui.scm (%highlight-argument)[highlight]: Remove.
(%highlight-color): Remove.
</content>
</entry>
<entry>
<title>colors: Introduce a disjoint type and pre-compute ANSI escapes.</title>
<updated>2019-04-11T16:18:13Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-11T14:57:38Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=2569ef9dab4f796a75b8cdddd57d3be37b142036'/>
<id>urn:sha1:2569ef9dab4f796a75b8cdddd57d3be37b142036</id>
<content type='text'>
* guix/colors.scm (color-table, color): Remove.
(&lt;color&gt;): New record type.
(print-color): New procedure.
(define-color-table, color): New macros.
(color-codes-&gt;ansi): New procedure.
(%reset): New variable.
(colorize-string): Rewrite accordingly.
(color-rules): Adjust accordingly.
* guix/status.scm (print-build-event): Adjust to new 'colorize-string'
interface.
* guix/ui.scm (%highlight-argument): Likewise.
(%warning-colors, %info-colors, %error-colors, %hint-colors)
(%highlight-colors): Remove.
(%warning-color, %info-color, %error-color, %hint-color)
(%highlight-color): New variables.
</content>
</entry>
<entry>
<title>ui: Highlight diagnostic format string arguments.</title>
<updated>2019-04-10T15:09:47Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-10T14:12:54Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=238589e566013a36df0347b200f8a6059398666c'/>
<id>urn:sha1:238589e566013a36df0347b200f8a6059398666c</id>
<content type='text'>
* guix/ui.scm (highlight-argument): New macro.
(%highlight-argument): New procedure.
(define-diagnostic): Use 'highlight-argument'.
</content>
</entry>
<entry>
<title>ui: Colorize hints.</title>
<updated>2019-04-10T15:09:46Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-10T10:55:23Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=a7ae18b1b9a083a1fbc6c2037e45df2447f704ed'/>
<id>urn:sha1:a7ae18b1b9a083a1fbc6c2037e45df2447f704ed</id>
<content type='text'>
* guix/ui.scm (%info-colors): Remove CYAN.
(%hint-colors): New variable.
(display-hint): Adjust so that the "hint:" prefix is colorized.
</content>
</entry>
<entry>
<title>ui: Colorize diagnostics.</title>
<updated>2019-04-10T10:40:59Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-10T10:00:55Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=9e1e046040182d8c4bb6e847bcd331862f9015bb'/>
<id>urn:sha1:9e1e046040182d8c4bb6e847bcd331862f9015bb</id>
<content type='text'>
* guix/ui.scm (define-diagnostic): Add 'colors' parameter and pass it to
'print-diagnostic-prefix'.
(warning, info, report-error): Add extra argument.
(%warning-colors, %info-colors, %error-colors): New variables.
(print-diagnostic-prefix): Add #:colors parameter and honor it.
</content>
</entry>
<entry>
<title>ui: Diagnostic procedures can display error location.</title>
<updated>2019-04-10T10:40:59Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-10T09:14:25Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=402627714b8ba75be48b1c8fbd46cfd4cfe8238f'/>
<id>urn:sha1:402627714b8ba75be48b1c8fbd46cfd4cfe8238f</id>
<content type='text'>
* guix/ui.scm (define-diagnostic): Add optional 'location' parameter.
Pass it to 'print-diagnostic-prefix'.
(print-diagnostic-prefix): Add optional 'location' parameter and honor
it.
(report-load-error): Use 'report-error' and 'warning' instead
of (format (current-error-port) …).
</content>
</entry>
<entry>
<title>ui: Factorize 'print-diagnostic-prefix'.</title>
<updated>2019-04-10T10:40:59Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-10T08:26:39Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=cc3697d5438a861f78a1e5ed57f592ea9ee327be'/>
<id>urn:sha1:cc3697d5438a861f78a1e5ed57f592ea9ee327be</id>
<content type='text'>
* guix/ui.scm (define-diagnostic): Emit call to 'print-diagnostic-prefix'.
(print-diagnostic-prefix): New procedure.
</content>
</entry>
</feed>
